On Fri, Jun 21, 2002 at 02:25:18PM +0200, Martin Blapp wrote: > > Hi Daniel, > > Port is /usr/ports/www/apache2, compiled with: > > make WITH_MPM=perchild FORCE_THREADING_MPM=yes install > > Note that this problem happens with ALL threaded MPM's. > > bash-2.05a# ps -aux | grep httpd > root 96690 0.0 0.4 5800 3944 ?? Ss 2:13PM 0:00.01 httpd > www 96691 0.0 0.4 5800 3980 ?? S 2:13PM 0:00.00 httpd > > bash-2.05a# telnet localhost 80 > Trying ::1... > Connected to localhost. > Escape character is '^]'. > GET / HTTP/1.0 > > and there it hangs. > > Gdb only shows: > > PID 96690 > > #0 0x282b2808 in _thread_sys_poll () from /usr/lib/libc_r.so.4 > #1 0x282b177e in thread_kern_poll (wait_reqd=2) > at /usr/src/lib/libc_r/uthread/uthread_kern.c:829 > #2 0x282b0dea in _thread_kern_scheduler () > at /usr/src/lib/libc_r/uthread/uthread_kern.c:482 > #3 0x0 in ?? ()
That's the normal condition if it beleaves no thread is runnable. The question is which of the following aply: 1. an event to a a thread into running state was missed. 2. apache2 deadlocked itself because it makes wrong assumptions about timing, ... 3. something else. If the apache team could exclude case 2 for shure they should be able to tell what went wrong with FreeBSDs implementation. At the beginning of the year I had an apache2 with mod_php4 running on a 4.5-RC1 alpha, but it wasted CPU cycles because one thread was continuously runnable so I had to revert back to apache1. -- B.Walter COSMO-Project http://www.cosmo-project.de [EMAIL PROTECTED] Usergroup [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message