rrd does not exist

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Stuart Watts
Posts: 40
Joined: Wed Sep 25, 2013 7:01 am

Re: rrd does not exist

Post by Stuart Watts »

You could be hitting limits for the number of open files a process is allowed to have, or the limit on the total number of files the system can have open.

Please provide the output from:

Code: Select all

su - nagios -c "ulimit -Sn; ulimit Hn"

Code: Select all

lsof -u nagios | wc -l
and

Code: Select all

sysctl fs.file-nr
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: rrd does not exist

Post by scottwilkerson »

I am with @Stuart Watts I believe you could be hitting a open file or open process limit
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ppalaguachi1976
Posts: 15
Joined: Wed Apr 09, 2014 7:57 am

Re: rrd does not exist

Post by ppalaguachi1976 »

regards
attached the output of the commands, as I can do to solve it? How much is the limit, I have many services / hosts?

[root@nagiosxi-64 ~]# su - nagios -c "ulimit -Sn; ulimit Hn"
1024
-bash: line 0: ulimit: Hn: invalid number
[root@nagiosxi-64 ~]# lsof -u nagios | wc -l
-bash: lsof: command not found
0
[root@nagiosxi-64 ~]# sysctl fs.file-nr
fs.file-nr = 2368 0 1621016
[root@nagiosxi-64 ~]#
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: rrd does not exist

Post by tmcdonald »

Let's see all of the limits:

Code: Select all

su - nagios -c "ulimit -Ha; ulimit -Sa"
Former Nagios employee
ppalaguachi1976
Posts: 15
Joined: Wed Apr 09, 2014 7:57 am

Re: rrd does not exist

Post by ppalaguachi1976 »

Code: Select all

[root@nagiosxi-64 ~]# su - nagios -c "ulimit -Ha; ulimit -Sa"
core file size          (blocks, -c) unlimited
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127459
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 4096
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) unlimited
cpu time               (seconds, -t) unlimited
max user processes              (-u) 127459
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 127459
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 10240
cpu time               (seconds, -t) unlimited
max user processes              (-u) 1024
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
[root@nagiosxi-64 ~]#
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: rrd does not exist

Post by slansing »

Looks like you may have increased your open files limit already, what is the output of:

Code: Select all

cat /proc/sys/fs/file-nr
Try running that every 5 minutes 3 times or so and share the output. Thanks!

I also noticed that when I had you tail the nagios log it said it did not exist? Is this true? What is the output of:

Code: Select all

ll /usr/local/nagios/var/
Locked