Ask a Question related to Coldfusion Database Access, Design and Development.
-
Frank de Bot #1
broken pipe error
Hi,
occasionaly I find in my apache logs that fastcgi had a broken pipe
error with php running as fastcgi. the logs are like this:
----> [Wed Nov 5 18:21:31 2003] [error] [client %ip%] (32)Broken pipe:
> FastCGI: comm with server /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi"
> aborted: write failed
> [Wed Nov 5 18:21:31 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 is the php binary itself.
The error occure randomly and can only me reproduced to visit the site
and "have luck" before an error occures (Once I had my site beat up with
simulteanious wget -m's and all request where perfect, next day I view
the site with my browser "ERROR!" and it suddenly occured :-S
the apache config is like this:
--> FastCgiSuexec on--> And in a virtualhost directive:
> FastCgiConfig -multiThreshold 50 -maxProcesses 50 -minProcesses 5
> -maxClassProcesses 50 -startDelay 5 -appConnTimeout 0
> -listen-queue-depth 1000
> FastCgiServer /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi -processes 5
> AddHandler php-fastcgi .fphp .php4 .php3 .php
> Action php-fastcgi /cgi-bin/php.fcgi
php ignores it as a bug report :-/ When I run php as an external fastcgi
application the broken pipe errors seem to seaze, but webpages are
slowing down.
At the moment I'm running PHP4.3.4RC3 on FreeBSD 4.8
Can anyone tell me, WHY those broken pipe error occure and possible
solutions?
Thanks in advanced,
Frank!
Frank de Bot Guest
-
POLLHUP and Broken pipe?
After migrating to CFMX 7.1 (from CFMX 6.1) we experience some performance problems. The server hangs a couple of times during the day or just gets... -
NES Broken Pipe Error
Hi, I have Netscape Enterprise server 3.6.3 and Websphere 2.03 as plugin to it. Intermittently, I am getting broken pipe errors in netscape... -
php as FastCGI error broken pipe
Hi, occasionaly I find in my apache logs that fastcgi had a broken pipe error with php running as fastcgi. the logs are like this: -- --... -
Pipe an email to PHP
I'm sure this question has been visited before, but I've had some troubles searching through the archives. This is at least a two part question.... -
fflush to pipe hangs when child at other end closes the pipe
My AIX 4.3.3 application calls popen(name, "w") to create a pipe to a the named child executable. All is well as long as the child stays active. ... -
Peeky #2
Re: broken pipe error
"Frank de Bot" <ppi_doesnt_like_@spam_inhis_email_searchy.net> wrote in
message news:bobr3c$g5g$1@news2.tilbu1.nb.home.nl...I'm not familiar running PHP as a CGI but... I'm wondering if your scripts> Hi,
>
> occasionaly I find in my apache logs that fastcgi had a broken pipe
> error with php running as fastcgi. the logs are like this:
>
> --> --> > [Wed Nov 5 18:21:31 2003] [error] [client %ip%] (32)Broken pipe:
> > FastCGI: comm with server /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi"
> > aborted: write failed
> > [Wed Nov 5 18:21:31 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 is the php binary itself.
> The error occure randomly and can only me reproduced to visit the site
> and "have luck" before an error occures (Once I had my site beat up with
> simulteanious wget -m's and all request where perfect, next day I view
> the site with my browser "ERROR!" and it suddenly occured :-S
>
> the apache config is like this:
> -->> > FastCgiSuexec on> --> > And in a virtualhost directive:
> > FastCgiConfig -multiThreshold 50 -maxProcesses 50 -minProcesses 5
> > -maxClassProcesses 50 -startDelay 5 -appConnTimeout 0
> > -listen-queue-depth 1000
> > FastCgiServer /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi -processes 5
> > AddHandler php-fastcgi .fphp .php4 .php3 .php
> > Action php-fastcgi /cgi-bin/php.fcgi
>
> php ignores it as a bug report :-/ When I run php as an external fastcgi
> application the broken pipe errors seem to seaze, but webpages are
> slowing down.
> At the moment I'm running PHP4.3.4RC3 on FreeBSD 4.8
>
> Can anyone tell me, WHY those broken pipe error occure and possible
> solutions?
>
> Thanks in advanced,
>
> Frank!
>
are timeing out. If the problem happens on occassions, it might be during
heavy load, and because of heavy load the script takes longer to run.
There is a function set_time_out() I think that you could try and use and
see if it helps fix the problem.
randelld
Peeky Guest
-
Frank de Bot #3
Re: broken pipe error
I've increased set_time_limit to 120, but the broken pipe error remains,
the server wasn't under a big load (5min avg: 0.05). I've once had the
error itself once and it gave a 500 error on the instand I loaded the
page, so I don't think it's caused by timeouts
Peeky wrote:> "Frank de Bot" <ppi_doesnt_like_@spam_inhis_email_searchy.net> wrote in
> message news:bobr3c$g5g$1@news2.tilbu1.nb.home.nl...
>>>>Hi,
>>
>>occasionaly I find in my apache logs that fastcgi had a broken pipe
>>error with php running as fastcgi. the logs are like this:
>>
>>-->>-->> > [Wed Nov 5 18:21:31 2003] [error] [client %ip%] (32)Broken pipe:
>> > FastCGI: comm with server /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi"
>> > aborted: write failed
>> > [Wed Nov 5 18:21:31 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 is the php binary itself.
>>The error occure randomly and can only me reproduced to visit the site
>>and "have luck" before an error occures (Once I had my site beat up with
>>simulteanious wget -m's and all request where perfect, next day I view
>>the site with my browser "ERROR!" and it suddenly occured :-S
>>
>>the apache config is like this:
>>-->>>> > FastCgiSuexec on>>-->> > And in a virtualhost directive:
>> > FastCgiConfig -multiThreshold 50 -maxProcesses 50 -minProcesses 5
>> > -maxClassProcesses 50 -startDelay 5 -appConnTimeout 0
>> > -listen-queue-depth 1000
>> > FastCgiServer /opt/guide/ppi.searchy.net/cgi-bin/php.fcgi -processes 5
>> > AddHandler php-fastcgi .fphp .php4 .php3 .php
>> > Action php-fastcgi /cgi-bin/php.fcgi
>>
>>php ignores it as a bug report :-/ When I run php as an external fastcgi
>>application the broken pipe errors seem to seaze, but webpages are
>>slowing down.
>>At the moment I'm running PHP4.3.4RC3 on FreeBSD 4.8
>>
>>Can anyone tell me, WHY those broken pipe error occure and possible
>>solutions?
>>
>>Thanks in advanced,
>>
>>Frank!
>>
>
> I'm not familiar running PHP as a CGI but... I'm wondering if your scripts
> are timeing out. If the problem happens on occassions, it might be during
> heavy load, and because of heavy load the script takes longer to run.
>
> There is a function set_time_out() I think that you could try and use and
> see if it helps fix the problem.
>
> randelld
>
>Frank de Bot Guest
-
Meenakumari #4
Broken Pipe Error
Hi,
We have been using colfusion MX for quite some time and have been facing
broken pipe error. Following is the exact error message taken out from
coldfusion application logs.
"Error","jrpp-6875","08/10/05","14:34:55","PMG","Operation failed on the data
source named ""eqnew"".Reason of failure ""[Macromedia][Oracle JDBC
Driver]Broken pipe"" The specific sequence of files included or processed is:
/index.cfm "
Last year about the same time we faced this problem and once we updated the
JDBC driver to 3.3, the problem seems to be solved but now it is surfacing
again. When we tried to update the driver ( one which is available for
coldfusion MX 6.1) we got an error while running a query from servlet and hence
we switched back to the old driver. Futher we have checked our server resouces,
firewall logs and network also. Everything seems to be fine.
Appreciate any help to resolve this problem.
Thanking you in Advance.
Meenakumari Guest



Reply With Quote

