Welcome! Log In Create A New Profile

Advanced

"aio on" is unsupported on this platform

Posted by sebnyberg 
"aio on" is unsupported on this platform
April 27, 2015 05:17PM
Hello!

I am attempting to enable asynchronous I/O for my NGINX server but I get the following error:

> sudo nginx -t -c /etc/nginx/nginx.conf
[emerg] "aio on" is unsupported on this platform in /etc/nginx/nginx.conf:33
nginx: configuration file /etc/nginx/nginx.conf test failed

I was under the impression that aio was supported (and async automatically turned on) for my distro/kernel:

> uname -a
Linux arch 3.19.3-3-ARCH #1 SMP PREEMPT Wed Apr 8 14:10:00 CEST 2015 x86_64 GNU/Linux

None of the articles I found showed a way to check if async was active on Arch Linux (/sys/slabinfo does not contain any "kio" entries). I tried to explicitly enable async in my /etc/fstab to no avail.

> pacman -Q libaio
libaio 0.3.110-1

Am I missing something here?

Thanks!



Edited 1 time(s). Last edit at 04/27/2015 05:18PM by sebnyberg.
Re: "aio on" is unsupported on this platform
April 27, 2015 05:38PM
http://hg.nginx.org/nginx/rev/4dc8e7b62216

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 138
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready