I am running forkserver 0.32 - upgrading later this year. One minor issue
and one major. I am running with DJB services. Here is my run file:

===================================
#!/bin/sh
exec 2>&1 \
sh -c '
    exec \
        /usr/local/bin/softlimit -m 100000000 \
        ${PERL-perl} -T ./qpsmtpd-forkserver \
        --listen-address 0 \
        --port 25 \
        --limit-connections 30 \
        --max-from-ip 5 \
        --user smtpd
'
===================================

First (minor), it's not clear that the '--limit-connections' value is
actually one less than what is used. I use '30', but forkerserver logs
show 0/30 through 30/30 - so the actual limit is 31.

Second (major), when the limit is exceeded, qpsmtpd hangs. A few hours
ago, my logs show that I was at 29/30 and 30/30 quite steady, and then
everything suddently stopped. For whatever reason, forkserver would not
complete or let go of the 31 connections it already had, and would not
accept any more. I had to restart the service to recover.

I searched and found a reference to this problem experienced by others,
though I did not get the "retry in one minute" (second?) message that
others reported - in my case, it hung. I did not see a solution. Has this
been addressed in later versions? While recovery is easy, once the problem
is found, it's a bit disturbing to see this happen on a client's
production mail server.

Thank-you.

Reply via email to