Mobile app version of vmapp.org
Login or Join
Gonzalez347

: Tracking 502 bad gateway error 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.

@Gonzalez347

Posted in: #Nginx #Server #WebHosting #Wordpress

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?

P.S.

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

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gonzalez347

1 Comments

Sorted by latest first Latest Oldest Best

 

@Ann8826881

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. 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.
wordpress.org/plugins/tags/cache wordpress.org/plugins/tags/object-cache

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme