<stab-in-the-dark>

Is the CGI script hanging around? It sounds like the client's losing the connection. Anything in the error log? Especially things like:

[Thu Dec 5 12:19:23 2002] [info] [client 217.33.8.36] (32)Broken pipe +: client stopped connection before send mmap completed

Try logging successful completion of the script somewhere just to double check that it's completing okay. Also, have you tried serving what the script outputs as a plain document to see if that can reproduce the problem?

</stab-in-the-dark>


Update:

Probably worth updating to Apache 1.3.27 anyway. Whole bunch of updates, some of them nasty security holes.


In reply to Re: CGI script random hangs - seemingly Perl or Apache related by adrianh
in thread CGI script random hangs - seemingly Perl or Apache related by tachyon

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.