Gilad Ben-Yossef wrote:

Just check what the value of the backlog parameter is and then use netstat to watch the application connections when you get ECONNREFUSED error. If the number of connections in netstat is equal (or at least very close to) the backlog parameter then it's the backlog parameter, otherwise it's something else.
Ehh, I'm not sure that's the case.

The back log only relates to connections that have not been picked up by user space yet. The above would be a rough estimate IF we can assume that all connections are very short lived in relation to the amount of time it takes to handle a connection and close it is very short in relation to the amount of time it takes between the connection being established and user space running "accept". Otherwise, netstat is of no help.

Shachar

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il

Reply via email to