ps locks up on 6.2-PRERELEASE SMP

Kazuaki ODA kaakun at highway.ne.jp
Thu Oct 19 22:49:21 UTC 2006


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.


-- 
Kazuaki ODA


More information about the freebsd-stable mailing list