Is anyone else having trouble connecting to the website lately? I've been off and on getting 502 Bad Gateway, and slow loading, sometimes timeout too. I'm completely sure it isn't my own network at fault, as this is the only site I have such issues with.
The server tends to do that. For some reason it has been slowly increasing in frequency over the last few years.
This has been a problem for a long time.
If I am not wrong (probably I am) main tpt website delegates some things to other servers like catserv.powdertoy.co.uk or secret servers, if the powdertoy server recives a wrong or invalid answer it will reply with 502 error. Maybe the server recives a little overload and sends a little error and powdertoy.co.uk, to no leak or send weird responses ends connection with error 502 meaning the gateway (powdertoy.co.uk) had an error.
jacob1:
@io (View Post)
The actual problem (i'm going to use all the wrong words here) is most likely just disk lag. When it can't read/write to the disk it goes down until the disk lag goes away. That's because all the http workers freeze waiting to finish and there are no new ones to handle any requests, so you get 502 (or 504 / timeout sometimes). That's also why sometimes things like comments or posts did really go through if you get that, it does eventually finish one of the requests (as long as you didn't get 502)
So basically, an I/O bottleneck?