A BUGNOTE has been added to this bug. ====================================================================== http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000162 ====================================================================== Reported By: xing Assigned To: ====================================================================== Project: DBMail Bug ID: 162 Category: POP3 daemon Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 18-Jan-05 01:44 CET Last Modified: 18-Jan-05 09:25 CET ====================================================================== Summary: dbmail-pop3d zombies galore.. Description: Belive this problem started with 2.0.3
dbmail-pop3d is creating a bunch of dbmail-pop3d zombie proceses that must be killed via kill -9 switch. I see a lot of the following in my mail log. serverchild.c,CreateChild: child_register failed Jan 17 16:29:16 mail dbmail/pop3d[19630]: serverchild.c,CreateChild: child_register failed as shown in ps: 19624 ? Z 0:00 [dbmail-pop3d] <defunct> 19625 ? Z 0:00 [dbmail-pop3d] <defunct> 19626 ? Z 0:00 [dbmail-pop3d] <defunct> I have 144 of these zombies at this very moment even though I just killed them all and restarted pop3d daemon a minute ago. Important Note: Setting trace=5 for pop3d ALLEVIATES the problem! Thus I cannot provide trace info here. Weird. I have duplicated this many times on my end before submitting this report. Here is my relevant dbmail.conf entires: [DBMAIL] # Database settings host=localhost user=postfix pass=postfix db=dbmail sqlsocket=/tmp/mysql.sock # trace level for dbmail-maintenance TRACE_LEVEL=1 [POP] EFFECTIVE_USER=postfix # the user that dbmail-pop3d will run as (need to be root to bind to a port<1024) EFFECTIVE_GROUP=postfix # the group that dbmail-pop3d will run as BINDIP=* # the ipaddress the dbmail-pop3d server has to bind to, * for all addresses PORT=110 # the port number the dbmail-pop3d server has to bind to. NCHILDREN=5 # default number of POP3 handlers (each is a process) MAXCHILDREN=20 # mac. number of POP3 handlers MAXCONNECTS=10000 # the maximum number of connections a default childs makes TIMEOUT=31 # the time (s) before the dbmail-pop3d should shutdown a connection which is being idle. RESOLVE_IP=no # if yes, the pop daemon resolves IP numbers to DNS names in the log POP_BEFORE_SMTP=no TRACE_LEVEL=1 ====================================================================== ---------------------------------------------------------------------- paul - 18-Jan-05 09:25 CET ---------------------------------------------------------------------- Xing, I recently changed the manage_stop_children code to fix bug http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000158. Could you please test the current 2.0 cvs code to check if that also helps in your case? Bug History Date Modified Username Field Change ====================================================================== 18-Jan-05 01:44xing New Bug 18-Jan-05 09:25paul Bugnote Added: 0000539 ======================================================================
