re: Max tcp connections

Raiden (raiden@arrakis.es)
Thu, 11 Nov 1999 13:33:58 +0100


Thanks Dan,

i have saw is needed to find modify NT_OPEN value alicated on limits.h
and fs.h in kernel source tree.

Thanks you by show me the way to find the solution.

A hug.

At 18.13 10/11/99 -0800, Dan Kegel wrote:
>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
>
>--
>(The above is just my personal opinion; I don't speak for my employer,
> except on the occasional talk show.)

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