Strange (deadlock?) when running ps(1) and top(1)

Peter Holm peter at holm.cc
Tue Mar 2 09:47:10 PST 2004


On Tue, Mar 02, 2004 at 11:32:54PM +0800, Xin LI wrote:
> Hello gang,
> 
> With a recently built kernel and world from -HEAD, I found that
> running ps(1) or top(1) can sometimes trigger some weird problem
> to cause the system to completely stop to respond. The situation

I'm looking in a loop in userland_sysctl():


        do {
            req2 = req;
            error = sysctl_root(0, name, namelen, &req2);
        } while (error == EAGAIN);

http://people.freebsd.org/~pho/stress/cons43.html

-- 
Peter Holm


More information about the freebsd-current mailing list