A NOTE has been added to this issue. ====================================================================== http://www.dbmail.org/mantis/view.php?id=834 ====================================================================== Reported By: jasb Assigned To: ====================================================================== Project: DBMail Issue ID: 834 Category: POP3 daemon Reproducibility: have not tried Severity: minor Priority: normal Status: new target: ====================================================================== Date Submitted: 25-Jan-10 17:06 CET Last Modified: 03-Feb-10 13:16 CET ====================================================================== Summary: Too many open files (POP3D) Description: Howdy Paul,
Since I’m using 2.3.6, maybe from November or so, today happened something that never did. The POP3 service just hang. -- lira:~# telnet localhost 110 Trying 127.0.0.1... Connected to localhost.localdomain. Escape character is '^]'. Connection closed by foreign host. lira:~# -- after killing it and start again everything’s working fine. I have no debug logs! I saw on the logs this: -- Jan 20 13:48:56 lira dbmail/pop3d[3717]: [0x9c07f80] Error:[server] server_sock_cb(+449): Too many open files -- Don’t know if this help’s on tracking some leak on POP3D. One thing that may help that I saw looking at the log, this may happen ‘cause of the “attach” of the spammer sending known users to the pop3d , and that may be the reason that make it hang with the error “Too many open files”, so the leak may be there. Log is attached, Anything you need say, Jorge, ====================================================================== ---------------------------------------------------------------------- (0003018) waza123 (reporter) - 01-Feb-10 17:03 http://www.dbmail.org/mantis/view.php?id=834#c3018 ---------------------------------------------------------------------- the same !! Feb 01 09:18:40 www dbmail-pop3d[22070]: [0x8055f60] EMERGENCY:[server] _sock_cb(+487): getpeername::error [Transport endpoint is not connected] ---------------------------------------------------------------------- (0003019) paul (administrator) - 01-Feb-10 16:34 http://www.dbmail.org/mantis/view.php?id=834#c3019 ---------------------------------------------------------------------- Not the same. an emergency exit is *not* the same as a segfault. the getpeername error is an indication that the client has hung up before a connection could be initialized. This should of course not lead to a program exit. ---------------------------------------------------------------------- (0003021) jasb (reporter) - 03-Feb-10 10:38 http://www.dbmail.org/mantis/view.php?id=834#c3021 ---------------------------------------------------------------------- Paul, Happened again. Tell me, the leaks that you have been fixing on HEAD, does anyone has anything to do with POP3? ---------------------------------------------------------------------- (0003022) paul (administrator) - 03-Feb-10 13:16 http://www.dbmail.org/mantis/view.php?id=834#c3022 ---------------------------------------------------------------------- No. Unrelated. Try taking lsof snapshots of the system when the error occurs. Issue History Date Modified Username Field Change ====================================================================== 25-Jan-10 17:06 jasb New Issue 25-Jan-10 17:06 jasb File Added: pop3_too_many_open_files.zip 01-Feb-10 15:49 waza123 Note Added: 0003018 01-Feb-10 16:34 paul Note Added: 0003019 01-Feb-10 17:03 paul Note Edited: 0003018 03-Feb-10 10:38 jasb Note Added: 0003021 03-Feb-10 13:16 paul Note Added: 0003022 ====================================================================== _______________________________________________ Dbmail-dev mailing list Dbmail-dev@dbmail.org http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev