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.

How to support high traffic sites?

Discussion in 'General Discussion' started by navlem, May 3, 2005.

  1. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I have a server, once one of it sites have a few thousand hits per second, my server load will go really high and my apache and my other services will fail and the server will be very slow...

    I've tested the same site with a few thousand hits per second on other hosts, which says high traffic sites are allowed... and it has no problem at all!

    I want to know how do i go about making my server support high traffic sites?
     
  2. kris1351

    kris1351 Well-Known Member

    Joined:
    Apr 18, 2003
    Messages:
    963
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Lewisville, Tx
    Do a search for Apache optimization here on the forums. There are quite a few topics that match. Also, if you are using mySQL you will want to search for mySQL optimization. One of the first things you can do is disable KeepAlive in httpd.conf and this will help speed up pages from the get go. There are many options to make your server serve pages though. I recommend doing some reading here or hiring one of the great admins here to help you.
     
  3. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Tweak apache
    Tweak mysql


    Other things that are more advanced that would help:

    Recompile your kernel and optimize
    Host images on a second webserver (can be the same physical box) like thttpd that has a very low overhead.



    You might even need better hardware like xeon cpu's, scsi drives, maybe even raid. A busy website needs a good server :)
     
  4. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    i'm running a dual opteron with raid, 2 GB ram...
     
  5. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    I've searched but i do not understand how to do it...

    Can anyone help me with it?

    I'm willing to pay a little.
     
  6. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    try John/eth00 as his tutorials reflect the advanced expertise and I bet he'll be perfect for the job ;)
     
  7. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    just to let you know that it is a VPS
     
  8. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    then you are at the mercy of your host :rolleyes:
     
  9. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    You mean that because it is a VPS, it cannot be done?
     
  10. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    dont really use VPS but am sure you cant recompile the kernel for better performance :eek:
     
  11. navlem

    navlem Active Member

    Joined:
    Aug 17, 2004
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    i can do anything except recompiling kernel...
     
  12. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    You are correct you cannot recompile a kernel on VPS because that is how it talks with the main server. I went ahead and replied to your email :)
     
  13. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    replied to my email ? i didnt send you one
     
  14. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    NC
    cPanel Access Level:
    Root Administrator

    ooops sorry not you the original poster, nice use of quotes on my part ;)
     
  15. gorilla

    gorilla Well-Known Member

    Joined:
    Feb 3, 2004
    Messages:
    699
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney / Australia
    hope u realize that i'm ur business manager now :p
     
Loading...

Share This Page