Page 1 of 1

WARNING: RLIMIT_NPROC

PostPosted: Thu Apr 28, 2022 11:08 am
by alkalk1
Hello
I have Nagios Core 4.4.6 on debian 11. 90 hosts and 310 services.
When I restart "systemctl restart nagios.service" in log /var/log/nagios4/nagios.log I have: "WARNING: RLIMIT_NPROC is 3766, total max estimated processes is 3968! You should increase your limits (ulimit -u, or limits.conf)"

I tryed
cat /etc/security/limits.conf
Code: Select all
*         -    nproc     unlimited

and nothing change.

This is my:
ulimit -a
Code: Select all
real-time non-blocking time  (microseconds, -R) 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) 3766
max locked memory           (kbytes, -l) 124975
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) 8192
cpu time                   (seconds, -t) unlimited
max user processes                  (-u) 3766
virtual memory              (kbytes, -v) unlimited
file locks                          (-x) unlimited


I search in Nagios Support Forum but "You are not authorised to read this forum"
Maybe someone know that to do?