Project

General

Profile

Actions

Bug #1466

closed

mod_fastcgi - unexpected end-of-file problem

Added by Anonymous over 16 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_fastcgi
Target version:
ASK QUESTIONS IN Forums:

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

Actions #1

Updated by Anonymous over 16 years ago

your php is crashing.

Actions #2

Updated by Anonymous over 16 years ago

Replying to anonymous:

your php is crashing.

And how do I figure out why that is?

-- lighttpd

Actions #3

Updated by Anonymous over 16 years ago

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

Ticket can be closed.

-- lighttpd

Actions #4

Updated by darix over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid
Actions #5

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom