nginx-0.7.7

Joe Bofh lists at ruby-forum.com
Fri May 15 19:59:02 MSD 2009


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

--J

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 http://www.ruby-forum.com/.





More information about the nginx mailing list