Hi,
I am using the mod_perl module for running .pl and .cgi scripts on my Apache. I have also perl 5 installed on the same server.
This is my server configuration for mod_perl:
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
<Directory /usr/local/apache/cgi-bin>
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
</Files>
<Files *.cgi>
SetHandler perl-script
PerlHandler Apache::Registry
</Files>
</Directory>
Others :
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100
Now The Server thows up an 500 error on some complex execution of CGI scripts, the error thrown is :
[notice] child pid 12175 exit signal Segmentation fault (11)
Is this because of the "PerlChildInitHandler" not set correctly ?. Can anyone help me on this, any information on this well be treasured.
Thank you,
Aejaz
I am using the mod_perl module for running .pl and .cgi scripts on my Apache. I have also perl 5 installed on the same server.
This is my server configuration for mod_perl:
ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/
<Directory /usr/local/apache/cgi-bin>
AllowOverride None
Options +ExecCGI
Order allow,deny
Allow from all
<Files *.pl>
SetHandler perl-script
PerlHandler Apache::Registry
</Files>
<Files *.cgi>
SetHandler perl-script
PerlHandler Apache::Registry
</Files>
</Directory>
Others :
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
MaxRequestsPerChild 100
Now The Server thows up an 500 error on some complex execution of CGI scripts, the error thrown is :
[notice] child pid 12175 exit signal Segmentation fault (11)
Is this because of the "PerlChildInitHandler" not set correctly ?. Can anyone help me on this, any information on this well be treasured.
Thank you,
Aejaz