aio vs non-blocking-io

double nginx-forum at
Sun Dec 11 23:58:57 UTC 2011


Is there a chance to use non-blocking-io with nginx?
AIO is quite broken on Linux, but "O_NONBLOCK" is not.
I know, AIO would be better because you don't have to wait
until the buffer is copied to the kernel-space, but what should
we do...

The problem, nginx is quite often in "uninterruptible sleep" (D), 
so the whole process is blocked.

Thanks a lot

Posted at Nginx Forum:,219886,219886#msg-219886

More information about the nginx mailing list