Timeout php-fpm

I’m trying to install a theme on WordPress and when I import the demo data the system fails, indicating that it has timed out.
I set the timeout to 600 seconds but after 1 minute it still goes into error.
How can i fix it ?

OS type and version CentOS Linux 7.9.2009
Webmin version 2.105
Usermin version 2.005
Virtualmin version 7.9.0
Theme version 21.09.5

Examine the logs. It looks like it might be a result of a database lookup badly written in the imported code (so easy to make this mistake) of course it could be a simple php error like an endless loop. (do/while forever) look in the Mariadb and php logs

If you tell us which theme, someone else on here who uses WP could perhaps test it on their system? but it looks like an upstream problem. has anyone ever tested it?

in php logs i’ve this → [proxy_fcgi:error] [pid 24710] (70007)The timeout specified has expired…

I’ve tested on another system and works fine, so i think that virtualmin don’t save the correct value.
Also phpinfo it’s ok but…

I’ve read this solution
“add set_time_limit(0); to wp-config.php to prevent script execution from timing out”

Also your OS is getting old.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.