Handling Heavy Traffic Load

Discussion in 'Web Hosting' started by Darden12, Jan 20, 2010.

  1. #1
    Occasionally, I have a page that receives hundreds of hits in a few minutes' time.

    My concern is this: When traffic reaches this level, my page does not always necessarily load but rather maxes out with a message reading "Max connections reached."

    Like most webmasters, I'm hoping for the day when I get gazillions of visitors, but I now have the feeling that there is going to be a major technological limit to how popular my pages can become, merely because of this page-loading problem during high traffic.

    Question: Is there any relatively inexpensive way to solve this problem? For instance, there is usually one specific page of mine that gets the big hits -- could I get a second host to provide a cheap monthly web presence to which I can redirect people (say, every other site visitor) when my own site is overloaded, so that this popular page would be available on two different servers?

    In short, what do people recommend? My host says all I can do to solve the problem is to buy a special new server package, but it sounds like it would be three times as expensive as what I'm currently paying them, perhaps more.

    Thanks for any info that can help me solve this problem without spending wads of cash!

    Brian

    I will be back from work in about 12 hours, at which point I will be sure to respond to any responses. Thanks.
     
    Darden12, Jan 20, 2010 IP
  2. abhijit

    abhijit Notable Member

    Messages:
    4,094
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    215
    #2
    host your website on two servers and use 4 name server.................so if one is down then other will be working up
     
    abhijit, Jan 20, 2010 IP
  3. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #3
    I would suggest you (or hire someone to) do some tweaking to your config files, to ensure that you get all that you can out of your current hardware setup. What are the current specs of the server, and what kind of site are you running (php/mysql)?
     
    RHS-Chris, Jan 20, 2010 IP
  4. Darden12

    Darden12 Well-Known Member

    Messages:
    107
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #4
    Thanks very much for both responses. I will take them into consideration. Two servers would seem to be a cheap solution compared to the price tag of the expensive solution that my current host is offering. In response to the question, I am running a PHP database-driven site on Linux. Since I have a shared hosting setup, I'm not sure what specs I have access to, but I will look into it.

    Thanks again.
     
    Darden12, Jan 20, 2010 IP
  5. linksale77

    linksale77 Peon

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Allmost site with high traffic use that think, using two server. i agree with that option,
    good luck Darden...
    cheers...
     
    linksale77, Jan 21, 2010 IP
  6. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #6
    Perhaps it might be time to upgrade to a VPS from shared, where you would have control over the server and its resources.
     
    RHS-Chris, Jan 21, 2010 IP
  7. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Depends on what you;re running to serve that page, that site, and how much access you have to the server to make changes.
     
    theapparatus, Jan 21, 2010 IP
  8. Pipert

    Pipert Peon

    Messages:
    114
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you are on a shared host, move to a VPS. You'll be able to install what you want and troubleshoot things. I'd avoid Apache and use a light weight web server such as nginx or lighttpd.
     
    Pipert, Jan 21, 2010 IP