[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Omaha.pm] Intermittent Perl error...



I've got a Perl CGI script that runs fine 99% of the time. �Occasionally we'll get this error in the web browser:

Status: 500 Content-type: text/html
Software error:
Undefined subroutine &main::MySubroutine called at MyCGI.cgi line 123 � �

The subroutine "MySubroutine" is defined in an included�Perl�module, and just two lines before the script used another subroutine from the same perl module.

I'm asking my server admin to send me the Apache log files (it's a remote server I don't have access to) - is there anything else to look at?

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's Solaris 10, I might have him use some of the DTrace facilities, but unsure about similar tracing on RedHat.

Thanks,
DanL

--
***************** ************* *********** ******* ***** *** **
"Quis custodiet ipsos custodes?"
� � (Who can watch the watchmen?)
� � -- from the Satires of Juvenal
"I do not fear computers, I fear the lack of them."
� � -- Isaac Asimov (Author)
** *** ***** ******* *********** ************* *****************