php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26081 Broken pipo by incomplete headers
Submitted: 2003-11-02 11:51 UTC Modified: 2003-11-17 18:15 UTC
Votes:2
Avg. Score:4.5 ± 0.5
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: php at searchystats dot com Assigned:
Status: No Feedback Package: CGI/CLI related
PHP Version: 4.3.4RC3 OS: FreeBSD 4.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
50 - 38 = ?
Subscribe to this entry?

 
 [2003-11-02 11:51 UTC] php at searchystats dot com
Description:
------------
The problem is that php as FastCGI application occasionaly fails and produces this error log:

[Sun Nov  2 17:40:17 2003] [error] [client %ip%] (32)Broken pipe: FastCGI: comm with server "/opt/guide/ppi.searchy.net/cgi-bin/php.fcgi" aborted: write failed
[Sun Nov  2 17:40:17 2003] [error] [client %ip%] FastCGI: incomplete headers (0 bytes) received from server "/opt/guide/ppi.searchy.net/cgi-bin/php.fcgi"

/opt/guide/ppi.searchy.net/cgi-bin/php.fcgi = the binary php compiled with the following configure command: 

./configure --without-apache --enable-fastcgi --enable-force-cgi-redirect --prefix=/usr/local/php-4.3.4RC3-test --with-mysql=/usr/local/mysql --with-openssl

I have not been able to reproduce the problem, it justs occures now and then. The apache configuration is as follows specific to php fastcgi in a virtualhost directive:

FastCgiServer /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi -appConnTimeout 0 -processes 5 -listen-queue-depth 100 -flush
FastCgiConfig -maxProcesses 50 -minProcesses 6 -appConnTimeout 0
AddHandler php-fastcgi .fphp .php4 .php3 .php
Action php-fastcgi /cgi-bin/php.fcgi

Reproduce code:
---------------
*any source code*


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-02 12:00 UTC] edink@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2003-11-17 18:15 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-12-23 08:53 UTC] pmoor at netpeople dot ch
We've had the same problems, using apache 1.3.29 and mod_fastcgi 2.4.0. I could _always_ reproduce the error by sending a manual HTTP/1.1 POST request through telnet. Before sending the Postvars, i waited some seconds, and then entered some random data. There was always this "broken pipe"-thing happening.

Now we upgraded to fastcgi version 2.4.2 and it works just perfectly!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC