-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Failed to create IO broker set: Cannot allocate memory #135
Comments
change ulimit for docker container: |
On my system nofile is already unlimited, but I got the same error running docker on PhotonOS. Running docker on another Ubuntu maschine, nagios works fine. Any other idea? |
Changing the ulimit didn't work for me either. I think docker might have changed something recently which is breaking the container. I'm using Arch Linux my versions below.
I am building Nagios in Docker from master but I also tried a release from back in April with the same results. |
Sorry, I forgot to post my solution of the issue. The problem is, that NOFILE is much too high and nagios tries to allocate an array of this size and fails. I just added "--ulimit nofile=32768:32768" to my docker run command and that works for me. |
Setting the ulimits nofile worked for me once I applied it to the correct container. Bravo! In my
|
The solution in this topic should be on the main page of this project ! |
After upgrading my virtual machine from Oracle Linux 7 to Oracle Linux 9 i faced the same issue and had to set the "ulimit" parameter on the CLI. This fixed the issue (for now). It took me some time to find this thread here and i do agree that this might be something for the README.md
|
docker pull jasonrivers/nagios:latest
docker run --name nagios4 -p 0.0.0.0:8080:80 jasonrivers/nagios:latest
I don´t found any resolution, ¿can you help me?
Started runsvdir, PID is 11
checking permissions for nagios & nagiosgraph
rsyslogd: [origin software="rsyslogd" swVersion="8.2001.0" x-pid="19" x-info="https://www.rsyslog.com"] start
Nagios Core 4.4.6
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2020-04-28
License: GPL
Website: https://www.nagios.org
Error: Failed to create IO broker set: Cannot allocate memory
The text was updated successfully, but these errors were encountered: