Re: tulip log (additional detail: single-threaded httpd)

From: Clayton Weaver (cgweav@eskimo.com)
Date: Fri Dec 01 2000 - 04:44:31 EST


Note: if anyone else is wondering what may be deadlocking 2.2.17+
in the context of http connects over ethernet (assuming that it is not the
ethernet driver itself): it is also not the httpd server's use of linux
kernel threads (wn is single threaded). And there isn't much going
on in the background when this is tested. A bunch of daemons are
running, but only the k*d (kupdated, kflushd, kpiod, kswapd, klogd)
and utmpd besides the httpd server itself ever run during the test.

Tests were conducted both with inetd handling the http connect and with
wnsd listening on the http port directly, no difference.

Unless one of those k*d daemons uses kernel threads, kernel threads
exported to user space are not possibly the source of the deadlock.

(Might have looked that way due to the stack corruption in the httpd
parent that strace seems to see a few connects before the kernel
deadlock.)

Regards,

Clayton Weaver
<mailto:cgweav@eskimo.com>
(Seattle)

"Everybody's ignorant, just in different subjects." Will Rogers

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Dec 07 2000 - 21:00:07 EST