Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

teaking apache

Discussion in 'EasyApache' started by anand, Aug 30, 2003.

  1. anand

    anand Well-Known Member

    Nov 11, 2002
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    DataCenter Provider
    I am not sure whether this has been discussed earlier or not, i am looking for some apache optimisations. I have a box on which we are getting many hits and i keep on getting cpanel max client reached message as well.

    I tried to search the net and came across that if i increase the max client setting in httpd.conf to 256 it would be more than enough.

    I would like to know if there are any other settings which can make apache to be more tweaked for more hits ?? Support Ticket Number:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. mickeymouse

    mickeymouse Well-Known Member

    Sep 16, 2003
    Likes Received:
    Trophy Points:
    Dear anand,

    You can set your apache configuration as given below for better performance. For that some of the suggections are,
    Configure your apache, with

    MaxClients 256 # absolute minimum, maybe you have to recompile apache
    MinSpareServers 100 # better 150 to 200
    MaxSpareServers 200 # bring it near MaxClients
    Make shure, you have enough resources available, su to apache, make shure
    ulimit -a
    data seg size (kbytes) unlimited
    file size (blocks) unlimited
    max locked memory (kbytes) unlimited
    max memory size (kbytes) unlimited
    open files 65536 (!!)
    pipe size (512 bytes) 8
    stack size (kbytes) unlimited
    cpu time (seconds) unlimited
    max user processes 4095 (!!)
    virtual memory (kbytes) unlimited

    Please try with this setting.

    Regards, Support Ticket Number:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice