directio not working

Ensiferous nginx-forum at
Wed Jun 15 22:34:55 MSD 2011


This directive just sets when to use direct IO and when not to, it does
not affect the Nginx output buffers which are used when sendfile is
turned off.

Similarly, the cached value you see in free -m is the amount your OS use
for caching IO, not nginx. If you wish to turn this off you must do so
at the OS level.

Posted at Nginx Forum:,207213,207247#msg-207247

More information about the nginx mailing list