<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Arial">Hello all,<br>
<br>
I recently extend our distributed Nagios setup of 1 master and 2
distributed slaves (in which the master also had a lot of checks
running), to 1 master and 5 distributed slaves (in which the master
does no checking at all, except for host checks).<br>
<br>
This setup had 556 hosts and roughly 7000 service checks. Ever since I
modified this setup, the Nagios master host has been giving me
problems. <br>
<br>
The symptoms:<br>
- When starting both Nagios and NSCA, I see NSCA accepting checks in my
logfiles, but none get processed by Nagios.<br>
- After a few minutes NSCA processes are starting to build up,
increasing with 5-10 processes per second. In a few minutes it reaches
a few thousand processes and the machine starts hanging.<br>
- Sometimes the number of Nagios processes start increasing, instead of
the NSCA processes. Same result, the machine starts hanging.<br>
<br>
</font><font face="Arial">I have tried versions 2.5, 2.7, 2.8 and 2.9
of Nagios and versions 2.5 and 2.7.1  of NSCA, but none made the
problems go away.<br>
<br>
The config of NSCA:<br>
pid_file=/var/run/nsca.pid<br>
server_port=5667<br>
nsca_user=nagios<br>
nsca_group=nagios<br>
debug=1<br>
command_file=/var/nagios/rw/nagios.cmd<br>
alternate_dump_file=/var/nagios/rw/nsca.dump<br>
aggregate_writes=0<br>
append_to_file=0<br>
max_packet_age=30<br>
decryption_method=1<br>
<br>
Pretty basic. I have also experimented abit with append_to_file and
aggregate_writes, but no change.<br>
<br>
Relevant nagios.cfg options:<br>
check_external_commands=1<br>
command_check_interval=-1 (has been experimented with, no changes)<br>
command_file=/var/nagios/rw/nagios.cmd<br>
service_reaper_frequency=10<br>
accept_passive_service_checks=1<br>
check_service_freshness=1<br>
<br>
If there is anything else you'd like to know, let me know.<br>
<br>
I'm hoping someone can help me out here. Thanks.<br>
<br>
- Jeffrey<br>
</font>
</body>
</html>