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.

Brian

Reply via email to