Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 14:25:18 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Anders Nordby <anders@FreeBSD.org>, <current@FreeBSD.org>, <deischen@FreeBSD.org>
Cc:        Daniel Eischen <eischen@pcnet1.pcnet.com>
Subject:   Re: Apache2 in threaded mode for FreeBSD ...
Message-ID:  <20020621141713.O550-100000@levais.imp.ch>

next in thread | raw e-mail | index | archive | help

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 ?? ()

PID 96691

#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 ?? ()

Martin

PS: I seem to get the same deadlock if in OpenOffice if I open a
website and try to edit it ...

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 061 826 93 00: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621141713.O550-100000>