how to keep "hot" files in memory?

Maxim Dounin mdounin at
Fri Aug 31 18:19:28 UTC 2012


On Wed, Aug 29, 2012 at 06:39:51PM +0800, Roast wrote:

> Dear all.
> We use nginx to server lots of static content with high traffic loads. And
> the server is getting slower, because slower SATA drive.
> So I think how to  keep "hot" files in memory without other software,just
> like varnish or squid? Does someone has worked out modules for nginx?

Normally OS will do right thing in keeping hot files in memory 
without any other software.  You may want to make sure OS isn't 
low on memory though and have some memory to cache files.

Maxim Dounin

More information about the nginx mailing list