Results 1 to 3 of 3

Thread: Apache Modules

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2007
    Posts
    23

    Default Apache Modules

    This is more a comment than a question. Apache comes stock on your Webmin VPSs loading like every module and their mother. On some of the lower end packages (ones with less than 512MB RAM), just loading a second instance of the server to handle a simultaenous request results in the VPS hitting it's upper memory limit.

    Why not pare down the list of pre-loaded modules to the bare minimum and let the user select which modules to load?

    I guess it's just as easy for the VPS admin to go de-select the modules (as I have done), but it's just a comment.

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2007
    Posts
    4

    Default

    Which modules you unloaded?

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2009
    Posts
    4

    Default

    Hi,

    Recompile apache on all server with following options. This will
    decrease load and increase performance.

    -------
    apache 2 or 2.2
    modules : cache, deflate, disk cache, file cache, memcache, headers,
    expire
    -------

    Add following settings to httpd.conf

    ------------------
    Timeout 150
    KeepAlive On
    MaxKeepAliveRequests 100
    KeepAliveTimeout 3
    MinSpareServers 5
    MaxSpareServers 15
    StartServers 5
    MaxClients 250
    MaxRequestsPerChild 600

    <IfModule mod_mem_cache.c>
    CacheEnable mem /
    MCacheSize 4096
    MCacheMaxObjectCount 100
    MCacheMinObjectSize 1
    MCacheMaxObjectSize 2048
    </IfModule>

    Shiju S Thomas
    Admin-Ahead

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •