Nagios 2.0a1 hogging resources

Andreas Ericsson ae at op5.se
Mon Sep 20 14:26:48 CEST 2004


Tom DE BLENDE (GCC) wrote:
> Hi,
> 
> I thought I just mention that over the weekend, the Nagios 2.0a1 
> installation I'm running was starting to take up a lot of system resources:
> 
> 13:21:54  up 17 days,  4:15,  1 user,  load average: 2.66, 1.92, 1.89
> 268 processes: 261 sleeping, 7 running, 0 zombie, 0 stopped
> CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
>           total   19.2%    0.0%   20.5%   0.0%     0.0%    1.4%   58.5%
>           cpu00   17.4%    0.0%   23.2%   0.0%     0.0%    1.5%   57.7%
>           cpu01   21.0%    0.0%   17.8%   0.0%     0.1%    1.3%   59.4%
> Mem:  1028544k av,  693836k used,  334708k free,       0k shrd,  213848k 
> buff
>                    339560k actv,   69812k in_d,    9512k in_c
> Swap: 2044072k av,   31252k used, 2012820k free                  156852k 
> cached
> 
>  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
> 12226 nagios    25   0  -12M   0G  -18M R     0.5 1670289.6  94:53   0 
> nagios
> 
> 
> Restarting the process. Solved it for now. Tell me if you want me to do 
> any sort of testing if you think it can be of use for the development of 
> Nag 2.0.
> 

This is the embedded perl thingie at work (it seems perl can't be 
embedded properly without issues like this. Apache and mod_perl has the 
same problem). Re-compile without it and things should work normally 
again (I've been running it for 3 months now, and had no problems what 
so ever).

> Kind regards,
> Tom
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php




More information about the Developers mailing list