Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm attempting to configure apache to use a bit less memory. I'm wondering what you would consider to be either "heavy memory users" or just totally unnecessary when it comes to the loaded modules. I don't want to do anything yet, but so far I've commented out:

mod_status
mod_info
mod_userdir
mod_cern_meta
mod_asis

I'd love to get apache to run even lighter. Any recommendations? Sample conf files? Thanks!

share|improve this question

migrated from stackoverflow.com Nov 1 '09 at 0:03

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

up vote 4 down vote accepted

Unnecessary is in the eye of the beholder, but the --disable rules in my compile of Apache 2.2 are:

include
filter
charset-lite
negotiation
asis
userdir
env
setenvif
status
autoindex

in addition to the modules that are off by default, and also the auth stuff as I do that entirely through scripts.

share|improve this answer
    
negotiation! took that guy out and "seems" to be much better. –  typeoneerror Nov 3 '09 at 1:33
add comment

My rule of thumb is to not load any modules I'm not using. However, this breaks down some if you're hosting sites controlled by others and need to keep things they might require loaded.

share|improve this answer
    
I'm the only site using this configuration so I can do whatever I like pretty much. –  typeoneerror Oct 31 '09 at 23:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.