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.  

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

Reply via email to