Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I often face the problem that something is eating away on my memory, but I can't put my finger on what it is.

I have redis, mysql, ruby, php and apache running on the same server, it's been running fine, but all of a sudden something is consuming too much memory. The TOP command doesn't tell me anything that worries me.

How can I find the problem?

share|improve this question

closed as off topic by Jorge Castro, Marco Ceppi Dec 2 '10 at 14:09

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

up vote 3 down vote accepted

Try htop in a screen session, press F6, order by MEM, and you'll see that. Alternatively you can set up a munin-node, and get a graph that visualizes your system-behavior. atop -m also works very well for me. Some systems hide super-use processes. In that case perform your analysis as root.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.