Re: Cancelling aio operations on Linux

2016-11-15 Thread erankor
Hi, An update on this - we found the problem happens when the number of aio contexts (defaults to 32) is exceeded. When that happens nginx falls back to using regular (synchronous) io, and for some reason this makes the kernel not send completion notification for some pending aio requests. Increas

Cancelling aio operations on Linux

2016-09-02 Thread erankor
Hi, Recently while reloading/restarting nginx I've been getting errors such as: 2016/09/02 11:13:44 [alert] 16480#16480: *1234 open socket #123 left in connection 123 After setting `debug_points abort` and checking the core dump, I found that all requests were blocked on file aio (they had r->blo