Good day Monks

So, i have CGI script running under apache. Some pages loads fine, but some loads from time to time.

The pages which loads from time to time is generally generates with big, huge script functions which doing some work before prints something in html(but there is no function that working more than 2.5 seconds, so the timeout between printing in html is not bigger than that(maybe this info helps somehow))

When these pages are not loaded i have got messages in httpd.log like these

Mon Mar 22 08:57:39 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 08:57:44 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 08:57:57 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 08:57:59 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 08:57:59 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 08:58:09 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 08:58:26 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 09:01:03 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 09:01:05 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 09:01:13 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 09:02:45 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 09:02:45 2010] [info] [client 62.176.11.182] (104)Connection reset by peer: core_output_filter: writing data to the + network [Mon Mar 22 09:03:00 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 09:03:02 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 09:03:06 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network [Mon Mar 22 09:03:12 2010] [info] [client 62.176.11.182] (32)Broken pi +pe: core_output_filter: writing data to the network

and so on. The apache is in debug mode, so this messages as all i have. I do not think that it is apache problem. I searched through the internet about these messages, there are a lot of people who has this, but i can`t find solution for me. I have Fedora 12, apache 2.2.14, perl 5.10.

Maybe somebody knows what is going on, because i have no more thoughts, i am newbie in all this, so i think i did not try all ideas to understand where is the problem. I repeat that i have no problem with little and lightweight pages, which only prints html(by same script) or doing little more, but not as big work as the script which generates pages on which everything stops with errors above.


In reply to CGI page sometimes do not loading, apache write error by simak

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.