Apache crashing constantly

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Apache crashing constantly

Postby christh21 » 13. September 2004 09:22

I setup an old 6x86 166mhz with 96mb RAM with DeLi Linux (based on Slackware 7.1) and XAMPP for Linux. All I need is a console based LINUX and Apache with PHP/MySql.

However, XAMPP's Apache is constantly crashing and I'm having a really hard time figuring out why. The error's in the apache error_log are:
Code: Select all
[Sun Sep 12 12:25:00 2004] [notice] child pid 22146 exit signal Segmentation fault (11)
[Sun Sep 12 12:25:03 2004] [notice] child pid 22171 exit signal Segmentation fault (11)
[Sun Sep 12 12:25:05 2004] [notice] child pid 22183 exit signal Segmentation fault (11)

And
Code: Select all
[Mon Sep 13 01:54:37 2004] [error] child process 893 still did not exit, sending a SIGKILL

As you can see, the errors show up in the log every few seconds. After just a few hours, there are several pages of the same error in the log file.

The only thing I know is that it's not MySql crashing. I've commented out most of the modules in Apache, including SSL (which I don't need), PERL, and CGI. So the problem must be with Apache itself or PHP.

The symptoms are a huge number of httpd processes running, I counted over 125 last crash. It seems since old ones aren't exiting, Apache is just spawning more and more until it stop accepting clients altogether. The KERNEL has only crashes once, but the dump filled up the screen and I could see what caused the kernel crash. There is nothing in /var/adm/syslog that indicates any problems.

Any ideas?
christh21
 
Posts: 11
Joined: 13. September 2004 04:30

Re: Apache crashing constantly

Postby Oswald » 13. September 2004 12:00

christh21 wrote:Any ideas?


Sorry, at the moment not. :( I've never heared about such behaviour of the Apache. Which Linux kernel (version) are you running?

Greetings
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux

Postby christh21 » 13. September 2004 20:34

I'm running 2.2.26. I thought an older kernel / linux version would run better on an older machine.

Does anyone have any suggestions for a minimal Linux Distro for older/low memory machines. All I want is a to turn my old machine into dedicated Apache/PHP webserver, no X, no anything else.
christh21
 
Posts: 11
Joined: 13. September 2004 04:30

Postby Oswald » 14. September 2004 07:09

Good morning christh21!

Kernel 2.2.x is fine. I'm using XAMPP on a 2.2.16 since many month without any problems. Is it possible for you to disable also PHP so we can find out if it's a Apache or a PHP problem?

BTW: Which version of XAMPP do you use?

Greetings
Oswald
User avatar
Oswald
Apache Friends
 
Posts: 2718
Joined: 26. December 2002 19:51
Location: Berlin, Germany
XAMPP Version: 5.5.19
Operating System: Linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests