I&#39;ve got a Perl CGI script that runs fine 99% of the time.  Occasionally we&#39;ll get this error in the web browser:<div><div><br></div><div>Status: 500 Content-type: text/html</div><div>Software error:</div><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>

Undefined subroutine &amp;main::MySubroutine called at MyCGI.cgi line 123    </div></div><div><br></div><div>The subroutine &quot;MySubroutine&quot; is defined in an included Perl module, and just two lines before the script used another subroutine from the same perl module.</div>

<div><br></div><div>I&#39;m asking my server admin to send me the Apache log files (it&#39;s a remote server I don&#39;t have access to) - is there anything else to look at?</div><div><br></div><div>This is either a RedHat or Solaris system - if we suspect RAM or CPU load may be the root cause, what additional logging tools can I use to monitor Apache and/or the Perl CGIs themselves?  If it&#39;s Solaris 10, I might have him use some of the DTrace facilities, but unsure about similar tracing on RedHat.</div>

<div><br></div><div>Thanks,</div><div>DanL</div><br>-- <br>***************** ************* *********** ******* ***** *** **<br>&quot;Quis custodiet ipsos custodes?&quot;<br>    (Who can watch the watchmen?)<br>    -- from the Satires of Juvenal<br>

&quot;I do not fear computers, I fear the lack of them.&quot;<br>    -- Isaac Asimov (Author)<br>** *** ***** ******* *********** ************* *****************<br>
</div>