A NOTE has been added to this issue. 
====================================================================== 
http://dbmail.org/mantis/view.php?id=600 
====================================================================== 
Reported By:                bjohnson
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   600
Category:                   IMAP daemon
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             23-May-07 19:54 CEST
Last Modified:              28-May-07 17:39 CEST
====================================================================== 
Summary:                    killall -HUP dbmail-imapd sometimes kills process
Description: 
Reported against dbmail-2.2.5rc3.

I have been getting reports that the package I make for Fedora/CentOS has
a problem that the daemon(s) die every Sunday morning.  This led me to
look at the log rotation script which rotates the logs on Sunday morning.

After the rotation, it does a "/usr/bin/killall -HUP dbmail-lmtpd
dbmail-imapd dbmail-pop3d dbmail-timsieved &> /dev/null" to have the
processes switch to the new empty logs.

Apparently, at least under some circumstances, this actually kills the
daemons.  Today I was able to reproduce this on the imap daemon with:
/usr/bin/killall -HUP dbmail-imapd which made the entire imap process
die.

I don't know if I can extract some log information or not, but I'll give
it a try.
====================================================================== 

---------------------------------------------------------------------- 
 aaron - 28-May-07 17:39  
---------------------------------------------------------------------- 
I haven't reproduced the problem yet, but even so, try this instead:

kill -HUP `cat /var/run/dbmail-<daemon>.pid`

Or wrap it in a for loop:

for i in `ls /var/run/dbmail*pid &>/dev/null`; do kill -HUP `cat $i`; done 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
23-May-07 19:54 bjohnson       New Issue                                    
28-May-07 17:39 aaron          Note Added: 0002219                          
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to