The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=370 
====================================================================== 
Reported By:                ryo
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   370
Category:                   General
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     resolved
target:                     2.1.7 
Resolution:                 fixed
Fixed in Version:           SVN Trunk
====================================================================== 
Date Submitted:             21-Jun-06 13:57 CEST
Last Modified:              21-Jun-06 16:30 CEST
====================================================================== 
Summary:                    waitpid() in ParentSigHander() function shuld be
called multiple time  for zombies.
Description: 
This issue is related to http://www.dbmail.org/mantis/view.php?id=361
(already resolved).

I update to svn2184, but I had any zombies.

I think that when the parent process recieved multiple SIGCHLD 
at the same time the signal handler is called only once on UNIX system.
So, waitpid() in ParentSigHander() function shuld be called multiple 
time for zombies.

In addition, it seems that the waipid() function is not called  
(after call kill()) in the manage_stop_chldren function.

I create the patch. Please see the attached file(dbmail-nozombie.patch).

====================================================================== 

---------------------------------------------------------------------- 
 paul - 21-Jun-06 16:30  
---------------------------------------------------------------------- 
patch accepted 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
21-Jun-06 13:57 ryo            New Issue                                    
21-Jun-06 13:57 ryo            File Added: dbmail-nozombie.patch                
   
21-Jun-06 16:30 paul           target                    => 2.1.7           
21-Jun-06 16:30 paul           Note Added: 0001256                          
21-Jun-06 16:30 paul           Status                   new => resolved     
21-Jun-06 16:30 paul           Resolution               open => fixed       
21-Jun-06 16:30 paul           Fixed in Version          => SVN Trunk       
======================================================================

Reply via email to