Page 1 of 1

Apache crashing constantly

PostPosted: 13. September 2004 09:22
by christh21
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)

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?

Re: Apache crashing constantly

PostPosted: 13. September 2004 12:00
by Oswald
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?


PostPosted: 13. September 2004 20:34
by christh21
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.

PostPosted: 14. September 2004 07:09
by Oswald
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?