15 Aug
2005
15 Aug
'05
12:59 a.m.
On Mon, 2005-08-08 at 20:12 -0400, Todd Burroughs wrote:
One thing I'd like to suggest is that this error would be better if it had more information about what resource wasn't available.
The error is EAGAIN caused from the socket() system call. .. I think I found this in the kernel in unix_stream_connect(). It looks like the backlog for waiting sockets gets too high and causes this error. It can be set with /proc/sys/net/core/somaxconn, which defaults to 128. I've set this to 1024 and will have to wait to see if it helps.
I've also changed the code in CVS now to retry a few times if it gets EAGAIN error.