You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Robert Jenks <ro...@physia.com> on 2000/03/30 18:03:20 UTC
Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl 1.22
/ perl 5.005_03 / IE 5
I'm having a very strange problem. I'm running a very large application
under apache/mod_perl (100+ modules; httpd children grow to 40+MB). The
application uses Apache::DBI (DBD::Oracle) & CGI.pm, so I have it running as
a handler and everything works fine.... except... :)
If the first request to httpd comes from IE5 to the web root, the child
httpd process will segfault. However from any other client I've tried (
Netscape Comm. and "telnet 0 80 GET /" it works fine and doesn't segfault.
Even stranger, if I point IE5 at "/perl-status?inc", and then at "/" it
doesn't segfault (from that point forward it doesn't segfault; even if it
hits a new child httpd).
I haven't been able to isolate the problem because I haven't been able to
get apache to give me a core file. I've tried the "ulimit -c unlimited"
without success. Any hints, RwhatFM, etc????
My build script is attached. (which includes building mod_ssl, but this even
happened before I added mod_ssl)
Thanks in advance...
--
Robert Jenks
---------httpd.conf------------
ServerType standalone
ServerRoot "/Suite/apache"
PidFile /Suite/apache/logs/httpd.pid
ScoreBoardFile /Suite/apache/logs/httpd.scoreboard
ResourceConfig /dev/null
AccessConfig /dev/null
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 3
StartServers 3
MaxClients 3
MaxRequestsPerChild 0
ExtendedStatus on
Port 80
User nobody
Group nobody
ServerAdmin webmaster@mydomain.com
ServerName server.mydomain.com
DocumentRoot /Suite/AppSites/practice
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "/Suite/AppSites/practice">
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
UseCanonicalName On
<IfModule mod_mime.c>
TypesConfig /Suite/apache/conf/mime.types
</IfModule>
DefaultType text/plain
<IfModule mod_mime_magic.c>
MIMEMagicFile /Suite/apache/conf/magic
</IfModule>
HostnameLookups Off
ErrorLog /Suite/apache/logs/error_log
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\""
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /Suite/apache/logs/access_log common
CustomLog /Suite/apache/logs/referer_log referer
CustomLog /Suite/apache/logs/agent_log agent
ServerSignature Off
<IfModule mod_setenvif.c>
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>
PerlInitHandler Apache::StatINC
PerlSetEnv ORACLE_HOME /u01/app/oracle/product/8.1.5
PerlRequire conf/startup.pl
PerlFreshRestart On
<Location />
SetHandler perl-script
PerlHandler Apache::Suite::Practice
Options +ExecCGI
</Location>
<Location /images>
SetHandler default-handler
</Location>
<Location /lib>
SetHandler default-handler
</Location>
<Location /resources>
SetHandler default-handler
</Location>
<Location /server-status>
SetHandler server-status
</Location>
<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
</Location>
---------httpd.conf------------
<<install_httpd.sh>>
Re: Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl
1.22 / perl 5.005_03 / IE 5
Posted by Doug MacEachern <do...@covalent.net>.
On Thu, 30 Mar 2000, Robert Jenks wrote:
> I'm having a very strange problem. I'm running a very large application
> under apache/mod_perl (100+ modules; httpd children grow to 40+MB). The
> application uses Apache::DBI (DBD::Oracle) & CGI.pm, so I have it running as
> a handler and everything works fine.... except... :)
>
> If the first request to httpd comes from IE5 to the web root, the child
> httpd process will segfault. However from any other client I've tried (
> Netscape Comm. and "telnet 0 80 GET /" it works fine and doesn't segfault.
> Even stranger, if I point IE5 at "/perl-status?inc", and then at "/" it
> doesn't segfault (from that point forward it doesn't segfault; even if it
> hits a new child httpd).
see the SUPPORT doc for hints on getting a stacktrace, that should help
find the culprit.