Re: RFA: Multiprocesses on Netsaint 0.0.7 - RedHat 7.3

Stanley Hopcroft <[email protected]>
Newsgroups gmane.network.netsaint.user
Message-ID <[email protected]>
Dear Sir,

On Mon, Oct 21, 2002 at 10:26:43AM +0200, Michael Smedeus wrote:
> Hi
> 
> Last week I installed Netsaint 0.0.7 on a RedHat 7.3 box that will be a 
> replacement for an old RH7.2 one.
> When running Netsaint on the new machine with an exact copy of all 
> config files, (Netsaint 0.0.7 on both) Netsaint creates 60-70 subprocesses.
> 
> I'm curios about this if it's normal on a RH7.3 box with more than one 
> netsaint process? I have never seen this before starting from RH6.1-7.2 
> until now and I belive that the normal behavior i just one process running.
>

I am not sure that I understand your observation but I expect to see 
_many_ shortlived Netsaint processes as the parent Netsaint forks itself 
to run service checks, send alerts etc etc.

Here's a FreeBSD box,

tsitc> ps -auxw | grep netsaint
netsaint 31778  0.0  4.5 12176 11548  ??  Ss    9:35PM   0:11.91 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 42993  0.0  4.5 12168 11548  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 42995  0.0  0.1   628  280  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ppp
netsaint 42998  0.0  0.5  1656 1264  ??  S    10:16PM   0:00.02 
/usr/local/bin/expect -f /usr/local/netsaint/libexec/check_ppp
netsaint 42999  0.0  0.6  2372 1520  p5  Ss+  10:16PM   0:00.01 
/usr/sbin/ppp -interactive a6
netsaint 43014  0.0  4.5 12168 11548  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43016  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p 
10 -to 15 -nohtml
netsaint 43018  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 10.0.100.191 5 10 50.0 100.0 -p 
10 -to 15 -nohtml
netsaint 43019  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 10.0.100.191
netsaint 43034  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43035  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43036  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 10.0.100.15 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43037  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 10.0.100.15
netsaint 43039  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43041  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43042  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43043  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 
1000.0 -p 10 -to 15 -noht
netsaint 43044  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 10.0.100.52 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43045  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 10.0.100.52
netsaint 43046  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 192.168.103.129 20 50 500.0 
1000.0 -p 10 -to 15 -nohtml
netsaint 43047  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 192.168.103.129
netsaint 43049  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43050  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43051  0.0  0.2   980  612  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 10.0.100.11 5 10 50.0 100.0 -p 10 
-to 15 -nohtml
netsaint 43052  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 10.0.100.11
netsaint 43057  0.0  4.5 12176 11556  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/bin/netsaint -d /usr/local/netsaint/etc/netsaint.cfg
netsaint 43058  0.0  0.1   632  284  ??  S    10:16PM   0:00.00 sh -c 
/usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p 
10 -to 15 -nohtml
netsaint 43059  0.0  0.2   984  616  ??  S    10:16PM   0:00.00 
/usr/local/netsaint/libexec/check_ping 10.0.100.148 5 10 50.0 100.0 -p 
10 -to 15 -nohtml
netsaint 43060  0.0  0.1   464  204  ??  S    10:16PM   0:00.00 
/sbin/ping -n -c 10 10.0.100.148

tsitc> uname -a
FreeBSD tsitc.aipo.gov.au 4.6.1-RELEASE-p10 FreeBSD 4.6.1-RELEASE-p10 
#1: Wed Aug  7 17:49:05 EST 2002     
[email protected]:/usr/obj/usr/src/sys/TSITC  i386
tsitc> 

Is it possible that your 7.[12] boxes are vastly more powerful than your 
7.3 host ? (so that the checks finish real quick and you are not aware 
of their presence).

How long do these multiple Netsaint processes last for ?

Are the process IDs the same ?


 
> Some more facts:
> Netsaint performs alright on the new machine
> The main process is started by the standard daemon-init script and both 
> machines sitting on the very same network segment.
> 
> 
> Regards
> 
> Michael Smedéus
> 

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ad.doubleclick.net/clk;4729346;7592162;s?http://www.sun.com/javavote
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.