Please help.

Apache becomes unresponsive when it encounters an error (as reported in the error logs with an associated 500 HTTP error in the access log). I'm running Apache 2.2.29 in a windows environment with mod_perl (Apache/2.2.29 (Win32) mod_apreq2-20090110/2.8.0 mod_perl/2.0.7 Perl/v5.16.3 ). When a request results in an error all subsequent requests fail. The Apache service is still up and running but requires a restart for requests to begin to process again. I've begun by trying to fix any code that would result in an error but it's difficult to account for them all. Could mod_perl be somehow caching error responses? Is there a way to have Apache recover by itself? (This is an old legacy system which I'm trying to support). Any help would be most appreciated.

Here is a sample of one of the errors encountered:

[error] [client 127.0.0.1] encountered object 'true', but neither allo +w_blessed, convert_blessed nor allow_tags settings are enabled (or TO +_JSON/FREEZE method missing) at C:/legacy.pm line 1234.\n

Discipulus added code tags to the error


In reply to Apache becomes unresponsive running mod_perl by Anonymous Monk

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.