Help me understand my top output
Code:
top - 15:26:25 up 364 days, 8:10, 2 users, load average: 0.12, 0.13, 0.15 Also I noticed that this machine is sucking up nearly all my ram... Which i hear is how Linux is supposed to be. But 4GB? That seems excessive to me. My real problem relates to that mysqld process. This is off of my mysql machine, and it's running SLLOOOWWWWWW. The machines only responsibilities is running mysql. But runs slow when memory dips low to the point of 15mb or so left. As you notice, there is almost a full year on the clock, and we've restarted mysql once, about 6 months ago when it was doing the same things. Memory leak? Possible misconfiguration somewhere? Thanks, |
What is the output of free -lm? It maybe that there's plenty of RAM left for mysqld. From your top output, it looks like only 4.3% of memory is used by mysqld...
|
Code:
total used free shared buffers cached |
If you look at the line that's -/+ buffers/cache: it shows that your applications are using 339MB and that 3.6 GB is free for application use. Your swap is also not being used at all for applications.
The first line basically shows that 3.6 GB is being used to cache data. If you needed it for applications (like starting another daemon or whatever), it would free up some of that cache for your applications. Now as to your slowdown, I don't have any good educated guesses. Maybe some problem with your cached data? |
Thanks, that at least crosses off one thing I thought was wrong.
|
It's difficult to say, but it might be purely a DB issue.
Are there a lot of mysql process showing when you run top? Try logging into mysql and running the following : show processlist; show variables; should give you something to work on. |
All times are GMT -5. The time now is 02:21 AM. |