1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

website went viral, then down, how to avoid?

Discussion in 'Web Design' started by hdaackda, Jul 24, 2015.

  1. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    Hi


    My site crashed today, cause a link went viral on Reddit. Site came on front page of reddit, but since it was down, now reddit has taken it off :(


    What can I do? (cheapest possible options?)


    At the moment, I am on a single dedicated server using Hosting24.com (their Gold membership). I upgraded from silver immediately after 1 month because I knew my use would be heavy.


    I am also using CloudFare cache, and Google's Inpage score is good (in green, above 80).


    What can I do to avoid this in future? I tend to make a lot more viral posts :)


    Also, how to max earnings? (using google adwords.. earning nothingish... cents per day. I have tried a new advertiser but havent recieved a report yet)


    Normally the site is dead(ish), but once a day it gets a spike!!

    Is google cloud a good option? How to utilize it (thy offer 2 months free trial)
    what else?

    Please serious replies only
     
  2. deeguy1

    deeguy1 Regular Member

    Joined:
    Mar 4, 2009
    Messages:
    204
    Likes Received:
    13
    I know the feeling, same thing happened to me last year when I used Rackspace Cloud Sites. With Amazon EC2 and Max CDN I didn't have this issue. People also say good things about Digital Ocean.
     
  3. bmwwebdesign

    bmwwebdesign Regular Member

    Joined:
    Jul 1, 2013
    Messages:
    228
    Likes Received:
    33
    Upgrade your hosting and add a cdn. Also make sure your using a cache plugin if its a wordpress site.
     
  4. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    BTW, these are my current specs (copy pasting)

    [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR]
    Main Domain xxxxHome Directory /home/gadgtecsLast Login From xxxxCPU Usage 0 / 100 %Virtual Memory Usage 20 / 768 MBPhysical Memory Usage 89.8 / 768 MBEntry Processes 1 / 20Number of Processes 1 / 15I/O Usage 0 / 2 MB/sDisk Space Usage 6.02 GB / ∞Monthly Bandwidth Transfer 26.57 GB / ∞
    [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR] [TR="class: row-even"] [/TR] [TR="class: row-odd"] [/TR]
    Email Accounts 12 / ∞Subdomains 10 / ∞Parked Domains 1 / ∞Addon Domains 3 / ∞FTP Accounts 4 / ∞All SQL Databases 4 / ∞MySQL Databases 4Hosting Package GoldServer Name srv68cPanel Version xxxTheme x3Apache Version xxxPHP Version xxxMySQL Version xxArchitecture x86_64Operating System linuxDedicated IP Address xxxxxPath to sendmail /usr/sbin/sendmailPath to Perl /usr/bin/perlPerl Version xxxKernel Version xxxcPanel Pro 1.0 (RC1)Service Status View


    Currently its idle
     
  5. V

    V Elite Member

    Joined:
    May 18, 2012
    Messages:
    2,294
    Likes Received:
    2,590
    Occupation:
    Student
    Location:
    /tmp
    I never liked hosting24, I don't understand why are you using their servers :p There are plenty of good hosting providers and dedicated server providers here, on BHW. Poweruphosting is one of the best, you should give them a try. Your specs don't look impressive to me tbh. If you're still encountering problem with this config, you better get more RAM as well.
     
    • Thanks Thanks x 2
  6. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    suggest me one!

    i went with hosting24 because they were CHEAP!! (i still hav 16 months left. cost me 5$/month)
     
  7. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    approx cost/month?


    also, is it possible to load share (get 2 servers, 1 domain), if yes, how?
     
  8. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    using cloudfare cdn (free version), cache plugin also using.
    upgrading from hosting24 is not a good idea... next package is tooo expensive
     
  9. Adam Xtubeage

    Adam Xtubeage Junior Member

    Joined:
    Jan 31, 2012
    Messages:
    154
    Likes Received:
    80
    Gender:
    Male
    Occupation:
    IM & ENJOYING LIFE & STUDYING....!
    Location:
    PARADISE
    check this: http://www.host-stage.net/

    Have been using them for some time now and their service is really good..:)

    Hope this helps!

    Regards,
     
    • Thanks Thanks x 1
  10. puneetas3

    puneetas3 Senior Member

    Joined:
    Jan 8, 2012
    Messages:
    896
    Likes Received:
    387
    Put nginx in front of Apache. If you are using php 5.4 then install APC with around 40MB allocation per WP installation on server (and atleast 128 MB). If you are using php 5.5 or 5.6, then you don't need to use APC. Add varnish and configure W3 Total cache in WP to use varnish. Your bottleneck is Apache. You can try upgrading to 1GB or 2GB Ram, but in my opinion 768 MB ram can deliver great results if optimized correctly. I have an ad server with that much RAM delivering ads at 500-800 hits/min without even reaching the maximum resources. You need to check what is limiting your server the next time it gets a spike in traffic. Is it Ram or CPU?
     
    • Thanks Thanks x 1
  11. IMpossible

    IMpossible Supreme Member

    Joined:
    Apr 15, 2012
    Messages:
    1,344
    Likes Received:
    302
    Occupation:
    Internet Marketing Guru
    Location:
    Somewhere on earth
    What's your server's uplink speed? 100mbps shared port?
     
    • Thanks Thanks x 1
  12. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    no idea..I only know the stats I have copy pasted in the second post
     
  13. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    No idea what nginx is.. Both the RAM AND CPU reach red (even 100%)
    W3 total cache is installed and optimized..
    looking for a decent server (cheap) with 2gb ram...
     
  14. hdaackda

    hdaackda Registered Member

    Joined:
    Jun 1, 2015
    Messages:
    65
    Likes Received:
    9
    the specs i want (2gb, 2giga) cost 25$/month.. too high for me.. not earning anything at the moment :(
     
  15. Paul1427

    Paul1427 Registered Member

    Joined:
    Mar 24, 2012
    Messages:
    88
    Likes Received:
    2
    Gender:
    Male
  16. MrBlue

    MrBlue Senior Member

    Joined:
    Dec 18, 2009
    Messages:
    974
    Likes Received:
    680
    Occupation:
    Web/Bot Developer
    Unfortunately it takes money to make money.
     
    • Thanks Thanks x 1