Bacula-users

Re: [Bacula-users] Does "Duplicate Jobs" interact with backup level?

2009-05-02 16:24:00
Subject: Re: [Bacula-users] Does "Duplicate Jobs" interact with backup level?
From: Silver Salonen <silver AT ultrasoft DOT ee>
To: bacula-users AT lists.sourceforge DOT net
Date: Sat, 2 May 2009 23:18:02 +0300
On Saturday 02 May 2009 21:11:14 Dan Langille wrote:
> Arno Lehmann wrote:
> > Hi,
> >
> > 30.04.2009 09:28, Silver Salonen wrote:
> >> On Thursday 30 April 2009 10:10:55 Arno Lehmann wrote:
> >>> 30.04.2009 08:44, Silver Salonen wrote:
> >>>> I've enhanced the script since posting its prototype first,
> >>> Hmm... interesting approach to handle hanging DIR processes... I don't
> >>> know if I like it, though :-)
> >> Yes well.. it's just that sometimes a job's process (executing the check-
> >> jobs.sh) hangs taking 90% of CPU or so.. and the only way to get on with 
other
> >> backups is to kill it.
> >>
> >> What don't you like about it? :)
> >
> > I dislike it because I wouldn't kill a Bacula process without knowing
> > why, and I've never experienced your problem.
> 
> I'd be particularly concerned about the integrity of said backup.

The point is that Bacula never gets to backing up any data if the process gets 
killed. When I kill the hanging process with -9, Bacula prompts in an e-mail:

... Error: Runscript: BeforeJob returned non-zero status=9. ERR=Child died 
from signal 9: Kill, unblockable

It looks like the script hangs, but I can't see anything that could possibly 
hang in the script (anything besides waiting for bacula-dir's output). So I 
guess that bacula-dir process executing the script, hangs. What's the reason, 
I couldn't guess and when I make a bug report for that I got an answer that 
3rd-party scripts are not supported.

-- 
Silver

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users