The following bug has been RESOLVED.
======================================================================
http://www.dbmail.org/mantis/bug_view_advanced_page.php?bug_id=0000256
======================================================================
Reported By:                idk
Assigned To:                paul
======================================================================
Project:                    DBMail
Bug ID:                     256
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Resolution:                 fixed
======================================================================
Date Submitted:             20-Aug-05 23:54 CEST
Last Modified:              22-Aug-05 10:15 CEST
======================================================================
Summary:                    Invalid child management after database restart etc.
Description: 
After stopping mysql service all children killed by pool manager
(pool.c,manage_stop_children: General stop requested. Killing children..),
after mysql service starting MINSPARECHILDREN only was started and any more
children wasn't started even they was requested.
======================================================================

----------------------------------------------------------------------
 idk - 21-Aug-05 00:06 CEST 
----------------------------------------------------------------------
My suggestions are:

1) call of manage_start_children() instead of manage_spare_children()
after database resuming

2) after resuming db conn call alarm(10) for recovery alarm timer (I'm not
testing if is it adequate)

3) do corrections in LIFO and infinite loop described above

----------------------------------------------------------------------
 paul - 22-Aug-05 10:15 CEST 
----------------------------------------------------------------------
I've fixed this problem. There was some faulty login in
manage_spare_children, the alarm is reset after the database resumes, and
the missing breaks were added. Thanks a lot for working on this. Please
test the latest svn code.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
20-Aug-05 23:54idk            New Bug                                      
21-Aug-05 00:06idk            Bugnote Added: 0000848                       
22-Aug-05 10:15paul           Bugnote Added: 0000849                       
22-Aug-05 10:15paul           Assigned To               => paul            
22-Aug-05 10:15paul           Resolution               open => fixed       
22-Aug-05 10:15paul           Status                   new => resolved     
======================================================================

Reply via email to