php-cgi -v
PHP 5.2.5 (cgi-fcgi) (built: Apr 25 2008 08:27:36)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo
lighttpd -v
lighttpd-1.4.18 (ssl) - a light and fast webserver
Build-Date: Feb 2 2008 10:34:29
uname -a
SunOS aaa.joyent.us 5.11 snv_89 i86pc i386 i86pc
---------------------------------------------
static-file.exclude-extensions = (".php", ".pl", ".cgi", ".fcgi")
fastcgi.server = ( ".php" =>
(( "socket" => base + "/lighttpd/php-fastcgi.socket" + var.PID,
"bin-path" => "/opt/local/bin/php-cgi -c /usr/local/etc/php.ini",
"min-procs" => 1,
"max-procs" => 1,
"idle-timeout" => 20,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "16",
"PHP_FCGI_MAX_REQUESTS" => "2500" ),
"bin-copy-environment" => (
"PATH", "SHELL", "USER" ),
"broken-scriptfilename" => "enable"
))
)
---------------------------------------------
Problem:
error_log fills up with these:
(connections.c.321) unexpected end-of-file: 21
with a different number every time
php error log is empty
no 500s are served (and nobody reported one)
Any idea what could be causing this?
Also zlib.compression is broken (when you use it, PHP "forgets" to send
the gzip header)
on 11.07.2008 12:33
on 11.07.2008 18:29
Disabling keep alive apparently fixes it. Or, nearly.

