Page 1 of 1

WARNING: RLIMIT_NPROC

Posted: Mon Mar 02, 2020 2:04 pm
by steph007
Hi,

I have this warning in my Nagios log:
WARNING: RLIMIT_NPROC is 31329, total max estimated processes is 46568! You should increase your limits (ulimit -u, or limits.conf).

On this forum I've seen problem fixed by disable Deadpool, but it's already disable.
I have see problem that can be related to mysql connection, but event after change the default of 151 to 800, it's change nothing.
I still have the issues.
Where I can look next?

Re: WARNING: RLIMIT_NPROC

Posted: Mon Mar 02, 2020 4:19 pm
by tgriep
What OS and release is the Nagios server running?
What version of Nagios XI is the server running?

Edit the following file

Code: Select all

/etc/security/limits.conf
Add the following to increase the limit for nproc.

Code: Select all

*          soft     nproc          65535
*          hard     nproc          65535
Reboot the server and see if the issue goes away.

Re: WARNING: RLIMIT_NPROC

Posted: Tue Mar 03, 2020 9:52 am
by steph007
Hi,

My OS is CentOS release 6.10 and my Nagios XI release is 5.6.10

I did the change specified into your post and it's look ok now. Thanks!

Re: WARNING: RLIMIT_NPROC

Posted: Tue Mar 03, 2020 12:14 pm
by benjaminsmith
I did the change specified into your post and it's look ok now. Thanks!
Glad to hear that took care of it for you.

We'll close this out, but feel free to open another post if you have any new questions.