View Single Post
Posts: 92 | Thanked: 95 times | Joined on Feb 2010 @ Smyrna, Atlanta / Bangalore, India
#24
Originally Posted by noipv4 View Post
Try these steps too.

http://www.linuxinsight.com/proc_sys...op_caches.html

Writing to this will cause the kernel to drop clean caches, dentries and inodes from memory, causing that memory to become free.

To free pagecache:

* echo 1 > /proc/sys/vm/drop_caches

To free dentries and inodes:

* echo 2 > /proc/sys/vm/drop_caches

To free pagecache, dentries and inodes:

* echo 3 > /proc/sys/vm/drop_caches

As this is a non-destructive operation, and dirty objects are not freeable, the user should run "sync" first in order to make sure all cached objects are freed.
Will try this once I have more than 2 days of Uptime after which my N900 starts to freeze.. Thank you very much..

If dropping cache resolves the issue then is it possible to run it as a cron job every 24 hours or something so that we dont have to struggle with this issue...