On 12 May 2005, at 17:28, Brian Grossman wrote:

On Thu, 12 May 2005 20:06:26 +0000 (UTC)
[EMAIL PROTECTED] wrote:

entirely.  BTW, my biggest cpu load is when pollserver accepts
connections.

Ah, this was my fault. Get latest SVN. What was happening was I only
accepted one connection per notification of there being incoming
connections. So the kernel gets really bogged down with holding queue's
of SYN packets. The current code copes better.

That does seem to help.

I would argue though, that you want to return 1 if over MAXCONN because if
you're over, then you really don't want to service each drop separately.
For me at least, when I hit MAXCONN, my cpu is struggling anyhow.

No. Your CPU may be struggling due to SYNs, but it's nothing qpsmtpd can help with there. If I returned 1 it wouldn't have any effect except checking for MAXCONN multiple times in a loop.


Matt.



Reply via email to