Something heavy overpatched at 2.4.4
Yar <[email protected]>
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm using dynamic fastcgi php servers with follow conf:
FastCgiWrapper on
FastCgiIpcDir /tmp/fastcgi
FastCgiConfig -startDelay 1 -init-start-delay 10 -killInterval 60 -singleThreshold 1 -appConnTimeout 30
SetEnvIf Request_URI ".*/phpfcgi/php$" direct_php_link
ScriptAlias /phpfcgi /users/myuser/php-bin
AddHandler php-fastcgi .php
<Location /phpfcgi/php>
SetHandler fastcgi-script
Order allow,deny
Allow from all
Deny from env=direct_php_link
</Location>
Action php-fastcgi /phpfcgi/php
AddType application/x-httpd-php .php
With new mod_fastcgi 2.4.4 when all php processes terminated after killinterval and i try to exec any .php script throught browser i'll get:
[Mon Nov 12 23:19:54 2007] [error] [client 192.168.1.3] FastCGI: comm with (dynamic) server "/users/myuser/php-bin/php" aborted: (first read) idle timeout (30 sec)
[Mon Nov 12 23:19:54 2007] [error] [client 192.168.1.3] FastCGI: incomplete headers (0 bytes) received from server "/users/myuser/php-bin/php"
Mon Nov 12 23:17:26 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
[Mon Nov 12 23:17:26 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Mon Nov 12 23:17:26 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Mon Nov 12 23:17:26 2007] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Nov 12 23:17:26 2007] [info] Init: Initializing (virtual) servers for SSL
[Mon Nov 12 23:17:26 2007] [info] mod_ssl/2.2.6 compiled against Server: Apache/2.2.6, Library: OpenSSL/0.9.7e-p1
[Mon Nov 12 23:17:26 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/sbin/suexec)
[Mon Nov 12 23:17:26 2007] [info] mod_unique_id: using ip addr 192.168.1.3
[Mon Nov 12 23:17:27 2007] [info] Init: Seeding PRNG with 136 bytes of entropy
[Mon Nov 12 23:17:27 2007] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Mon Nov 12 23:17:27 2007] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Mon Nov 12 23:17:27 2007] [info] Init: Initializing (virtual) servers for SSL
[Mon Nov 12 23:17:27 2007] [info] mod_ssl/2.2.6 compiled against Server: Apache/2.2.6, Library: OpenSSL/0.9.7e-p1
[Mon Nov 12 23:17:27 2007] [info] mod_unique_id: using ip addr 192.168.1.3
[Mon Nov 12 23:17:27 2007] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/local/sbin/suexec)
[Mon Nov 12 23:17:27 2007] [notice] FastCGI: process manager initialized (pid 2301)
[Mon Nov 12 23:17:28 2007] [notice] Apache/2.2.6 (FreeBSD) mod_ssl/2.2.6 OpenSSL/0.9.7e-p1 mod_fastcgi/2.4.4 configured -- resuming normal operations
[Mon Nov 12 23:17:28 2007] [info] Server built: Nov 3 2007 22:37:31
[Mon Nov 12 23:17:28 2007] [debug] prefork.c(991): AcceptMutex: flock (default: flock)
[Mon Nov 12 23:18:04 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (uid 2001, gid 2001) started (pid 2494)
[Mon Nov 12 23:19:31 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (pid 2494) termination signaled
[Mon Nov 12 23:19:31 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (pid 2494) terminated by calling exit with status '0'
[Mon Nov 12 23:19:54 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (uid 2001, gid 2001) restarted (pid 2923)
[Mon Nov 12 23:20:32 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (pid 2923) termination signaled
[Mon Nov 12 23:20:32 2007] [warn] FastCGI: (dynamic) server "/users/myuser/php-bin/php" (pid 2923) terminated by calling exit with status '0'
Before terminating of php processes all scripts works fine.
At mod_fastcgi 2.4.2 with same configs/soft/.php scripts all works fine even after terminating of php processes.
Some info:
httpd -V
Server version: Apache/2.2.6 (FreeBSD)
Server built: Nov 3 2007 22:37:31
Server's Module Magic Number: 20051115:5
Server loaded: APR 1.2.11, APR-Util 1.2.10
Compiled using: APR 1.2.11, APR-Util 1.2.10
Architecture: 32-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
-D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"
php-cgi -v
PHP 5.2.4 (cgi-fcgi) (built: Oct 25 2007 16:24:38)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
OS: FreeBSD 6.3-PRERELEASE
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/