A NOTE has been added to this issue. ====================================================================== http://www.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: 05-Jun-07 17:41 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 ---------------------------------------------------------------------- bjohnson - 05-Jun-07 17:41 ---------------------------------------------------------------------- Aaron, I think you meant this, right? for pid in `ls /var/run/dbmail*\.pid`; do kill -HUP `cat $pid` &> /dev/null; done I haven't been able to reproduce the probem recently, but I'll update to your method and see how it goes. Issue History Date Modified Username Field Change ====================================================================== 23-May-07 19:54 bjohnson New Issue 28-May-07 17:39 aaron Note Added: 0002219 05-Jun-07 17:41 bjohnson Note Added: 0002232 ====================================================================== _______________________________________________ Dbmail-dev mailing list [email protected] http://twister.fastxs.net/mailman/listinfo/dbmail-dev
