Trimming down an Apache server, blindfolded
Here’s my notes from trimming a little off the top of an apache server. This was just a quick chop at the default install. I haven’t looked at how the webapps are used or how many connections or the length of time per connection or anything… I’ll go back later and tweak how many threads and processes are started and used. I’m sure i’ll regain a lot more resources out of that.
Removed unused modules from apache configuration, restarted apache
Removed modules: status_module, info_module, proxy_balancer, proxy_ftp, proxy_http, and proxy_connect, restarted apache again
[httpd footprint reduced from 255m to 239m per instance (9+ instances running at all times)]
Removed module: userdir, restarted apache again
[httpd footprint reduced from 239m to 237m]
[Memory usage dropped from 2.295gb to 2.133gb (lighttpd would use less but probably not worth the hassle with all the webapps running on here]