The following issue has been SUBMITTED. ====================================================================== http://www.dbmail.org/mantis/view.php?id=882 ====================================================================== Reported By: jpecar Assigned To: ====================================================================== Project: DBMail Issue ID: 882 Category: POP3 daemon Reproducibility: always Severity: major Priority: normal Status: new target: ====================================================================== Date Submitted: 15-Feb-11 16:48 CET Last Modified: 15-Feb-11 16:48 CET ====================================================================== Summary: pop3d leaks tcp sockets Description: I've set up some nanny scripts to instruct LVS to redirect traffic to live pop3d. The script essentialy does "( sleep 3; echo quit ) | nc -w 5 email-test-01 110" and checks if there's an OK in that output.
Few hours after I configured it I noticed that all pop3d instances stopped responding. I upped the logging level on one and restarted it and surely the problem repeated. In the logs I noticed Feb 15 14:20:06 email-test-01 dbmail/pop3d[8745]: [0x4c4a3c0] Debug:[server] _sock_cb(+467): 12 2, 0x4c9fe20, ssl:N Feb 15 14:20:06 email-test-01 dbmail/pop3d[8745]: [0x4c4a3c0] Error:[server] _sock_cb(+481): Too many open files and surely, lsof -p on the pop3d process showed many tcp connections in CLOSE_WAIT state. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 15-Feb-11 16:48 jpecar New Issue ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev