Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a share hosting, and I charge 100$/year to host company websites. Those websites have a maximum of 2000 person per month access onto the site, mostly Wordpress. So everything is fine until a person in Facebook, with 300000 friends talk about the website. Even if just 10% go see the site, it's 30,000 people at the same time accessing the site and, the site crashed. Then after 1 hour, it's back on...

So the question, how best to cope with that ?

share|improve this question

closed as not constructive by Michael Hampton, HopelessN00b, Iain Aug 21 '12 at 20:01

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

what do you mean by "crashed"? What exactly happened? Was something killed by OOM? was it just unusably slow? – stew Aug 21 '12 at 19:44
You need to introduce layers of cache to all the wordpress websites affected. For example, Varnish and modified Wordpress headers can speed up the website up to 1GBps output without crashing, you just move varnish to another ip number and the domains, and forward traffic to wordpress server. – Andrew Smith Aug 21 '12 at 19:51
On shared hosting you cannot "varnish" anything... your not a that level. and the crash said : maximum ressources used, try again later ! – menardmam Aug 21 '12 at 19:58
@menardmam: Your question isn't a good fit for this site. We would normally expect questions to come from people who have the atuthority and administrative privileges to "fix" the "problem" which precludes users of shared hosting. – Iain Aug 21 '12 at 20:04
up vote 3 down vote accepted

how to cope with a 10 000 person accession server in one hour?

Design a solution that can handle the load spikes. 10,000 hits in an hour is really only 167 requests per second. That's a decent amount, but it's not a massive hurdle to overcome.

Profile your app. See what part dies when this happens. Fix it.

share|improve this answer
profiling apps... i have no idea what this is ! – menardmam Aug 21 '12 at 19:31
@menardmam How are you a programmer and don't know how to profile them? Itsn't that Programming 101? – Brent Pabst Aug 21 '12 at 19:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.