Hi,

As I've got a number of systems here, I thought I'd look how many processes 
there are on my systems:

Ubuntu 6.06 -> 1 process
Debian 3.1 -> 2 processes
Red Hat Enterprise Linux 2.1 -> 3 processes
Red Hat Enterprise Linux 3 -> 3 processes
Red Hat Enterprise Linux 4 -> 1 process

But what I dont understand: Why is it so bad to have a couple of (extra) 
processes running? If they are simply idle, they dont consume processor 
cycles and wont use any 'real' memory because they will be swapped to the 
harddisc.

IMHO it is not worth your time to dive into the source for investigation, not 
even close...

Greetings,
Ger.

Op dinsdag 20 juni 2006 03:11, schreef Norbert Murzsa:
> The -L equal to -m on RH 7.3
>
> Unfortunately: ps: error: Thread display not implemented.
>
> And I think I have three separate processes (as I have already told in
> my first letter), not threads.
>
> The output of a RHEL3/4 (I have one PID with two different LWPs):
> UID        PID  PPID   LWP  C NLWP STIME TTY          TIME CMD
> root     24365     1 24365  0    2 Jun15 ?        00:00:00
> /usr/local/baculacl/sbin/bacula-fd -u root -g root -v -c
> /usr/local/baculacl/etc/bacula-fd.co
> root     24365     1 24367  0    2 Jun15 ?        00:00:00
> /usr/local/baculacl/sbin/bacula-fd -u root -g root -v -c
> /usr/local/baculacl/etc/bacula-fd.co
>
> The output of a RH7.3 (I have three different PIDs so I think these are
> different processes):
> UID        PID  PPID  C STIME TTY          TIME CMD
> root     29383     1  0 09:20 ?        00:00:00
> /usr/local/baculacl/sbin/bacula-fd -u root -g root -v -c
> /usr/local/baculacl/etc/bacula-fd.
> root     29385 29383  0 09:20 ?        00:00:00
> /usr/local/baculacl/sbin/bacula-fd -u root -g root -v -c
> /usr/local/baculacl/etc/bacula-fd.
> root     29387 29385  0 09:20 ?        00:00:00
> /usr/local/baculacl/sbin/bacula-fd -u root -g root -v -c
> /usr/local/baculacl/etc/bacula-fd
>
> The options for the compilation are the same. So I can not figure out
> what the problem is. Maybe I have to check it in the source. It's not a
> problem but maybe someone has a same type of thing...
>
>
> Norbert Murzsa
> Senior Systems Engineer (CCSE+SCP)
> T
> (04) 460 6068
>
>
> F
> (04) 460 6001
> E
> [EMAIL PROTECTED]
> W
> www.gen-i.co.nz
>
> Level 3, 154 Featherston Street,
> Wellington, New Zealand
> ________________________________
>
> "This communication, including any attachments, is confidential. If you
> are not the intended recipient, you should not read it - please contact
> me immediately, destroy it, and do not copy or use any part of this
> communication or disclose anything about it. Thank you. Please note that
> this communication does not designate an information system for the
> purposes of the Electronic Transactions Act 2002."
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Arno
> Lehmann
> Sent: Tuesday, 20 June 2006 12:36 p.m.
> To: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] 3 running processes of fd daemon.
>
> Hi,
>
> On 6/20/2006 1:48 AM, Norbert Murzsa wrote:
> > Ok. Thank you.
> > So the question again.
> >
> > Why does Bacula client process start only one thread on RHEL3/4 and
>
> why
>
> > does Bacula client process start three threads on RH7.3.
> > The servers haven't got any other high traffic.
> >
> > The Bacula version is the same (1.38.6 and 1.38.10) and compiled from
> > the source.
> > I would like to run them with the same number of thread if it
>
> possible.
>
> Are you actually sure the fd runs a different number of threads?
>
> For example, I get the following:
> >  ps -LfC bacula-fd
> > UID        PID  PPID   LWP  C NLWP STIME TTY          TIME CMD
> > root      4351     1  4351  0    2 May19 ?        00:00:02
>
> /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
>
> > root      4351     1  4355  0    2 May19 ?        00:00:00
>
> /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf
>
> As you see, one process (PID) and two threads (LWPs) from an idle FD.
>
> > Before the question of why...
> >
> > The reason of the question is that client is frustrated from the
> > different threads on different operating systems and they want to use
> > another solution maybe.
>
> If they actually are worried about the number of threads I don't think
> that can be helped. If it's a question of understanding the different
> diagnostic tools, especially how threads are represented from ps' and
> tops point of view, depending on the kernel, the system library, and the
>
> threading model, they should learn :-)
>
> Arno
>
> > Norbert Murzsa
> > Senior Systems Engineer (CCSE+SCP)
> > T
> > (04) 460 6068
> >
> >
> > F
> > (04) 460 6001
> > E
> > [EMAIL PROTECTED]
> > W
> > www.gen-i.co.nz
> >
> > Level 3, 154 Featherston Street,
> > Wellington, New Zealand
> > ________________________________
> >
> > "This communication, including any attachments, is confidential. If
>
> you
>
> > are not the intended recipient, you should not read it - please
>
> contact
>
> > me immediately, destroy it, and do not copy or use any part of this
> > communication or disclose anything about it. Thank you. Please note
>
> that
>
> > this communication does not designate an information system for the
> > purposes of the Electronic Transactions Act 2002."
> >
> >
> > -----Original Message-----
> > From: Frank Sweetser [mailto:[EMAIL PROTECTED]
> > Sent: Monday, 19 June 2006 12:37 p.m.
> > To: Norbert Murzsa
> > Cc: bacula-users@lists.sourceforge.net
> > Subject: Re: [Bacula-users] 3 running processes of fd daemon.
> >
> > On Mon, Jun 19, 2006 at 11:43:22AM +1200, Norbert Murzsa wrote:
> >>After a successful building I have one running process on RHEL3 and
> >>RHEL4 but I have three running processes on RH 7.3.
> >
> > They're not actually three seperate processes - they're three threads
>
> in
>
> > the
> > same process.  Check the man pages for ps to see if you can get it to
> > show you
> > the difference more accuratelly.



_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to