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.

Increase requests

Discussion in 'General Discussion' started by desiguru, Nov 11, 2009.

  1. desiguru

    desiguru Well-Known Member

    Joined:
    Aug 27, 2008
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6
    How do I increase the number of requests to the server?


     
  2. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
  3. desiguru

    desiguru Well-Known Member

    Joined:
    Aug 27, 2008
    Messages:
    73
    Likes Received:
    0
    Trophy Points:
    6

    I did this by including highperformance.conf into the httpd.conf
     
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    As a general reference for others, the specified example configuration file is located at the following path:
    Code:
    /usr/local/apache/conf/highperformance.conf
    If needing to customize MPM directives I recommend, as an alternative to the above, to use the provided configuration file that is specific to MPM directives (e.g., the Prefork MPM and customizing the directives ServerLimit and MaxClients); this example MPM configuration file is located at the following path that could, optionally, be included into your Apache configuration:
    Code:
    /usr/local/apache/conf/extra/httpd-mpm.conf
    An example configuration entry that could be used to include one of the above may be as follows:
    Code:
    Include "/usr/local/apache/conf/extra/httpd-mpm.conf"
    Additionally, new configuration directives, such as the above example "Include" line, may be added via our provided include files, as found via WHM at the following menu path where they may be configured:

    WHM: Main >> Service Configuration >> Apache Configuration >> Include Editor
    Documentation: IncludeEditor < AllDocumentation/WHMDocs < TWiki

    The same include files are located in the following directory and paths:
    Code:
    /usr/local/apache/conf/includes
    /usr/local/apache/conf/includes/errordocument.conf
    /usr/local/apache/conf/includes/pre_main_global.conf
    /usr/local/apache/conf/includes/pre_main_1.conf
    /usr/local/apache/conf/includes/pre_main_2.conf
    /usr/local/apache/conf/includes/pre_virtualhost_global.conf
    /usr/local/apache/conf/includes/pre_virtualhost_1.conf
    /usr/local/apache/conf/includes/pre_virtualhost_2.conf
    /usr/local/apache/conf/includes/post_virtualhost_global.conf
    /usr/local/apache/conf/includes/post_virtualhost_1.conf
    /usr/local/apache/conf/includes/post_virtualhost_2.conf
    For the include files with a number (1 or 2) in the file name, this directly relates to the version of Apache it would be used for (i.e., v1.x or v2.x); this makes it possible to define directives that may be compatible with only a certain version to load only with the applicable, matching major version of Apache, helping to reduce the likelihood of custom directives from causing compatibility issues if needing to switch between a major version of Apache.

    Related Documentation:
    ApacheConfig < AllDocumentation/WHMDocs < TWiki
    SavingCustomOptions < EasyApache3 < TWiki
     
Loading...

Share This Page