How can I disable the prefetch cache?
Posted
by
Oli
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Oli
Published on 2011-01-11T17:05:05Z
Indexed on
2011/01/11
18:01 UTC
Read the original article
Hit count: 231
I run a few Ubuntu servers that have a load of django sites running on them. The sites and the httpd start at boot and after that (apart from me SSHing in to update it or using bzr to update websites) nothing else gets run on it.
At the moment over half the ram is allocated as cache. This isn't a problem because cache usually makes space or a little bit of it slips into swap (again, this doesn't really bother me) but I don't see the need for it.
Is there a quick way to disable the cache? This is more of an experiment than anything else so it would be handy to know how to turn it back on again.
© Ask Ubuntu or respective owner