Behavior of nginx on Allocation Failure

Colin colin.r.daniels at gmail.com
Wed Jun 15 04:11:32 UTC 2022


Hi All,

I'm interested in how nginx performs when close to/at memory limits, but
haven't been able to find answers to a couple of things. Mainly: Does nginx
usually treat allocation failures as recoverable, or fatal? I know
ngx_alloc fires an emergency-level error on failure, but I'm curious about
how nginx usually behaves afterwards.

More generally, does nginx make any guarantees about behavior when
allocations fail? I've looked at the memory management API but if I've
missed any other documentation that answers these questions, feel free to
just link me to it.

Thanks,
Colin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220614/abba1926/attachment.htm>


More information about the nginx mailing list