Project

General

Profile

more logs with mod_proxy_backend_fastcgi

Added by pioklo about 15 years ago

Hello There !
I need to know how to get more logs when the fastcgi-backend crash (lighttpd 1.5.0 prerelease.r2349 )

We have some buggy code in php and php is crash time to time .

In logs we have

mod_proxy_backend_fastcgi.c.487: (error) looks like the fastcgi-backend (/index.php) terminated before it sent a FIN packet

but this log does not contain the full url.query .We have use Zend framework with the following rewrite :

url.rewrite-once = (
".*\.(js|ico|gif|jpg|png|css|swf|xml|mp3|php).*$" => "$0",
"^(/(raw|tmp)/.*)$" => "$0",
"" => "/index.php")

in source code of mod_proxy_backend_fastcgi.c i can see

ERROR("looks like the fastcgi-backend (%s) terminated before it sent a FIN packet", SAFE_BUF_STR(sess->request_uri));

So how to get more debug information about full query ?

Regards,
Piotr