Gateway Time-out

We were recently moved to a new server and now a lot of my php pages are generating a 504 Gateway Time-out error. These are legacy pages that need to be updated, so it may be an issue with my code, but I need to know what causes the Time-out before I can start to fix the problem.

Any suggestions??

Here’s the first hit from Google:
http://www.checkupdown.com/status/E504.html

Thanks! Funny I didn’t get that page when I Googled it, but maybe I just missed it.

504 errors on our servers typically mean you’re on a DreamHost PS that’s running nginx, and it’s not running properly. Is that the case for you?