Page 3 of 3
Re: rrd does not exist
Posted: Tue May 27, 2014 5:21 am
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"
and
Re: rrd does not exist
Posted: Tue May 27, 2014 10:01 am
by scottwilkerson
I am with @Stuart Watts I believe you could be hitting a open file or open process limit
Re: rrd does not exist
Posted: Wed May 28, 2014 6:24 am
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 ~]#
Re: rrd does not exist
Posted: Wed May 28, 2014 4:29 pm
by tmcdonald
Let's see all of the limits:
Code: Select all
su - nagios -c "ulimit -Ha; ulimit -Sa"
Re: rrd does not exist
Posted: Thu May 29, 2014 11:16 am
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 ~]#
Re: rrd does not exist
Posted: Fri May 30, 2014 10:52 am
by slansing
Looks like you may have increased your open files limit already, what is the output of:
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: