Bug #1466

mod_fastcgi - unexpected end-of-file problem

Added by Anonymous over 6 years ago. Updated almost 6 years ago.

Status:InvalidStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:mod_fastcgi
Target version:1.5.0
Missing in 1.5.x:

Description

Getting a lot of these error messages in my error log.
All PHP modules have been recompiled. I don't see this problem with another install.


2007-11-27 13:51:01: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died):
  pid: 95031 socket: unix:/tmp/php-fastcgi.socket-0
2007-11-27 13:51:01: (mod_fastcgi.c.3269) response already sent out, but backend returned error on socket:
  unix:/tmp/php-fastcgi.socket-0 for /index.php , terminating connection
2007-11-27 13:51:01: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps the fastcgi process died):
  pid: 95031 socket: unix:/tmp/php-fastcgi.socket-0
2007-11-27 13:51:01: (mod_fastcgi.c.3269) response already sent out, but backend returned error on socket:
  unix:/tmp/php-fastcgi.socket-0 for /index.php , terminating connection

Setup:


- FreeBSD 6.2-p8
- Lighttpd 1.4.18 w/ php5 (all freshly compiled)
php5-5.2.5
php5-gettext-5.2.5
php5-mysql-5.2.5
php5-pcre-5.2.5
php5-session-5.2.5
php5-xml-5.2.5
php5-zlib-5.2.5

Config:


# global config
server.modules       = ( "mod_access",
                         "mod_rewrite",
                         "mod_redirect",
                         "mod_evhost",
                         "mod_fastcgi",
                         "mod_accesslog" )

server.pid-file      = "/var/run/lighttpd.pid" 
server.username      = "www" 
server.groupname     = "www" 
server.document-root = "/usr/local/www/construction/" 
accesslog.filename   = "/usr/local/www/logs/lighttpd.access.log" 
server.errorlog      = "/usr/local/www/logs/lighttpd.error.log" 
server.dir-listing   = "enable" 
index-file.names     = ( "index.html", "index.php", "index.htm",
"default.htm" )
url.access-deny      = ( "~", ".inc" )

server.stat-cache-engine = "disable" 

# msie fix
$HTTP["useragent"] =~ "^(.*MSIE.*)|(.*AppleWebKit.*)$" {
  server.max-keep-alive-requests = 0
}

$HTTP["host"] =~ "(www\.)?<site>.(com|net|org)" {
  server.document-root = "/usr/local/www/customer1/<site>" 
}

# all other customers go to
evhost.path-pattern        = "/usr/local/www/%3.%2.%1/" 

# fastcgi module
fastcgi.server             = ( ".php" =>
                               ( "localhost" =>
                                 (
                                   "socket" =>
"/tmp/php-fastcgi.socket",
                                   "bin-path" =>
"/usr/local/bin/php-cgi",
                                   "min-procs" => 1,
                                   "max-procs" => 1,
                                   "bin-environment" => (
                                     "PHP_FCGI_CHILDREN" => "16",
                                     "PHP_FCGI_MAX_REQUESTS" => "1000" 
                                   )
                                 )
                               )
                            )

-- lighttpd

History

#1 Updated by Anonymous over 6 years ago

your php is crashing.

#2 Updated by Anonymous over 6 years ago

Replying to anonymous:

your php is crashing.

And how do I figure out why that is?

-- lighttpd

#3 Updated by Anonymous over 6 years ago

Seems that this is a bug with PHP.
http://bugs.php.net/bug.php?id=43295

Ticket can be closed.

-- lighttpd

#4 Updated by darix over 6 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

#5 Updated by stbuehler almost 6 years ago

  • Status changed from Fixed to Invalid

Also available in: Atom