MAX limit of file descriptor
michi1 at michaelblizek.twilightparadox.com
michi1 at michaelblizek.twilightparadox.com
Tue Feb 12 00:45:14 EST 2013
Hi!
On 14:24 Mon 11 Feb , Valdis.Kletnieks at vt.edu wrote:
> On Sat, 09 Feb 2013 13:10:47 +0800, horseriver said:
...
> > In network programing ,what is the essential for the maximum of connections
> > dealed per second
> ...
> So the *real* question
> becomes "how many times per second is your box able to fork() off an httpd,
> do all the processing required, and close the connection?"
If you fork(), than this definitely will be your bottleneck (except the
application does something even slower). Better use epoll+nonblocking i/o.
-Michi
--
programing a layer 3+4 network protocol for mesh networks
see http://michaelblizek.twilightparadox.com
More information about the Kernelnewbies
mailing list