Not working without aio

If you install nginx compiled with aio support on non-aio enabled
kernel, it doesn’t work:

2011/04/15 11:46:25 [emerg] 18942#0: io_setup() failed (1: Operation not
permitted)
2011/04/15 11:46:25 [alert] 18938#0: worker process 18942 exited with
fatal code 2 and can not be respawn

All workers die, only master process remains, requests aren’t served

Posted at Nginx Forum:

Hello!

On Wed, May 04, 2011 at 07:09:21AM -0400, burn wrote:

If you install nginx compiled with aio support on non-aio enabled
kernel, it doesn’t work:

2011/04/15 11:46:25 [emerg] 18942#0: io_setup() failed (1: Operation not
permitted)
2011/04/15 11:46:25 [alert] 18938#0: worker process 18942 exited with
fatal code 2 and can not be respawn

All workers die, only master process remains, requests aren’t served

You have to recompile nginx without aio. Run-time fallback isn’t
currently supported.

Maxim D.

well, then please consider this a feature request. Having two separate
packages for our server farm is not too convenient.

Posted at Nginx Forum: