Nov 02 16:20:26 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x7f653c5528e0] fd [6] Connection timed out[110], 0x7f653c5528e0
Nov 02 16:20:27 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x7f6544213000] fd [29] Connection reset by peer[104], 0x7f6544213000
Nov 02 16:20:30 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0xec43b0] fd [50] Broken pipe[32], 0xec43b0
Nov 02 16:20:30 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:20:33 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x14f0070] fd [51] Broken pipe[32], 0x14f0070
Nov 02 16:20:33 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:20:52 dbmail01 dbmail-imapd[4741]: [0x84d590] Error:[MailboxState] MailboxState_info(+707): SQLException: unknown error
Nov 02 16:20:52 dbmail01 dbmail-imapd[4741]: [0x84d590] Alert:[libzdb] TabortHandler(+43): SQLException: unknown error
Nov 02 16:20:52 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x105cfc0] fd [45] Broken pipe[32], 0x105cfc0
Nov 02 16:20:55 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x1530d80] fd [51] Broken pipe[32], 0x1530d80
Nov 02 16:20:55 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:20:56 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x7f654439a4b0] fd [40] Connection reset by peer[104], 0x7f654439a4b0Nov 02 16:20:56 dbmail01 dbmail-imapd[4741]: [0x84d630] Debug:[server] dm_thread_dispatch(+217): data[0xa86ec0], user_data[(nil)]
Nov 02 16:20:57 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0xe836a0] fd [48] Broken pipe[32], 0xe836a0
Nov 02 16:20:57 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:21:03 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x1530d80] fd [39] Broken pipe[32], 0x1530d80
Nov 02 16:21:03 dbmail01 dbmail-imapd[4741]: [0x84d590] Database:[db] db_con_close(+291): [0xada110] connection to poolNov 02 16:21:03 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:21:13 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[clientbase] client_error_cb(+127): [0x1530d80] fd [39] Broken pipe[32], 0x1530d80
Nov 02 16:21:13 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] imap_session_printf(+316): ci_write failed [Unknown error 18446744073709551615]
Nov 02 16:21:17 dbmail01 dbmail-imapd[4741]: [0x857a00] Debug:[imap] _ic_cb_leave(+686): handling imap session [0x14ad000] client_state [ error]
Nov 02 16:22:46 dbmail01 dbmail-imapd[4741]: [0x84d540] Error:[MailboxState] MailboxState_new(+212): SQLException: unknown error
Nov 02 16:22:46 dbmail01 dbmail-imapd[4741]: [0x84d540] Alert:[libzdb] TabortHandler(+43): SQLException: unknown error
And PostgreSQL displays the following:
< 2014-11-02 16:19:40.003 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.004 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.004 BRST >LOG: unexpected EOF on client connection with an open transaction
< 2014-11-02 16:19:40.004 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.005 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.005 BRST >LOG: unexpected EOF on client connection with an open transaction
< 2014-11-02 16:19:40.006 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.018 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.034 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:19:40.034 BRST >LOG: unexpected EOF on client connection with an open transaction
< 2014-11-02 16:19:44.994 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:20:00.154 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:20:00.478 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:21:37.662 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:21:37.680 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:21:37.680 BRST >LOG: unexpected EOF on client connection with an open transaction
< 2014-11-02 16:21:38.554 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:21:54.054 BRST >LOG: could not receive data from client: Connection reset by peer
< 2014-11-02 16:22:10.149 BRST >LOG: could not receive data from client: Connection reset by peer
> What changes in dbmail.conf could fix this connection leak created by
> monitoring?
Try setting a lower login_timeout in dbmail.conf
Just did it to login_timeout = 30
--