The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache Optimization

Discussion in 'EasyApache' started by glansing, Aug 6, 2005.

  1. glansing

    glansing Active Member

    Joined:
    Jun 3, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I've been doing some searching on optimizing apache, more specifically its memory usage. Each process is using between 12 and 16 MB of RAM.

    Many people have suggested disabling unused modules, there are a few modules that I want installed, but out of the ones listed which ones would be safe to disable?

    Thanks.

    Current Modules
    Code:
    LoadModule rewrite_module     libexec/mod_rewrite.so
    LoadModule bwlimited_module   libexec/mod_bwlimited.so
    LoadModule bytes_log_module   libexec/mod_log_bytes.so
    LoadModule auth_passthrough_module libexec/mod_auth_passthrough.so
    LoadModule php5_module        libexec/libphp5.so
    LoadModule bandwidth_module        libexec/mod_bandwidth.so
    LoadModule security_module    libexec/mod_security.so
    LoadModule fastcgi_module     libexec/mod_fastcgi.so
    
    #  Reconstruction of the complete module list from all available modules
    #  (static and shared ones) to achieve correct module execution order.
    #  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
    ClearModuleList
    AddModule mod_env.c
    AddModule mod_log_config.c
    AddModule mod_mime.c
    AddModule mod_negotiation.c
    AddModule mod_status.c
    AddModule mod_include.c
    AddModule mod_autoindex.c
    AddModule mod_dir.c
    AddModule mod_cgi.c
    AddModule mod_asis.c
    AddModule mod_imap.c
    AddModule mod_actions.c
    AddModule mod_userdir.c
    AddModule mod_alias.c
    AddModule mod_rewrite.c
    AddModule mod_access.c
    AddModule mod_auth.c
    AddModule mod_so.c
    AddModule mod_setenvif.c
    <IfDefine SSL>
    AddModule mod_ssl.c
    </IfDefine>
    #AddModule mod_frontpage.c
    AddModule mod_bwlimited.c
    AddModule mod_log_bytes.c
    AddModule mod_auth_passthrough.c
    AddModule mod_php5.c
    AddModule mod_security.c
    AddModule mod_fastcgi.c
    Include "/usr/local/apache/conf/modsec.conf"
    
     
Loading...

Share This Page