On 1/11/2009, at 5:27 PM, Jeremy Bowen wrote:
Hi
I've just upgraded a couple of (old-ish) servers to 4.6 and now
Apache has
started throwing intermittent segfaults on both. (dmesgs appended
below)
I previously upgraded from 4.4 to 4.5 without incident.
Both of these machines have been running faultlessly for months
without issue
so something has gone wrong following the upgrade. Both machines
are serving
different web-sites so I don't believe there is anything specific
to the
php/html code on the sites.
I have the following PHP5 modules loaded in /var/www/conf/php5/*.ini
Server 1
extension=gd.so
extension=mbstring.so
extension=mcrypt.so
extension=mysql.so
extension=pdo_mysql.so
Server2
extension=mcrypt.so
extension=mysql.so
extension=snmp.so
Assuming this is a fault in a loaded module it has to be either
mcrypt or
mysql. I suspect this is mysql as one of the sites served is
basically static
HTML without mysql and this site does not appear to cause a segfault.
Any ideas how I can track down what is causing the problem and more
importantly, how to fix it.
Thanks in advance
Jeremy
[cut]
Can't help you directly, but there are a few questions that might
help ...
1. Upgraded as per instructions - http://www.openbsd.org/faq/
upgrade46.html?
2. Upgrade included packages at the end of those instructions?
3. Applied errata patches (don't think they would make a difference
here?)
4. What version of Apache? 1.3 in base, or 2.x from ports?
5. MySQL and PHP - from packages or ports? What versions?
6. Nothing in the archives can help? e.g. http://marc.info/?
l=openbsd-misc&m=124516871013636&w=2
Thanks.