Joe Bofh lists at
Fri May 15 19:59:02 MSD 2009

Why would one use directio vs sendfile? Why would/should they be 
mutually exclusive?


Igor Sysoev wrote:

> directio  [off|size]
> http/server/location level
> default  off
> The directive enables O_DIRECT or F_NOCACHE (Mac OS X) options for
> files open for reading if their size is bigger than specified in 
> directive.
> Example:
>      directio  4m;
>      sendfile  off;

Posted via

More information about the nginx mailing list