Date: Sat, 11 Jun 2005 14:40:01 -0400 From: Chuck Swiger <cswiger@mac.com> To: David Banning <david+dated+1118931663.a557d5@skytracker.ca> Cc: questions@freebsd.org Subject: Re: httpd and memory usage Message-ID: <42AB3001.1000004@mac.com> In-Reply-To: <20050611142103.GA77709@skytracker.ca> References: <20050611142103.GA77709@skytracker.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
David Banning wrote: > I seem to have a lot of memory being eaten by httpd (part output of top); > > 62310 nobody 18 0 26792K 21516K lockf 0:04 0.00% 0.00% httpd [ ... ] > I have changed the timeout in httpd.conf from 300 to 100 which does not > seem to help. It wouldn't. Apache is normally run in a prefork mode, which means it keeps lots of children (default is 5, plus the master) running all of the time. > Any ideas to have httpd timeout sooner to preserve memory? If you want to reduce the memory usage, avoid using mod_perl or PHP. httpd ought to shrink down to ~5MB or so per process. -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42AB3001.1000004>