[PLUG] reducing apache memory usage

Robert Anderson riznob at gmail.com
Tue Nov 8 23:30:31 UTC 2005


On 11/7/05, Brent Rieck <bsr at spek.org> wrote:
>
> Keith Lofstrom wrote:
> ...
> > MaxRequestsPerChild 100
> ...
> > Does this look reasonable?
>
> I can't speak to slimming apache down but I would consider increasing
> MaxRequestsPerChild to its former value as it controls the number of
> requests each child handles until it gets killed and a new one started.
> Unless you have a memory leak a value of 1000 is reasonable, though if
> you have a memory leak setting MaxRequestsPerChild to a low number is
> treating the symptom not the problem, but you probably knew that.
>
> There are a few httpds (thttpd, lighttpd, others probably) that are
> smaller than apache and may fit your needs.
>
> --Brent
>
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
>

You may be able to reduce the size of each apache process by not loading
modules that you are not using.

--
Rob Anderson
riznob at gmail.com



More information about the PLUG mailing list