In response to Kern Sibbald <[EMAIL PROTECTED]>: > > However, it occurred to me that the log rotation occurs at about the same > > time this freeze would occur. This involves sending Bacula a HUP signal. > > Sending Bacula an HUP signal causes it to exit as rapidly as possible. It > attempts to cancel and cleanup jobs, but it does so in a rather brutal > fashion. > > Bottom line: make sure no root program sends HUP signals to Bacula while it > is > running a job, and preferably never send such signals unless you want to > shutdown Bacula.
This is new to me. And not intuitive IMHO. Most programs interpret a HUP to mean "restart gracefully". I got the impression that it would be about the same as issuing "reload" from bconsole. Most daemons require a HUP signal to tell them to close and reopen their log files. I seem to remember reading a HOWTO that suggested hupping the director after log rotation, but I can't find it now -- perhaps my memory is flawed. > I don't understand why any process is sending HUP signals to Bacula when it > is > cycling logs. This seems to me to be a "configuration" error. That would be _my_ error. I put the command to HUP bacula-dir in newsyslog.conf. Personally, I find the director's handling of HUP atypical by comparison to other Unix daemons. From the docs, it's not clear whether the director requires a signal to tell it to start logging to a new file, I'm assuming (since HUP is a bad idea) that it does not? Additionally, this still seems to be a bug (even if it won't be affecting me any more) since the director does not exit when hupped, but instead freezes. I've done several searches in the past on the director's handling of signals, and found sparse data. I repeated those searches just now, and still haven't found any information. At least I know that HUP is a bad idea ... -- Bill Moran Collaborative Fusion Inc. **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users