PHP-FPM and max_execution_time

From: Date: Wed, 07 Mar 2012 11:47:49 +0000
Subject: PHP-FPM and max_execution_time
Groups: php.internals 
Request: Send a blank email to internals+get-58735@lists.php.net to get a copy of this message
Hi, before I submit a Bug report I wanted to validate if it's a bug or not. I try to increase the max_execution_time for a test script. What I have done is to set php_admin_value[max_execution_time] = 100 in the config for my pool. The phpinfo() output shows this value for max_execution_time. But the scripts displays an Internal Server Error after 30 seconds. The Apache has no limit sets. Here is the simple script: <?php sleep(40); phpinfo(); The Apache logs prints: FastCGI: comm with server "/home/christian.kaps/fcgi.sock" aborted: idle timeout (30 sec) FastCGI: incomplete headers (0 bytes) received from server "/home/christian.kaps/fcgi.sock" Some settings: PHP 5.3.10 on Gentoo Linux request_terminate_timeout = 0 Are there any gotchas which I haven't observed? Christian

« previous php.internals (#58735) next »