On Wed, 2 Jun 1999, Dave Sill wrote:
> "Timothy L. Mayo" <[EMAIL PROTECTED]> wrote:
> >
> >I stand by my original statement (or hang).
> >
> >On a moderately busy (50 messages/minute for ~16 hours per day), there is
> >a tcpserver process spawned for every incoming connection attempt. I
> >usually have 35-40 of these present on the system in addition to the one
> >started by supervise. Each of these authenticates the IP address the
> >connection is coming from and then spawns qmail-smtpd. The tcpserver
> >process does NOT exit until the qmail-smtpd is finished.
> >
> >This is on Dec UNIX.
> >
> >Again, this is expected behavior. It may depend on the OS though.
>
> OK, I'm talking now about my own Dec UNIX box, a list server. It
> doesn't do as much incoming traffic as yours, so typically I have no
> active qmail-smtpd processes:
>
[snip]
>
> It's possible, I suppose, that differences in our
> supervise/tcpserver/qmail-smtpd configurations are causing your
> qmail-smtpd's to show up in ps as tcpserver's. One thing I do that not
> everyone does is to wrap qmail-smtpd in a shell script that does a
> ulimit.
>
> However, even if qmail-smtpd's display as tcpserver's, there should
> only be two tcpserver's if there is an active incoming SMTP
> connection. That can be determined by doing "netstat -a|grep smtp",
> e.g.:
>
[snip]
>
> The first line of output represents an outgoing SMTP connection (the
> local port is 1651). The second line is an incoming connection (smtp
> port).
>
> So if you've got two tcpserver's for smtpd, but no incoming SMTP
> connections, something's not right.
>
> -Dave
Re-read what I said. :) I have 35-40 incoming SMTP sessions at a time for
~16 hours a day. I have my limit set to 100. The tcpserver and
qmail-smtpd processes come and go, except for the one started by
supervise.
Here is my start-up line:
/usr/local/bin/supervise /var/run/qmail-smtpd \
/usr/local/bin/tcpserver -x /etc/tcprules.d/qmail-smtpd.cdb -c100 \
-v -uxxx -gxxx 0 smtp \
/usr/local/bin/rblsmtpd -b -r dul.maps.vix.com \
/usr/local/bin/rblsmtpd -b \
/usr/local/bin/rblsmtpd -b -r dssl.imrss.org sh -c '
/var/qmail/bin/qmail-smtpd
cd /var/qmail/autoturn
exec /usr/local/bin/setlock -nx $TCPREMOTEIP/seriallock \
/usr/local/bin/maildirsmtp $TCPREMOTEIP autoturn-$TCPREMOTEIP- \
$TCPREMOTEIP AutoTURN' 2>&1 | /usr/local/bin/accustamp | \
/usr/local/bin/setuser qmaill /usr/local/bin/cyclog /var/adm/smtpd
This server is THE mailserver for a medium sized ISP. I expect my load to
be different on my machine at home which also runs qmail and different
from your list server.
My home machine rarely has more than 2 tcpserver processes running at once
and even that is rare. The machine just does not get the SMTP traffic.
This server has easily handled ~150,000 messages in a 24 hour period in
addition to several thousand POP3 and IMAP sessions. I expect it to do
better after I get Cyrus out of the picture. :)
---------------------------------
Timothy L. Mayo mailto:[EMAIL PROTECTED]
Senior Systems Administrator
localconnect(sm)
http://www.localconnect.net/
The National Business Network Inc. http://www.nb.net/
One Monroeville Center, Suite 850
Monroeville, PA 15146
(412) 810-8888 Phone
(412) 810-8886 Fax