On 23/09/10 22:03, Srija wrote:
Hi ,
In one of your xen guest ,one application is running and is consuming
much memory,
so almost every alternate day they ask to reboot the server.
Do they reboot the server because it causes a problem, or is this
"preventative"?
For the first case, it likely means your app is tuned to use too much
ram. Add more ram or tune your app.
For the second case, get a new sys admin :)
One of our admin suggested to use the following command.
free && sync && echo 3 > /proc/sys/vm/drop_caches && free
I was googling and there are mixed comments. Some are advising it is
good , some are not.
I was thinking that rather applying 'echo 3' , may be 'echo 1' will be good.
As,
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
Any advice will be really appreciated. Also do you think when we will
execute the command, before that the application is needed to be stopped.
Thanks in advance.
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list
_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list