I'm sure this question has been asked but I couldn't find a viable version of this. For some reason, my RAM is pretty high lately. I'm not sure what's causing it but it's making my customers complain. How do I lower usage and how can I find out what is eating up all the resources?
Well, for CPU it's gone down now. What I'm worried about now is the memory/RAM usage which is at 46%-80% usage at any given time. Swap is still below 1% but customers keep complaining about low speeds claiming it's not their internet. I have 256MB RAM and the same amount of swap.
That really isn't a lot of ram for a webserver, but unless the there is swap being used linux is not out of ram.
Linux always uses up as much ram as it can to make thigns run faster. If you were running linux on your desktop, when you opened a picture in a viewer on it, it would load the software and the image all into ram if it could so you could view it better. This would make it run a lot faster than reading it of the HD and just not using the ram at all. This is not uncommon. Linux will start to use up swap space when you are out of ram.
Well 256mb of ram is low, and I'm going to assume that your processor is not very fast either. Could you post a link to the site (or if that is not possible, a site on the server). It could be poorly written PHP script or any number of things.