directio sendfile aio

B.R. reallfqq-nginx at yahoo.fr
Fri Jan 22 09:53:02 UTC 2016


You did not provide any configuration snippet for the thread pool you are
using and only showing partial configuration bits.
I hope the unshown is configured properly...
---
*B. R.*

On Fri, Jan 22, 2016 at 10:08 AM, Anoop Alias <anoopalias01 at gmail.com>
wrote:

> From an nginx book i read setting
>
> ###########
> http {
>
> sendfile on;
> sendfile_max_chunk 512k;
> aio threads=default;
> directio 4m;
> ############
>
> is good as it use (if i understand it correctly)
>
> sendfile for files less than 4m and directio for files larger than 4m
>
> But the above config is causing issues like static css files images etc
> not being served. I am not sure what exactly is the issue But commenting
> out
>
> directio from the above fix it or commenting out sendfile fix it .
>
> But adding them both creates a mess.
>
> The question is is the above combination valid and if yes what might be
> causing  the issue .
>
>
> --
> *Anoop P Alias*
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160122/95042c4c/attachment.html>


More information about the nginx mailing list