Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2005 15:29:05 -0400
From:      David Banning <david+dated+1119209345.99f472@skytracker.ca>
To:        questions@freebsd.org
Subject:   Re: httpd and memory usage
Message-ID:  <20050614192905.GB65187@skytracker.ca>
In-Reply-To: <20050614160407.GA4819@voi.aagh.net>
References:  <20050611142103.GA77709@skytracker.ca> <20050614160407.GA4819@voi.aagh.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> Moving things like mod_php and mod_perl stuff to FastCGI avoids each
> httpd having a copy of the interpreter and its various data structures
> each, and segments the memory of the interpreters outside httpd so it's
> easier to see what's using the memory; you'll have fewer copies running
> too, since the static:dynamic request ratio isn't normally 1:1.
> 
> Commenting out unused modules in httpd.conf will save some memory.
> 
> You might also consider switching to something like lighttpd, which uses
> a single process that's generally about 1/3 the size of an equivilent
> httpd process.

I like these ideas. Thanks. What is the downside, if any, to using
lighttpd? Is it difficult to configure?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050614192905.GB65187>