unknown directive "aio" in Nginx 0.8.14

Maxim Dounin mdounin at mdounin.ru
Thu Sep 10 13:50:09 MSD 2009


Hello!

On Thu, Sep 10, 2009 at 11:26:14AM +0200, Dinh Pham wrote:

> Hi all,
> 
> I installed Nginx 0.8.14 to try out a new feature: AIO support. Also, I
> compiled Nginx with --with-file-aio
> 
> However, Nginx show warnings that it does not support AIO:
> 
> Starting nginx: [emerg]: unknown directive "aio" in
> /usr/local/nginx/nginx.conf:46
> 
> Here is my configuration
> 
>         location ~* ^\/files\/(.+) {
>             alias /home/files/$1;
>             internal;
>             aio on;
>             # sendfile off;
>             directio 512;
>         }
> 
> Is this feature experimental and withdrawn?

No, the feature is here.  Looks like you are running wrong binary 
(or doesn't compiled it properly).

Maxim Dounin





More information about the nginx mailing list