public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* threads & /proc
@ 2001-11-24  5:38 Anton Petrusevich
  2001-11-24  6:19 ` Andrew Morton
  2001-11-24  8:11 ` Peter Zaitsev
  0 siblings, 2 replies; 6+ messages in thread
From: Anton Petrusevich @ 2001-11-24  5:38 UTC (permalink / raw)
  To: linux-kernel

Hi Guys,

Well, I'm a bit surprised that nobody asked it yet. Do we have sound
thread support? I am able to put my linux-2.4.15-pre{1,7} --
definitely, and if I remember right, 2.4.14-pre{7,8} too in some strange
state, when any program like top, killall or ps that wanna get some
information from /proc (even midnight commander if you are trying to
look at state of any process) blocks indefinitely. It goes to unclean
shutdown, for example. kill doesn block, but do nothing. (I tried to
kill processes from ls /proc list). And I see it only after several
[unsuccessful] runs of my multithreaded program. Well, I can't say 
it's a correctly written program, I am still looking for bugs there. 
I don't have 100% way to get into this state, but I suspect some locking
issues with /proc. 
-- 
Anton

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: threads & /proc
@ 2001-11-28  0:18 Luke
  2001-11-28 10:08 ` Luigi Genoni
  0 siblings, 1 reply; 6+ messages in thread
From: Luke @ 2001-11-28  0:18 UTC (permalink / raw)
  To: linux-kernel

Here's some more data about the problem reported by Anton where "ps",
"top", "killall", etc block and "kill" doesn't work.

I have encountered this behaviour with kernels 2.4.14 and 2.4.16 but not
2.4.13 nor 2.4.7 (although 2.4.13 hung this box in a different way).

This was observed on an SMP Pentium III, which does some multithreaded
computation.

I can't give precise instructions on how to replicate this bug, but
perhaps it can be repeated simply by exercising kernel threading?

Luke.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-11-28 10:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-24  5:38 threads & /proc Anton Petrusevich
2001-11-24  6:19 ` Andrew Morton
2001-11-24  8:11 ` Peter Zaitsev
2001-11-26  5:46   ` FORT David
  -- strict thread matches above, loose matches on Subject: below --
2001-11-28  0:18 Luke
2001-11-28 10:08 ` Luigi Genoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox