lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: Max tcp connections
Date
> Raiden <raiden@arrakis.es> asked:
>
> > I think limit is defined using FD_SETSIZE actualy, now it's my question:
> >
> > - how can i change the max value allowed of tcp connection ?
> > - am i thinking bad if i think 256 is the limit of the max tcp
> connections
> > allowed simulta...?
> >
> > It's a bit urgent ... could any reply me quick about this one?
>
> FD_SETSIZE only controls how big the fd_set used by select()
> can be; there are other limits.
> For info about the limits on file descriptors and how to raise them,
> see http://www.kegel.com/c10k.html
> Depending on what kernel and what program, it might be as easy as
> echo 32768 > /proc/sys/fs/file-max
> 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.

DS


-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site