This is probably the wrong place to ask the question, but I'm hoping someone can point me in the right direction.

My perl (v 5.24) intranet site (approx. 175 users) is running apache2 on Debian. Every few weeks, the perl borks out but is fine after reloading apache. The apache error log gives the error:

[:error] [pid 33013:tid 139730578532096] Attempt to reload IO/Handle.p +m aborted.\n Compilation failed in require at /usr/local/lib/x86_64-linux-gnu/perl/ +5.24.1/IO/Socket.pm line 12.\n BEGIN failed--compilation aborted at /usr/local/lib/x86_64-linux-gnu/p +erl/5.24.1/IO/Socket.pm line 12.\n Compilation failed in require at /usr/local/share/perl/5.24.1/Net/LDAP +.pm line 9.\n BEGIN failed--compilation aborted at /usr/local/share/perl/5.24.1/Net/ +LDAP.pm line 9.\n Compilation failed in require at /var/www/html/perl/modules/Intranet/D +ocTracker.pm line 5.\n BEGIN failed--compilation aborted at /var/www/html/perl/modules/Intran +et/DocTracker.pm line 5.\n Compilation failed in require at /usr/share/perl/5.24/base.pm line 136 +.\n \t...propagated at /usr/share/perl/5.24/base.pm line 158.\n BEGIN failed--compilation aborted at /var/www/html/perl/intranet/user/ +doctracker.pl line 8.\n
The filenames change, but it's always the same basic error message. Reloading apache smacks the server back into line and everything is rosy again. ....Until a few weeks later when this happens again. I currently have 11+G of memory. Apache was using 3.xxG before restarting it this morning when it went down to 1.75G.

Any ideas why perl is failing?


In reply to Apache reloads by ksublondie

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.