Subject: apache unstability
To: None <netbsd-users@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: netbsd-users
Date: 03/07/2003 16:56:32
Hi all

I rencently upgraded Apache because of the recent PHP security hole. Since that
day, my httpd processes get hundred of SIGSEGV a day. Sometime, the httpd 
master process even dies, routhly every 3 days. I had to set uo a crontab to 
relaunch apache if it died. 

The crashes do not aloways happen at the same place. Here are two backtrace
collected from the httpd core dump:
#0  0x48a0d954 in ?? ()
#1  0x807fb8e in clean_parent_exit ()
#2  0x8082231 in standalone_main ()
#3  0x808276f in main ()
#4  0x8051f30 in ___start ()

#0  0x48a17e6c in pthread_rwlockattr_init () from /usr/pkg/lib/libpthread.so.14
#1  0x8081ab3 in startup_children ()
#2  0x8081f95 in standalone_main ()
#3  0x808276f in main ()
#4  0x8051f30 in ___start ()

here are the packages I use around apache:

ap-php-4.2.3       ap-xslt-1.1nb3
ap-ssl-2.8.12nb1   apache-1.3.27nb3
php-4.2.3nb2              php-pcre-4.2.3            php-wddx-4.2.3
php-domxml-4.2.3nb1       php-pdflib-4.2.3          php-xml-4.2.3
php-gd-4.2.3              php-pgsql-4.2.3nb1        php-xslt-4.2.3
php-gettext-4.1.2         php-session-4.2.3

I don't think it is hardware related, since other processes are fine. 
Anyone getting the same problems? Any idea how to get rid of this?

-- 
Emmanuel Dreyfus                             
manu@netbsd.org