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
- Re: Practical limit for number o... Matthew Dillon
- Re: Practical limit for number o... Ronald F. Guilmette
- Re: Practical limit for number o... John Polstra
- Re: Practical limit for number of TCP con... Ronald F. Guilmette
- Re: Practical limit for number of TCP... Richard Seaman, Jr.
- Re: Practical limit for number o... Ronald F. Guilmette
- Re: Practical limit for number o... Richard Seaman, Jr.
- Re: Practical limit for number o... Ronald F. Guilmette
- FreeBSD Threads (was Re: Practic... Richard Seaman, Jr.
- Re: FreeBSD Threads (was Re: Pra... Russell L. Carter
- Re: Practical limit for number of TCP connections... Peter Wemm
- Re: Practical limit for number of TCP connections... Alfred Perlstein
- Re: Practical limit for number of TCP connect... Ronald F. Guilmette
- Re: Practical limit for number of TCP con... Mike Smith
- Re: Practical limit for number of TCP con... Nate Williams
- Re: Practical limit for number of TCP connect... Chris Sedore
- Re: Practical limit for number of TCP con... Jason Evans
- Re: Practical limit for number of TCP... Chris Sedore
- Re: Practical limit for number o... Jason Evans
- Re: Practical limit for number of TCP connections? Ken Bolingbroke
- Re: Practical limit for number of TCP connections... Ronald F. Guilmette