fork issues and latency

Thomas Guyot-Sionnest dermoth at aei.ca
Sun Feb 15 16:28:34 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/02/09 09:43 PM, Jeff Frost wrote:
> On Sat, 14 Feb 2009, Thomas Guyot-Sionnest wrote:
> 
>>
>> Which OS/distribution are you running? How much RAM do you have? Free
>> RAM? SWAP?
>>
>> Please send results of "free -m" with and without Nagios running.
> 
> Gentoo
> 
> With nagios running (and fork errors happening):
> 
> free -m
>              total       used       free     shared    buffers     cached
> Mem:          4096       1421       2674          0         51       1078
> -/+ buffers/cache:        292       3803
> Swap:          511          0        511
> 
> nagios    4808  6.8  0.2  72716 11916 ?        Rsl  02:00   2:47
> /usr/sbin/nagios -d /etc/nagios/nagios.cfg
> 
> Without nagios running:
> 
> # free -m
>              total       used       free     shared    buffers     cached
> Mem:          4096       1364       2732          0         51       1073
> -/+ buffers/cache:        238       3857
> Swap:          511          0        511
> 
> Immediately after nagios start:
> 
> # free -m
>              total       used       free     shared    buffers     cached
> Mem:          4096       1386       2709          0         51       1079
> -/+ buffers/cache:        255       3840
> Swap:          511          0        511
> 

This is very strange as you should have plenty of available memory (this
is a 64bit system right?) even when you see the fork() errors.

Are you able to find the exact errorno with strace?

Which kernel are you using? Do you have any security features enabled
(selinux, grsecurity, pax, etc?)

Is there anything logged by the kernel (dmesg)?

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJmDSi6dZ+Kt5BchYRAs6uAKDUPXAQwprDRZDoQjznJRRMZi6coQCdFf7z
uc5JVKfaOEMvLMgQzNLwQbk=
=CAfh
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list