Packages » Apache

ID #1121

Howto reduce the memory footprint of Apache

To reduce the memory footprint of Apache consider to remove the loading of the mod_mp3 and mod_perl modules. This can quite easy be accomplished by commenting out a few lines from your httpd.conf file:


#LoadModule mp3_module libexec/mod_mp3.so

#LoadModule perl_module        libexec/libperl.so

#AddModule mod_mp3.c

#AddModule mod_perl.c


save changes and restart Apache with rc_httpd restart.

On a 0.2.7 test machine this dropped the memory footprint with 1 to 2 Mb per started httpd process.

Last update: 2004-11-28 17:09
Author: dingetje
Revision: 1.0

change language
 

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 4 from 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry