| From | Sent On | Attachments |
|---|---|---|
| Richard Kearsley | Jun 15, 2011 9:36 am | |
| Ensiferous | Jun 15, 2011 11:34 am |
| Subject: | directio not working | |
|---|---|---|
| From: | Richard Kearsley (Rich...@m247.com) | |
| Date: | Jun 15, 2011 9:36:34 am | |
| List: | ru.sysoev.nginx | |
Hi, from nginx wiki:
directio
syntax: directio [size|off]
default: directio off
context: http, server, location
The directive enables use of flags O_DIRECT (FreeBSD, Linux), F_NOCACHE (Mac OS
X) or directio() function (Solaris) for reading files with size greater than
specified. This directive disables use of
sendfile<http://wiki.nginx.org/HttpCoreModule#sendfile> for this request. This
directive may be useful for big files:
directio 4m;
I have in my config: directio 0;
(I do not want to cache anything in ram)
But ater 5 mins of nginx running:
free -m total used free shared buffers cached Mem: 7994 1980 6014 0 255 1033 -/+ buffers/cache: 691 7303
(cached is going up and up)
Is something else needed or is it just not working?
OS: 2.6.35-28-generic #50-Ubuntu SMP Fri Mar 18 18:42:20 UTC 2011 x86_64 GNU/Linux
Many thanks as always
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





