httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] Runaway Apache Process
Date Thu, 28 Jan 2010 16:35:50 GMT
Daniel Reinhardt wrote:
> Dan,
>
> For one thing I would get a beefier CPU.  Your CPU isn't fit to be a 
> serving machine it is rather slow.  You need to be running a 
> workstation grade CPU Like a Intel Q6600 or a E6400.
>
> You need to get 6Gigs of RAM for Dual Channel Mode, and verify that 
> your linux kernel can address the full system memory.  A 32bit OS can 
> only address 2 to 3.25Gigs of RAM, and a 64bit OS can handle more then 
> 4Gigs.

Eh? A 32-bit Linux OS can easily handle more than 4GB of RAM using PAE. 
Individual processes will be restricted to 2GB of RAM usage, but since 
Apache spawns multiple child processes, each one can do that.

Additionally, it's very unlikely the RAM is being taxed. I have a server 
with only 2GB of RAM and it runs over 100 web sites (I'd imagine close 
to 100 million hits a month) and it has no problems. The RAM usage is 
primarily a factor if your code itself is sucking it all up (i.e. 
loading tons of data into memory from a database, a script processing a 
lot of data in memory, etc).


-- 
Justin Pasher

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message