nginx: [alert] mmap(MAP_ANON|MAP_SHARED, 2097152) failed (28: No space left on device)

dullnicker nginx-forum at nginx.us
Fri Oct 5 02:19:29 UTC 2012


Dear all,

I must kindly ask for your help again. I have installed nginx on dozens of
VPS and never came across the problem that I am facing now on my newest
installation. When I try to (re-) start nginx, I get the following error
message:

----
nginx: [alert] mmap(MAP_ANON|MAP_SHARED, 2097152) failed (28: No space left
on device)
----

Here are some values from my /etc/sysctl.conf:

----
# Controls the maximum size of a message, in bytes
# kernel.msgmnb = 65536

# Controls the default maxmimum size of a mesage queue
# kernel.msgmax = 65536

# Controls the maximum shared segment size, in bytes
kernel.shmmax = 68719476736

# Controls the maximum number of shared memory segments, in pages
# kernel.shmall = 4294967296
----

Needless to say that I have 900 MB RAM and 49 GB disk space free. OS is
CentOS 6.

What am I missing? I am really pulling my hair right now! Thank you very
much for any hint in advance!

Kind regards
-A

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,231404,231404#msg-231404



More information about the nginx mailing list