Re: /proc-tools hang under 2.3.22

Andrea Arcangeli (andrea@suse.de)
Mon, 18 Oct 1999 02:15:16 +0200 (CEST)


On 18 Oct 1999, Kjetil Torgrim Homme wrote:

>Tools like top and ps from ps-99.4.14 (build 17 from SuSE) hang hard
>when run (ie. won't be killed by -9). Of course, I have init-scripts

I fixed it some minute ago (sorry I overlooked a copy-user call while
fixing assorted races in /proc/):

ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.3/2.3.22/proc-deadlock.gz

>that it can't find support in the kernel. I see others get it to work
>if they compile it into the kernel. I'm running ppp 2.3.10. Do I
>have to upgrade some tools?

Yes, have a look at Documentation/Changes

Note also that 2.3.22 has a deadlock condition the TCP/IP code (precisely
in /proc/net/tcp) that may lead to process not killable too (I triggered
it the first time while running pppstats -w 1).

I fixed such network deadlock too some week ago; this is my fix that will
go fine on the top of 2.3.22:

ftp://ftp.*.kernel.org/pub/linux/kernel/people/andrea/patches/v2.3/2.3.22/patches/v2.3/2.3.18ac7/netlockup-2.gz

Andrea

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