Kevin Day wrote:
> > In message <[EMAIL PROTECTED]>, you wrote:
> > 
> > >What's the practical number of TCP connections per server?
> > 
> > I've gotten over 8,000 at one time on one FreeBSD box.

I'm aware of boxes having been tested to ~100,000 connections if my memory
serves correctly.  I know there were problems going over 64k connections at
one point due to a 16 bit reference counter in the routes.

> > The way to solve that is to include calls to setsockopt() in your server
> > that will have the effect of reducing the per-connection I/O buffer sizes
> > just after you accept() each new connection.
> 
> Speaking of accepting... What's the upper limit on listen queues? Something
> around 64, correct?

Tuneable:

peter@overcee[6:00am]~src/sys/kern-244> sysctl kern.ipc.somaxconn
kern.ipc.somaxconn: 128

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to