The server has physical memory of 4gb. We have a desktop CentOS (5.) running a VM (virtualbox) as the server.
The VM is allowed 1.8gb memory (as per VirtualBox recommendation).
My problem is that Apache starts taking up most of the memory, until it starts to get tight, at which point the server becomes really sluggish. The only 'fix' I found is to do
service httpd restart.
Any ideas why this is happening? How/should I look where this memory is being used?