[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bacula-devel] Fwd: [Bacula-users] should SIGTHAW be ignored, rather than cause termination?


I think this belongs on devel@

Begin forwarded message:
> From: John Jorgensen <jorgnsn@xxxxxxxxxxxxxx>
> Date: April 16, 2008 11:43:46 AM EDT
> To: bacula-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: [Bacula-users] should SIGTHAW be ignored, rather than  
> cause termination?
>
> This morning one of our Bacula clients, running bacula-fd 2.2.8
> on Solaris 5.9, was unreachable.  It turned that somebody had
> suspended and resumed the machine:
>
>   Apr 15 16:27:40 name-changed cpr: [ID 535284 kern.notice] System  
> is being suspended
>   Apr 15 16:28:39 name-changed cpr: [ID 583038 kern.notice] System  
> has been resumed.
>   Apr 15 16:28:43 name-changed hme: [ID 517527 kern.info]  
> SUNW,hme0 : Internal Transceiver Selected.
>   Apr 15 16:28:43 name-changed hme: [ID 517527 kern.info]  
> SUNW,hme0 :   100 Mbps Full-Duplex Link Up
>   Apr 15 16:28:46 name-changed bacula-fd[13873]: [ID 702911  
> daemon.error] name-changed-fd: Fatal Error because: Bacula  
> interrupted by signal 35: Checkpoint Thaw
>
> The Solaris cpr(7) man page says that when the system is
> "resume"d, the processes whose state is restored are sent SIGTHAW
> to get the chance to do whatever housekeeping they might require
> to resume operations, but that most can simply ignore the signal.
>
> So at first I thought that SIGTHAW might be a Solaris-ism which
> bacula does not know about, and that it was bacula's default signal
> handler which was exiting, rather than just continuing
> execution.
>
> But src/lib/signal.c does explicitly set the SIGTHAW handler to
> sighandle (which I gather exits) rather than sigignore.
>
> Is this an example of the bacula developers simply making
> conservative assumptions, or do we know that bacula-fd could not
> successfully continue execution after resumption?
>
> -- 
> John Jorgensen	LCD System Administrator  jorgnsn@xxxxxxxxxxxxxx
>                                           306.337.2344
>
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Don't miss this year's exciting event. There's still time to save  
> $100.
> Use priority code J8TL2D2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http:// 
> java.sun.com/javaone
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 
Dan Langille -- http://www.langille.org/
dan@xxxxxxxxxxxx





-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-devel mailing list
Bacula-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bacula-devel


This mailing list archive is a service of Copilotco.