Jan Van Uytven wrote:
I am also getting this behaviour, and I'm not sure why.  I'm not using
supervise, instead I'm simply using --detach.  I thought it might be because
the occasional bombout with smtp-forward. (Getting Net::Cmd errors) Some of
the forks are simply not
 terminating.  I'm not using clamav or spamassasin (yet), but I do have most
of the 'default' plugins running.


This is exactly what happens to me. The main forking server works and answers the 35 parallel connections, but some do not terminate, they fork into a new process that never terminates.

Naturally at some point the system just stops answering.

Can anyone shed some light on this?

I'm running qpsmtpd under Debian Stable. Here's my run file:

--------------------------------------------------

#!/bin/sh
QMAILDUID=`id -u smtpd`
NOFILESGID=`id -g smtpd`
MAXCLIENTS=`cat /var/qmail/control/concurrencyincoming`
LOCALIP=`head -1 /service/qpsmtpd/config/IP`
PORT=25
USER=smtpd
QPSMTPD_DIR=/service/qpsmtpd/
DATALIMIT=40000000

cd $QPSMTPD_DIR

exec \
        /usr/local/bin/softlimit -m $DATALIMIT \
        perl -T ./qpsmtpd-forkserver \
        --listen-address $LOCALIP \
        --port $PORT \
        --limit-connections $MAXCLIENTS \
        --user $USER \
        ./qpsmtpd 2>&1

--------------------------------------------------

Thanks!

        Skaag

Reply via email to