1755524 Members
4432 Online
108834 Solutions
New Discussion юеВ

sockets limits

 
SOLVED
Go to solution
Jdamian
Respected Contributor

sockets limits

The number of sockets that a process may create is limited by any kernel parameter or by other kind of parameter ?
2 REPLIES 2
Sam Nicholls
Trusted Contributor
Solution

Re: sockets limits

Socket descriptors count as a file descriptor. The sum of open socket descriptors and file descriptors cannot exceed the "maxfile" kernel tunable. The default for maxfile is 60.

-sam
Jdamian
Respected Contributor

Re: sockets limits

' cannot exceed the "maxfile" kernel parameter '

or the customable limit set by shell. This is done by "ulimit -n" internal command of Posix shell.