Return code of 127 is out of bounds - only on high cpu load though
Daniel Wittenberg
daniel.wittenberg.r0ko at statefarm.com
Tue Dec 14 18:39:11 CET 2010
I ran a full strace of nagios daemon and children and it looks like it
was the enable_environment_macros that was causing:
[pid 20478] execve("/bin/sh", ["sh", "-c", . . . . . ] = -1 E2BIG
(Argument list too long) <0.000337>
[pid 20478] exit_group(127) = ?
I turned them off and that fixes things, but potentially breaks some
other things in our setup, but for right now it's working. Still odd
that as I change the number hosts the env changes enough to push over
the edge. I ran same tests with only 300 hosts and it worked fine, just
looks like at about 500 or so something changes in env.
Always something fun in nagiosland :)
Dan
-----Original Message-----
From: Andreas Ericsson [mailto:ae at op5.se]
Sent: Tuesday, December 14, 2010 11:22 AM
To: Nagios Users List
Cc: Daniel Wittenberg
Subject: Re: [Nagios-users] Return code of 127 is out of bounds - only
on high cpu load though
On 12/14/2010 05:14 PM, Daniel Wittenberg wrote:
> Yeah, the only two I'm testing with are check_nrpe and check_tcp, and
> it's all of them on every server that start failing. Any idea what
> kind of shared resources it might be starving?
>
Not those two, no. They should be fairly well behaved, unless you're
using check_tcp with ssl and your ssl library is acting up. I can't
see how that could be happening though. What does the debug log tell
you?
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Tel: +46 8-230225 Fax: +46 8-230231
Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
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