Kurt De Pauw Posted December 18, 2012 Share Posted December 18, 2012 Hello, I have to daily reboot my VPS Quad Core with 4GB memory and 2GB Swap due to all memory is in use. Can somebody tell me how I can see what is consuming that much memory ? Link to comment Share on other sites More sharing options...
Rhett Posted December 18, 2012 Share Posted December 18, 2012 Linux will normally use 99% of it's available memory, this does refer to swap however, this is not an issue and by design. Link to comment Share on other sites More sharing options...
Kurt De Pauw Posted December 18, 2012 Author Share Posted December 18, 2012 Okay ... can you tell me how it comes my forum is slow ? Link to comment Share on other sites More sharing options...
p4guru Posted December 18, 2012 Share Posted December 18, 2012 to understand linux memory usage read http://www.linuxatemyram.com/ Link to comment Share on other sites More sharing options...
Analogged Posted December 20, 2012 Share Posted December 20, 2012 Connect to the server via SSH and monitor "top" for a day and see what it freezes on the next time it crashes. If you are running out of RAM one of the last things you would probably see is "kswapd" which is the process that moves data back and forth from virtual memory. Your IOWait would also skyrocket at the end. Would also be interesting to see what else is happening in "top" at the time of failure. Also run Mysqltuner to see if MySQL has more ram allocated to it then it should for the amount of RAM installed in the server. You always want to make sure that your services are configured in way where even if there is a problem they can not use more resoucres then the server has avalible to it so that 1 process such as MySQL can't down the whole machine. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.