directio sendfile aio

Anoop Alias anoopalias01 at gmail.com
Fri Jan 22 09:08:13 UTC 2016


>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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20160122/7e347aa6/attachment.html>


More information about the nginx mailing list