Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: MrAndresson - helmikuu 10, 2005, 10:29:13 AP

Otsikko: Segmentation faults in apache log
Kirjoitti: MrAndresson - helmikuu 10, 2005, 10:29:13 AP
Hello, I'm a happy user of your forum but I have some problems hosting it.
The site keeps giving segmentation faults in apache. I'm running on debian
bf2.4 stable.  PHP 4.1.2, MySQL 3.23.49 and Apache 1.3.26 with the required
settings. In the apache error-log there are many seg-faults (11). I've
checked my hardware en memory and when I shutdown the forum, the seg-fault
don't appear anymore. Is this a known problem? If so, is there also a
solution?

my regards, Andres
Otsikko: Re: Segmentation faults in apache log
Kirjoitti: Oldiesmann - helmikuu 10, 2005, 01:21:33 IP
More info on segmentation faults:

http://cs-www.bu.edu/help/unix/segmentation_fault.html

You should probably discuss this with your host.
Otsikko: Re: Segmentation faults in apache log
Kirjoitti: Ben_S - helmikuu 10, 2005, 01:23:37 IP
Nope, its not normal and any reason why you are so out of date on php / mysql / apache?
Otsikko: Re: Segmentation faults in apache log
Kirjoitti: MrAndresson - helmikuu 10, 2005, 04:32:29 IP
The reason for being out of date is debian. The stable packages contain no newer versions...
Otsikko: Re: Segmentation faults in apache log
Kirjoitti: Ben_S - helmikuu 10, 2005, 06:12:22 IP
They may be what debian term stable, but php 4.1.2 is certainly not stable, SMF will perform a whole lot better under MySQL 4x (MySQL 3x is not considered EOL) and theres been a few security holes in apache so it's now upto 1.3.33.

It may be worth your while compiling them from source, you will end up with a much faster system and I imagine the segfaults will probably go too.
Otsikko: Re: Segmentation faults in apache log
Kirjoitti: [Unknown] - helmikuu 11, 2005, 05:49:53 IP
PHP 4.1.2 has known problems and security holes, and may be known to seg fault.  Upgrading to a newer version of PHP solves this.

MySQL 3.23.x is much slower and less efficient than MySQL 4.0.x.  You are two major releases (4.0.x, 4.1.x) behind, so just moving to 4.0.x wouldn't be a huge step but would cause a lot of gain.

-[Unknown]