My site is fairly high traffic. about 20 gigs an hour. 60 requests a
second. Apparently I'm using prefork. Do you think MPMs would be the
better choice? Bill Sargent wrote: Well if you're running the stock Apache, it should work just fine. http://httpd.apache.org/docs/2.0/mpm.html Theres the link to read about MPMs and the different types :) Worker MPM tends to be good for high traffic sites and saves RAM. Prefork is default with Apache (Not sure about precompiled FC4 binaries though). If your sites are not getting a lot of traffic, I recommend prefork because with my experience, its faster. You can determine which one yours uses by running "httpd -l" and you'll see something like this: Compiled in modules: core.c mod_access.c mod_auth.c mod_include.c mod_log_config.c mod_env.c mod_setenvif.c prefork.c http_core.c mod_mime.c mod_status.c mod_autoindex.c mod_asis.c mod_cgi.c mod_negotiation.c mod_dir.c mod_imap.c mod_actions.c mod_userdir.c mod_alias.c mod_so.c As you can see, mine is prefork. It'll say worker.c otherwise. :) Sorry I can't be of much more assistance than that. I don't like precompiled binaries. I prefer to compile my own things because I feel I have more control over things like memory and speed... as in I can compile in what I need and not have things I don't need. :) Thanks, Bill -----Original Message----- From: Marc Perkel [mailto:marc@xxxxxxxxxx] Sent: Tuesday, September 27, 2005 1:35 PM To: users@xxxxxxxxxxxxxxxx Subject: Re: [users@httpd] Apache - High Memory Usage Problem - HELP! Bill Sargent wrote:Did you compile apache yourself? If you did, did you strip the binary Strip --strip-unneeded httpd ? That would make the memory footprint smaller I believe. Stripping libphp4.so as well might save some memory. Are you using worker mpm or prefork? (does worker even work on 64?)Thanks for your response. I'm using the stock Apache RPM that comes with Fedora Core 4 on both servers. What is MPM and PREFORK? Which do I want and why? And how do I tell what I have and set up what I should have? --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx -- Marc Perkel - marc@xxxxxxxxxx Spam Filter: http://www.junkemailfilter.com My Blog: http://marc.perkel.com |