reducing size of apache instances

Chuck Swiger cswiger at mac.com
Fri Sep 11 04:02:23 UTC 2009


On Sep 10, 2009, at 7:58 PM, John Almberg wrote:
> My Apache 2.2 instances are running about 18 Meg each. I've been  
> thinking about doing something to trim these down, and I think  
> tomorrow is the day to take action. They are getting out of hand.
> [ ... ]
> But what about the set that is left after I remove the ones the  
> system needs, and the ones I need? How do I know which ones I can  
> safely turn off? All I can think of is a trial and error process  
> (i.e., turn them off one by one and see if anything breaks.)
>
> Is there a better way?

Yes.  Figure out which modules you actually need, and only enable  
those.  What modules you are using should be reasonably clear from the  
access and error logs-- you should be able to see which URLs you are  
serving, and hence which modules were involved.

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list