Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. 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...
    3. 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: -- --...
    4. 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....
    5. 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. ...
  3. #2

    Default 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...
    > 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


    Peeky Guest

  4. #3

    Default 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

  5. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139