posix_memalign(16, 16384) failed (12: Cannot allocate memory)

JohnCarne nginx-forum at forum.nginx.org
Sat Sep 24 18:10:58 UTC 2016


After 29 hours error re-appeared jus tonce, which is much less than before

I see a correlation on my monit system at this exact time :
apache traffic had a peak, which equals to a big download peak

I'm now thinking to nginx tweaks i have not done yet

I now enlarge
from 64m to
client_max_body_size    256m;

>From 256k
client_body_buffer_size 512k;

add :
send_timeout 300s;

This one could be issue :
sendfile_max_chunk 512k;
I put it to 0

This is too large too
directio 50m;
I put it as :
directio 4m;

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269787,269816#msg-269816

More information about the nginx mailing list