OpenVZ Forum


Home » General » Support » Apache2 Memory usage so high(280MB)
Apache2 Memory usage so high(280MB) [message #28481] Thu, 20 March 2008 05:34 Go to next message
mcjason is currently offline  mcjason
Messages: 1
Registered: March 2008
Junior Member
Hi, there.

Is apache2 need so much memory to run?

I use ubuntu template and use apt to install apache2 packages. It runs well, but it needs too much memories(280MB) to run apache2 in the default. Shocked

4212k used (4MB) - not start apache2 on ubuntu
287412k used (280MB) - start apache2 on ubuntu

By the way, here is a monitoring picture use munin for my openvz server, with 4G memories ,around 70 VEs, only 3 or 4 VEs run Apache2. Before system reboot, the memory usage is almost out, but while rebooting,down to 50% usage.

I just wandering is this normal? Rolling Eyes
Re: Apache2 Memory usage so high(280MB) [message #28484 is a reply to message #28481] Thu, 20 March 2008 09:55 Go to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
with KeepAlive enabled (persistent connections allowed) then apache memory consumption is high and you see the behaviour you describe of (after server is running for some time) 100% memory use dropping to 50% after httpd restart (not necessary to reboot to see this happen)

is normal for apache which trades memory for performance e.g. the BBC website is very very fast with a long KeepAlive and they spend much on memory

Previous Topic: Strange memory usage: same VPS but two different HNs
Next Topic: Two level quotas without running VEs
Goto Forum:
  


Current Time: Tue Apr 16 21:32:17 GMT 2024

Total time taken to generate the page: 0.01420 seconds