ps locks up on 6.2-PRERELEASE SMP

Kris Kennaway kris at obsecurity.org
Thu Oct 19 22:53:04 UTC 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061019/b5b0113c/attachment.pgp


More information about the freebsd-stable mailing list