Re: [Openais] [PATCH openais whitetank] IPC: gracefully handle running out of file descriptors. (version

2010-08-08 Thread Angus Salkeld
On Sun, Aug 08, 2010 at 10:17:43PM -0700, Steven Dake wrote: > The model is when server has too many sockets in use, library > returns TRY_AGAIN? Hi Steve No, if the server runs out of fds then we shutdown the listening socket. The library returns LIB error, I believe. Then when we have more fds

Re: [Openais] [PATCH openais whitetank] IPC: gracefully handle running out of file descriptors. (version

2010-08-08 Thread Steven Dake
The model is when server has too many sockets in use, library returns TRY_AGAIN? Regards -steve On 08/08/2010 08:01 PM, Angus Salkeld wrote: > Whenever we accept a new connection or close an > existing one, check the number of available file > descriptors and either publish or withdraw the

[Openais] [PATCH openais whitetank] IPC: gracefully handle running out of file descriptors. (version

2010-08-08 Thread Angus Salkeld
Whenever we accept a new connection or close an existing one, check the number of available file descriptors and either publish or withdraw the IPC listening socket. Signed-off-by: Angus Salkeld --- exec/ipc.c | 92 1 files chang

[Openais] [PATCH corosync trunk] IPC: gracefully handle running out of file descriptors.

2010-08-08 Thread Angus Salkeld
Whenever we accept a new connection or close an existing one, check the number of available file descriptors and either publish or withdraw the IPC listening socket. Signed-off-by: Angus Salkeld --- exec/coroipcs.c | 104 ++- 1 files changed,