1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What you suggest to make Apache faster ??

Discussion in 'Apache' started by A.G, Oct 31, 2013.

  1. #1
    Hello,

    I have OpenVZ VPS with CentOS and DirectAdmin and i host few websites on it, i want to reduce cpu load that apache consume, what would you suggest me to do ??

    thanks
     
    Solved! View solution.
    A.G, Oct 31, 2013 IP
  2. matrafox

    matrafox Active Member

    Messages:
    164
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Hello
    You didn't specify your server specs, also you didn't tell us what kind of site you are hosting. If they can support caching then you can install some sort of caching on your server in order to decrease the cpu load. First of all someone should take a look on your server to see how is performing right now .

    If you have root access can you give us some output from this command ?
    free -m
    w ( here I only want to see the load average output )
     
    matrafox, Nov 13, 2013 IP
  3. maestria

    maestria Well-Known Member

    Messages:
    705
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    110
    #3
    consider installing a script called apache booster, it will surely enhance the server performance
     
    maestria, Nov 22, 2013 IP
  4. ABCname.com

    ABCname.com Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Or get rid of Apache and install Nginx :) Or provide us with more information about your environment .
    In other cases - read tutorials for more information
     
    ABCname.com, Dec 6, 2013 IP
  5. #5
    Optimize apache by adding some below entries in httpd.conf file :
    Timeout 90
    KeepAlive On
    MaxKeepAliveRequests 200
    KeepAliveTimeout 5
    StartServers 8
    MinSpareServers 5
    MaxSpareServers 20
    ServerLimit 1200
    MaxClients 1200

    Save and exit and restart apache service
     
    BreezeHost, Dec 9, 2013 IP
  6. tolisd

    tolisd Peon

    Messages:
    224
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Switch on kvm vs server from openvz with the same specs and you will be fine
     
    tolisd, Jan 18, 2014 IP