On Sunday 16 April 2006 20:37, Cedric Tefft wrote:
> Kern Sibbald wrote:
> >Can you confirm either by testing or from your knowledge of the problem
> > that it does not occur if there are not simultaneous jobs using Python.
> > If this is the case, let me know and I'll work on adding a correct
> > recursive lock that allows only one Bacula thread at a time in the Python
> > libraries ...
>
> Hmm... tricky. Of course, any change I make has a good chance of
> preventing the segfault, so I'm not sure if this proves anything, but
> here 'ya go: I spaced the three jobs out to start one minute apart and
> changed the file sets to back up more data (enough to make the backup
> jobs take about ten minutes to run). This ensured the Python init
> scripts wouldn't run at the same time, but made sure that (after the
> third minute) all three jobs would be "active" (running or waiting) at
> the same time. Sure enough, the segfault was prevented, however I'm not
> sure if this was because there was only one instance of Python running
> at any given time or because I'd simply perturbed the race condition. I
> think that's the best test I can do, but if you have an alternate
> suggestion, I'd be happy to try it out.
I think at this point I should write a pthreads replacement for the Python
lock. If you don't hear from me in a week, please send me a reminder
note ...
--
Best regards,
Kern
(">
/\
V_V
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users