RE: Max tcp connections

David Schwartz (davids@webmaster.com)
Fri, 12 Nov 1999 13:42:19 -0800


Well, the evidence certainly does show performance problems under load,
even if it is equal to all descriptors:

CPU states: 37.6% user, 62.3% system, 0.0% nice, 0.0% idle
CPU states: 50.1% user, 49.8% system, 0.0% nice, 0.0% idle

However, load or no load, you still can't select on more than about 16,000
file descriptors:

kmalloc: Size (165072) too large
kmalloc: Size (165232) too large
This is with 2.3.27.

DS

> > > echo 65536 > /proc/sys/fs/inode-max
> > > and then, for the process in question,
> > > ulimit -n 32768
> > > - Dan
> >
> > Since you can neither select nor poll on 32,768 sockets, it would be
> > somewhat difficult to use this man.
>
> You can poll on 32768 sockets if you wish. You will probably hit
> performance
> issues if it is under any kind of load
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/