We are a bunch of mobile app programmers and have minimal experience in hosting high availability servers. We just launched a baseball app on iPhone that lets you follow any of the games. It is pretty cool but we were not expecting the traffic we are getting.
We have the latest install of the desktop Hardy Heron on a 2x dual core opteron 275, 4Gb, 80Gb IBM server. It is doing nothing much more than running apache2.2.3. The server is installed in a San Jose colo with a 1Gb fiber pipe so bandwidth should not be an issue.
Everything crashed badly today around 7pm EST and our 3 backup servers went down as well. We tinkered with the Apache2 conf file increasing the Max Clients to 400 and threads per child to 25. After a restart everything was good for about 1 hour then the machine itself crashed. Again all the backups that took the load also failed.
Editting the apache2.conf, I have increased the Server Limit to 40, min maxspare threads to 256/512 threads per child to 64 and Max Clients to 2560. It is running ok now but it is getting late in the night so the load is probably off a bit.
Can anyone advise me on what we can do better here or where I can go for more help? The documentation wasn't very helpful. I am guessing that we had a lot of iPhone users hammer us badly and it will likely repeat tomorrow.
The server cpu avg is only around 5% and 75% memory free so looking at the machine you wouldn't think there would be a problem.
Thanks in advance. The app name if anyone is interested is LiveSportz.
Bookmarks