Hello!
I have a problem with
http://www.tnpi.biz/internet/mail/toaster/patches/netqmail-1 .05-toaster-3.0.patch patch
I use qmail + vpopmail (mysql database)
My system is FreeBSD 4.11.
Earlier, I used qmail with
http://www.tnpi.biz/internet/mail/toaster/patches/qmail-1.03 -toaster-2.7.patch patch, and all worked fine.
But now I need chkuser patch, so I did installed netqmail + netqmail-1.05-toaster-3.0.patch.
So, the problem is, qmail-smtpd consumes all CPU resources, it multiplyies itself (?) and it seen like this:
http://www.in.spb.ru/linas/qmail-smtpd-load.jpgIt starts with one qmail-smtpd, consuming 90% CPU, then there is two qmail-smtpd and so on...
When I use truss -p PID, for look, what this process does, I see:
gettimeofday(0xbfbff748,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
gettimeofday(0xbfbff6c8,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
gettimeofday(0xbfbff748,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
gettimeofday(0xbfbff6c8,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
gettimeofday(0xbfbff748,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
gettimeofday(0xbfbff6c8,0x0) = 0 (0x0)
getpid() = 63374 (0xf78e)
getpid() = 63374 (0xf78e)
and so on...
Here is qmail-smtpd's startup script:
#!/bin/sh
PATH=/usr/local/qmail/bin:/usr/local/bin:/usr/bin:/bin
export PATH
QMAILUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
exec softlimit -m 8000000 tcpserver -v -S -R -H -c100 -u $QMAILUID -g $NOFILESGID 0 smtp rblsmtpd -r relays.ordb.org qmail-smtpd /usr/local/vpopmail/bin/vchkpw /usr/bin/true 2>&1
SMTP AUTH, chkuser - all works fine, but this problem makes it unavalable to use them...
Please, help me to understand, what is wrong with it!