Mailing List Archive

[DBMail 0001057]: pop3 daemon leaks sockets' filedescriptors
The following issue has been SUBMITTED.
======================================================================
http://www.dbmail.org/mantis/view.php?id=1057
======================================================================
Reported By: casper
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1057
Category: POP3 daemon
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 19-Sep-14 10:09 CEST
Last Modified: 19-Sep-14 10:09 CEST
======================================================================
Summary: pop3 daemon leaks sockets' filedescriptors
Description:
lsof -p 12345 reports:

dbmail-po 30236 dbmail 43u sock 0,7 0t0 14855254
can't identify protocol
dbmail-po 30236 dbmail 44u sock 0,7 0t0 14855656
can't identify protocol
dbmail-po 30236 dbmail 45u sock 0,7 0t0 14855262
can't identify protocol
dbmail-po 30236 dbmail 46u sock 0,7 0t0 14861487
can't identify protocol

The number of sockets keeps rising, until the ulimit for filedescriptors
is hit and accept() cannot create a new socket because of it.

I've worked around by setting a very high limit and do a scheduled pop3
daemon restart.
======================================================================

Issue History
Date Modified Username Field Change
======================================================================
19-Sep-14 10:09 casper New Issue
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[DBMail 0001057]: pop3 daemon leaks sockets' filedescriptors [ In reply to ]
A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=1057
======================================================================
Reported By: casper
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1057
Category: POP3 daemon
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 19-Sep-14 10:09 CEST
Last Modified: 19-Sep-14 14:26 CEST
======================================================================
Summary: pop3 daemon leaks sockets' filedescriptors
Description:
lsof -p 12345 reports:

dbmail-po 30236 dbmail 43u sock 0,7 0t0 14855254
can't identify protocol
dbmail-po 30236 dbmail 44u sock 0,7 0t0 14855656
can't identify protocol
dbmail-po 30236 dbmail 45u sock 0,7 0t0 14855262
can't identify protocol
dbmail-po 30236 dbmail 46u sock 0,7 0t0 14861487
can't identify protocol

The number of sockets keeps rising, until the ulimit for filedescriptors
is hit and accept() cannot create a new socket because of it.

I've worked around by setting a very high limit and do a scheduled pop3
daemon restart.
======================================================================

----------------------------------------------------------------------
(0003679) casper (reporter) - 19-Sep-14 14:26
http://www.dbmail.org/mantis/view.php?id=1057#c3679
----------------------------------------------------------------------
The issue seems to be caused by the keepalived loadbalancer that is placed
in front of my pop3 servers. I have keepalived configured to do a TCP
check. It opens a connection to a port. As soon as the connection is
accepted, it's terminated by keepalived.

Issue History
Date Modified Username Field Change
======================================================================
19-Sep-14 10:09 casper New Issue
19-Sep-14 14:26 casper Note Added: 0003679
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev
[DBMail 0001057]: pop3 daemon leaks sockets' filedescriptors [ In reply to ]
A NOTE has been added to this issue.
======================================================================
http://www.dbmail.org/mantis/view.php?id=1057
======================================================================
Reported By: casper
Assigned To:
======================================================================
Project: DBMail
Issue ID: 1057
Category: POP3 daemon
Reproducibility: always
Severity: major
Priority: normal
Status: new
target:
======================================================================
Date Submitted: 19-Sep-14 10:09 CEST
Last Modified: 21-Sep-14 20:41 CEST
======================================================================
Summary: pop3 daemon leaks sockets' filedescriptors
Description:
lsof -p 12345 reports:

dbmail-po 30236 dbmail 43u sock 0,7 0t0 14855254
can't identify protocol
dbmail-po 30236 dbmail 44u sock 0,7 0t0 14855656
can't identify protocol
dbmail-po 30236 dbmail 45u sock 0,7 0t0 14855262
can't identify protocol
dbmail-po 30236 dbmail 46u sock 0,7 0t0 14861487
can't identify protocol

The number of sockets keeps rising, until the ulimit for filedescriptors
is hit and accept() cannot create a new socket because of it.

I've worked around by setting a very high limit and do a scheduled pop3
daemon restart.
======================================================================

----------------------------------------------------------------------
(0003679) casper (reporter) - 19-Sep-14 14:26
http://www.dbmail.org/mantis/view.php?id=1057#c3679
----------------------------------------------------------------------
The issue seems to be caused by the keepalived loadbalancer that is placed
in front of my pop3 servers. I have keepalived configured to do a TCP
check. It opens a connection to a port. As soon as the connection is
accepted, it's terminated by keepalived.

----------------------------------------------------------------------
(0003681) casper (reporter) - 21-Sep-14 20:41
http://www.dbmail.org/mantis/view.php?id=1057#c3681
----------------------------------------------------------------------
Also: imap seems unaffected by this. Both are behind keepalived in my setup
and only pop3 is hording filedescriptors

Issue History
Date Modified Username Field Change
======================================================================
19-Sep-14 10:09 casper New Issue
19-Sep-14 14:26 casper Note Added: 0003679
21-Sep-14 20:41 casper Note Added: 0003681
======================================================================

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev