I'm getting an intermittent 500 server errors, which is getting more frequent the busier the server is getting.
The trouble is, the only error message I'm getting in the log is:
[error] Died at /usr/lib/perl5/5.8.1/CGI/Carp.pm line 312.
It is occurring across different scripts but when I reload the page it will execute as expected.
My setup is:
dual xeon running fedora
perl v5.8.1 built for i386-linux-thread-multi
Apache/1.3.29
mod_perl/1.29
mysql-3.23.58


in httpd.conf I have:
PerlModule Apache::DBI
PerlRequire /home/websites/apache_startup.pl

<VirtualHost ...>
        <Location /cgi-bin>
        SetHandler perl-script
        PerlHandler Apache::Registry
        Options +ExecCGI
</Location>

</VirtualHost>


/home/websites/apache_startup.pl contains: #! /usr/bin/perl use strict;

use Apache::Registry ();
use CGI (); CGI->compile(qw(header param));
use DBI ();
use DBD::mysql ();
use HTML::Template ();

Is this configuration OK?
I'm using -w in all scripts and of course use strict; All variables are declared locally to each script.


What is the best way to track this kind of error down?

Cheers
Kev.


-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to