# Not working without aio

**URL:** <https://www.ruby-forum.com/t/not-working-without-aio/206542>\
**Category:** NGINX\
**Created:** [May 4, 2011, 1:10pm UTC](https://www.ruby-forum.com/t/not-working-without-aio/206542 "2011-05-04T13:10:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dubstep](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cdc98d/32.png) [@dubstep](https://www.ruby-forum.com/u/dubstep)\
**Post date:** [May 4, 2011, 1:10pm UTC](https://www.ruby-forum.com/t/not-working-without-aio/206542/1 "2011-05-04T13:10:02Z")

</div>

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:

> **[not working without aio](https://forum.nginx.org/read.php?2,195522,195522#msg-195522)**
>
> 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...

---

<div class="post-metadata">

**Author:** ![burn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f0a364/32.png) [@burn](https://www.ruby-forum.com/u/burn)\
**Post date:** [May 4, 2011, 1:27pm UTC](https://www.ruby-forum.com/t/not-working-without-aio/206542/2 "2011-05-04T13:27:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![burn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/f0a364/32.png) [@burn](https://www.ruby-forum.com/u/burn)\
**Post date:** [May 5, 2011, 5:00am UTC](https://www.ruby-forum.com/t/not-working-without-aio/206542/3 "2011-05-05T05:00:58Z")

</div>

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

Posted at Nginx Forum:

> **[Re: not working without aio](https://forum.nginx.org/read.php?2,195522,195696#msg-195696)**
>
> 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...
