I have configures the Qmail server (version 1.03/Solaris) to use tcpserver
and I have used the following command:

/opt/ucspi-tcp-0.84/bin/tcpserver -v -u5001 -g5001 -c500 -x/etc/tcp.smtp.cdb
0 smtp /opt/ucspi-tcp-0.84/bin/recordio /var/qmail/bin/qmail-smtpd 2>&1 |
/var/qmail/bin/splogger smtpd 3 &

I am sending 5000 messages at it at a rate of ~50 messages a second.  I have
set the localconcurrency to 100.  The problem is that my client is losing
connections, almost out of the gate.  The client tries to connect to the
qmail-smtpd and waits 20 seconds and is failing about 15% of the time.  I
understand that the SMTP spec calls for the sending server to retry again in
a moment and then spread the time out as it continues to fail.  However, I
am just wondering why the server cannot handle the connections given the
fact that I am telling the tcpserver to spawn away as needed.

Thanks,
David

Reply via email to