On Monday 16 January 2006 20:19, Martin Simmons wrote:
> >>>>> On Mon, 16 Jan 2006 19:44:02 +0100, "[EMAIL PROTECTED]"
> >>>>> <[EMAIL PROTECTED]> said:
>
>   Pascal> Yes! it desappeared on /etc/init.d/bacula
>   Pascal> Is it in relation with the number of storage configured?
>   Pascal> The problem is that i think my jobs fail because the thead
> concurently Pascal> lock the nst0 device:
>   Pascal> fuser -uv /dev/nst0
>
>   Pascal>                      USER        PID ACCESS COMMAND
>   Pascal> /dev/nst0            root      30232 f....  bacula-sd
>   Pascal>                      root      30233 f....  bacula-sd
>   Pascal>                      root      30235 f....  bacula-sd
>   Pascal> Perhaps i am totaly wrong but you know ... i am a newbie :-D
>
> I don't think this is a problem, because all threads in a process share the
> same fds and so they *should* all be users of the device.  The bacula
> daemons always run multiple threads (for various purposes).
>
> The confusing thing is that threads and processes both have an id and some
> tools (including ps on some Linux kernels) don't know the difference
> between process ids and thread ids.

With 2.4 Linux kernels (with a few exceptions), each thread had a separate 
pid.  On 2.6 Linux kernels, all threads share the same pid but have different 
thread ids.  If the above output is for a 2.6 kernel, then there is a 
problem, because there should be only one pid (though Bacula does create 
child processes which will have different pids, they should be short lived in 
normal conditions).

>
> __Martin
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to