V
V
Vlad9112011-12-06 20:17:07
Nginx
Vlad911, 2011-12-06 20:17:07

Does the operating system have a limit on the number of open passive TCP sockets?

Help, Habr! After all, you know this for sure!
Of course, * nix-systems are of interest.

Passive = server socket, i.e. the one that listen.

And it is desirable to understand how much RAM is spent on one socket. As I understand it, this is a matter of buffer size for storing send / recv data, right?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2011-12-06
@bondbig

There is a non-illusory and obvious limitation on listen.

V
ValdikSS, 2011-12-06
@ValdikSS

65535 like, no?

P
phasma, 2011-12-07
@phasma

/proc/sys/fs/file-max

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question