How to monitor and log Memory used by independent processes

Hi,

We have several Domains on a Server and we are having Memory Overload problems but i'm unable to identify with domain/process is causing the problem

I suspect that the googlebot is consuming too much resources, but i would like to be able to indentify exactly the domain, process or if any specific code or error is causing the memory to overload.

Thanks

Status: 
Active

Comments

Howdy -- it sounds like you may need to monitor the server using perhaps either "top", or maybe running occasional "ps auxw" commands, both from the command line. That would enable you to see what's going on with the processes on your server.

You can generally get an idea of what user(s) or process(es) are causing the memory problems.

Also, if you're low on RAM to begin with, you may want to take a look at the ldocumentation here on running Virtualmin on low-memory systems:

http://www.virtualmin.com/documentation/system/low-memory

However, the Support area here is for Virtualmin Pro users, and it looks like you're using Virtualmin GPL there. If you're using Virtualmin GPL, we'd encourage you to use the Forums to obtain support. We monitor those, along with lots of wonderful folks in the community. Thanks!

I can recommend the tool "atop", which has a background daemon that records detailed performance information at selectable intervals, including a list of processes and their resource consumption. If you use FCGId and every website runs PHP as their own user, you'll quickly find out the culprit that way.