[patches] avoid unless exit()

Gonéri Le Bouder goneri.lebouder at atosorigin.com
Tue Mar 23 06:28:57 EDT 2010


On AIX 5.3 (20CPU/96GB), the cost of process restart is very expensive. These
patches improve performance by avoiding unnecessary exit()

 Everytime our Alteon opens a socket for the health check, it kills a
 process. Just because it don't send any data. The problem can be
 easily reproduce with a telnet connection.

 If the connection is closed by the client, the process gets an ECONNABORTED
 error (Connection aborted POSIX.1). This new patch catches this error.

Best regards,

     Gonéri Le Bouder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: avoid_shut_down_if_no_input.patch
Type: text/x-diff
Size: 366 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20100323/99188c1e/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cyrus-imapd-2.3.16-ignore_ECONNABORTED.patch
Type: text/x-diff
Size: 738 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20100323/99188c1e/attachment-0001.bin 

More information about the Cyrus-devel mailing list