I own a server with more than 30 domains on it at the moment, and each one of them has a different website on it. Most PHP or Ruby. Each of the sites have a different usage patterns, but recently I see huge problems with memory consumption, I have never seen before.
I can see in TOP a lot of Apache processes spawned, but I would like to know, which domain is using how much of the RAM, to know where to look for a problem (which I am almost certain is in someones coding)
Is there a way to report Apache resource usage per domain basis? I am using Plesk 10, and I have root access to the server.