The most important point is to be aware of that one only process consumes little memory, but if our Apache installation requires lots of processes, the total memory grabbed by Apache will be huge. So if we get hold of turning down the initial memory with which a process is created, afterwards it will run lighter and besides, we will have that free memory available in order to be allocated for other things.
Forwards the response body to an external program before sending it out to the client.
# LoadModule ext_filter_module modules/mod_ext_filter.so
Filters files before delivering them to the client.
# LoadModule include_module modules/mod_include.so
Provides a comprehensive overview of the web server configuration.
# LoadModule info_module modules/mod_info.so
Improves the performance of websites by pooling LDAP connections and caching responses.
# LoadModule ldap_module modules/mod_ldap.so
Logs the input and output number of bytes received/sent per request.
# LoadModule logio_module modules/mod_logio.so
Puts into action a a proxy/gateway.
# LoadModule proxy_module modules/mod_proxy.so # LoadModule proxy_balancer_module modules/mod_proxy_balancer.so # LoadModule proxy_ftp_module modules/mod_proxy_ftp.so # LoadModule proxy_http_module modules/mod_proxy_http.so # LoadModule proxy_ajp_module modules/mod_proxy_ajp.so # LoadModule proxy_connect_module modules/mod_proxy_connect.so
Tries to correct erroneous URLs that users could have typed by overlooking capitalization and allowing up to one misspelling.
# LoadModule speling_module modules/mod_speling.so
Provides statistics about the activity and performance of the web server.
# LoadModule status_module modules/mod_status.so
Allows CGI scripts to run as a concrete user and group.
# LoadModule suexec_module modules/mod_suexec.so
Allows user directories can be accessed through the web server.
# LoadModule userdir_module modules/mod_userdir.so
Logs user activity.
# LoadModule usertrack_module modules/mod_usertrack.so
After disabling these modules, the memory used by one Apache process (and owned by apache user) went from 2.02 to 1.46 MB, that is to say, we have gained around 0.6 MB. If you take into account that a large number of processes can be running on the system at any given time, the saved memory might be appreciable. In addition, you have to consider that from now on, a process is much lighter, with what its startup and performance will be much better.