You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Eduardo Gimeno <ed...@casagimeno.com> on 2006/02/16 23:50:36 UTC

[users@httpd] httpd segfaults with high load php pages after perl modules compilation

Hello!

This is my first message to the list, and I hope someone can help me...:-(

I have been using Apache Httpd 2.0.40 on RedHat 9.0 for several years. It
was working 100% with PHP and perl.

Recently I accomplished two tasks at the same time which I don't know
which of them caused all my troubles.

1.-I installed SpamAssassin 3.1. This required the compilation of MANY
perl modules
2.-I installed WordPress (kind of PHPNuke), using PHP, as a requirement
for a user.

After than moment, Apache is having these problems:

1 out of 5 times, when I load a medium/high load PHP page (i.e: WordPress
or SquirrelMail), I get a "Page cannot be found" error in the client.
Sometimes this reflects a "[notice] child pid $PID exit signal
Segmentation fault (11)" in http/error_log,  but sometimes it leaves no
print.

>From that moment ahead, httpd proccess begins using >90% CPU forever. The
result in the client is a 2-10 secs delay on each transfer. If I restart
the httpd service, everything returns to the ideal state. Transfers become
fast and CPU usage by httpd remains LOW. But whenever I insist loading
several WordPress or Squirrelmail pages, at the moment I get a "Page
cannot be found" error, everything becomes slow and CPU loading again
until I restart httpd.

On some documentations I read about "Segmentation fault (11)" having some
relation with hardware problems, but there has been no modification in
hardware at all. It all happened right the day I recompiled perl modules
and installed WordPress. Anyhow, I disabled mod_perl for Apache and no
result!.


Any idea? I can't see any other way than resintalling total system...

Any help would be much appreciated!

Best regards!
Eduardo Gimeno.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org