fork errors
Adams, Russell L.
RLAdams at Kelsey-Seybold.com
Fri Sep 2 17:12:42 CEST 2005
What distro?
I had issues on Debian Woody with fork errors, and had to update some
values which improved the situation but never actually fixed it.
In sysctl.conf:
kernel/threads-max = 100000
In /etc/security/limits:
root soft nproc 1024
nagios soft nproc 1024
root hard nproc 2048
nagios hard nproc 2048
This kernel threads value helped, but there seems that there's another
value hardcoded into the kernel that can only be changed via
recompile. I can't remember what value that was, but it was set way
too low in the default 2.4 kernel from Debian for Woody.
I've been meaning to see what happens with Sarge.
Russell
On Thu, Sep 01, 2005 at 01:13:20PM -0500, Terry wrote:
> Hello,
>
> I have been having this issue for quite some time. For some unknown
> reason, nagios stops performing checks with these errors:
>
> [1125536952] Warning: The check of service 'PING' on host 'hostname'
> could not be performed due to a fork() error. The check will be
> rescheduled.
>
> All checks fail like this until nagios is restarted. When this
> problem is occuring I can run the service checks manually both as the
> nagios user and as the root user. There are no resource problems that
> I can see at the time. We do not appear to be hitting a limit with
> open files or anything like that either. The nagios mirrors the root
> user in that area.
>
> What could be wrong?
>
> Thanks!
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> 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
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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