So, 502. Can you please (seriously) write a post about what your server setup is and what its like to be deal with the rush of traffic. I'll be doing it one day soon and all the info I can get would really help!
Even though it's a very simple script the volume of traffic used up all the memory on the machine leading to server death, then my restart script turned out to be wrong :(
And bonus if it's someone else's failure.