Upstream Timed Out – PHP FPM – Big WordPress Site
-
I have set up a multisite network (subfolders) with around 30 multisites. In one of the multisites, I have around 200.000 posts. This is the multisite causing the timeout problems related to PHP FPM.
When trying to edit a page on that multisite, the request takes forever until it shows a 504 Gateway Time-out error. Trying to edit a post is no issue, but trying to edit a page results in a timeout. No idea what is the difference between one or another.
This only happens on that multisite. Multisites with less posts (one that has 40.000 posts), work as expected. So I guess the problem has to do with how database & PHP FPM work together.
The error is the following:
2020/05/07 17:32:26 [error] 1791#1791: *1372 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 123.123.123.123, server: website.com, request: "GET /en/wp-admin/post.php?post=90&action=edit HTTP/1.1", upstream: "fastcgi://unix:/run/php73-php-fpm-website.com.sock", host: "website.com", referrer: "https://website.com/en/wp-admin/edit.php?post_type=page"
Any idea about where should I start looking into?
- This topic was modified 4 years, 10 months ago by .
- The topic ‘Upstream Timed Out – PHP FPM – Big WordPress Site’ is closed to new replies.