Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 moved my Wordpress site to WP Engine and now I constantly get 502 errors. I spoke with support and they said that its because I have a lot of DB queries. I ran some tests and my frontpage only has 95 queries and page size is about 500kb. Most inner pages are around 60 queries. All queries are very short.

Some people tell me its common with WP Engine because they run nginx.

Why do I keep getting these errors and is there a way to track how many of them happen on daily basis?


WP Engine log is empty so cant see the 502's there.

share|improve this question
What is your site address? – eyoung100 May 30 '14 at 17:12
up vote 1 down vote accepted

The only way you would be able to track the 502 errors is if you had access to the Nginx server config file. Other than that you may want to try some caching plugins to lighten up the database load. I've recently installed Memcached Redux and noticed a performance boost. https://wordpress.org/plugins/memcached-redux/

Your support contact at WP Engine should be able to guide you toward some caching plugins that they recommend and approve of for their platform.



share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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