ps locks up on 6.2-PRERELEASE SMP
Kazuaki ODA
kaakun at highway.ne.jp
Thu Oct 19 23:43:42 UTC 2006
Kris Kennaway wrote:
> On Fri, Oct 20, 2006 at 07:47:57AM +0900, Kazuaki ODA wrote:
>> Hi,
>>
>> I ran the following two scripts simultaneously on 6.2-PRERELEASE SMP box
>> (cvsup'ed today).
>>
>> ----------------------------------------
>> #!/bin/sh
>>
>> while true; do
>> ls -lR / > ls_result.txt
>> done
>> ----------------------------------------
>>
>> ----------------------------------------
>> #!/bin/sh
>>
>> while true; do
>> ls -lR / > ls_result2.txt
>> done
>> ----------------------------------------
>>
>> After a while (about 5 minutes), I suspended and killed the both, and
>> ran "ps". As the result, "ps" locked up. No response and no output.
>> To make matters worse, I could not login anymore...
>>
>> This is 100% reproducable on SMP, but no problem when using Non-SMP kernel.
>
> What state is ps in? Press ^T. It's probably a devfs lockup, which
> should be fixed by changes yet to be merged.
>
> Kris
I tried again. But ^T, ^C and ^Z had no effect, ps was still locking..
Should I rebuild kernel with DDB option, and go into DDB to get more
information?
--
Kazuaki ODA
More information about the freebsd-stable
mailing list