Welcome! Log In Create A New Profile

Advanced

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

All files from this thread

File NameFile Size Posted byDate 
mmap_test.c682 bytesopen | downloadSergey Budnevitch10/05/2012Read message
October 05, 2012 06:43AM
Sergey Budnevitch Wrote:
-------------------------------------------------------

> Nothing unusual here. It seems mmap failed because of
> vm hypervisor settings/limits. Try to compile (gcc -o mmap_test
> mmap_test.c)
> and run (./mmap_test) simple test in attachment - it should not exit
> with
> errors.

Thank you very much, Sergey!

I compiled and ran the test and here is the result:
----
[root@c3 test]# ./mmap_test
65536 bytes mmaped
131072 bytes mmaped
262144 bytes mmaped
524288 bytes mmaped
mmap(MAP_ANON|MAP_SHARED, 1048576) failed, errno = 28
----

So there is an error. I guess I will have to contact the VPS provider then...
Again, thank you for your help and support!

Kind regards
-A
SubjectAuthorPosted

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

dullnickerOctober 04, 2012 10:19PM

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

Sergey BudnevitchOctober 05, 2012 01:18AM

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

dullnickerOctober 05, 2012 03:03AM

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

Sergey BudnevitchOctober 05, 2012 05:52AM

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

dullnickerOctober 05, 2012 06:43AM

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

dullnickerOctober 05, 2012 10:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 76
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready