reducing size of apache instances

John Almberg jalmberg at identry.com
Fri Sep 11 19:42:37 UTC 2009


Linda Messerschmidt wrote:
> On Fri, Sep 11, 2009 at 1:48 PM, John Almberg<jalmberg at identry.com>  wrote:
>> As a sanity check... I've been studying these processes all morning. When I
>> use 'top', the column RES shows the amount of RAM used for the process,
>> correct? This is the value I'd like to get down.
>
> How many Apache processes are involved, total?  Because I'm really not
> sure how much success you're going to have with this.  You're at 22mb
> already (by comparison mine are 44mb *without* mod_php).  How much
> improvement are you looking for?  A couple of megs?

Yup... that's about what I got for my troubles. After turning off all 
the unneeded modules, they are now running about 17mb. Not a huge 
improvement...

I definitely need more ram and I have it on order. While I'm waiting for 
it, I figured I'd see what processes I could slim down.

My basic problem is at peak usage times (usually in the afternoon), the 
server starts using swap space, and then response times really bog down.

This is on a 'spare' server that is temporarily in service while one of 
our 'big' servers is out for repair. This 'spare' server only has 1G ram 
and was never really meant for web server service.

It's trying it's best. I'm just trying to lighten the load for it.

-- John


More information about the freebsd-questions mailing list