• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Fatal error: Maximum execution time of 240 seconds exceeded in /usr/local/sitebuil...

AlexandreS

New Pleskian
Hello,

Performance problems, again.

I have one site with several pages, and I can't get it published.
I have already applied the "timeout patch", with success: http://kb.odin.com/en/5373

I have also tried to put a timeout value even larger (360), both in php.ini and httpd.conf, but now I'm receiving this error in the publish step in SiteBuilder:

Fatal error: Maximum execution time of 240 seconds exceeded in /usr/local/sitebuilder/include/Base/ORM/BrokerFactory.php on line 48

And this is what is logged in the /var/log/httpd/sitebuilder_error.log file:

[Tue Jul 20 13:22:58 2010] [error] [client 200.186.180.201] PHP Fatal error: Maximum execution time of 240 seconds exceeded in /usr/local/sitebuilder/include/Base/ORM/BrokerFactory.php on line 48, referer: http://sitebuilder1.zooming.com.br/Wizard/Publish

I have restarted apache and mysql, and even the server, but the limit stills fixed in 240.

File I've edited:

/opt/php52/etc/php.ini

max_execution_time = 360 ; Maximum execution time of each script, in seconds
max_input_time = 360 ; Maximum amount of time each script may spend parsing request data
default_socket_timeout = 240

/etc/php.ini

max_execution_time = 360 ; Maximum execution time of each script, in seconds
max_input_time = 360 ; Maximum amount of time each script may spend parsing request data

/etc/httpd/conf/httpd.conf

Timeout 360

Can anyone help me please?

Thank you!
Alexandre
 
Alexandre,

Try to setup similar values on your server:

# less /opt/php52/etc/php.ini |grep exec
max_execution_time = 3600; Maximum execution time of each script, in seconds

# less /etc/httpd/conf/httpd.conf |grep Timeout
Timeout 2400

# cat /usr/local/sitebuilder/etc/php.ini | grep max_execution_time
max_execution_time = 360

After that restart apache and check publication one more time. Such big values could help to understand if this is really timeout issue or not. I assume it should help to resolve the situation.
 
Back
Top