NFSD hang

Kostik Belousov kostikbel at gmail.com
Wed Sep 28 10:41:47 UTC 2011


On Tue, Sep 27, 2011 at 08:06:50PM -0400, Rick Macklem wrote:
>
> I suspect something is making those threads loop, but I don't know how
> to figure out where? (In the bad old days, I would have exscaped to a
> debugger and looked where the program counter was, then repeated after
> a "cont" a few times, to see where they were executing. However, I
> have no idea how to do that on a multicore system, even if you still
> had the system sitting there? If someone does know how to do this,
> please feel free to chime in;-)

Absolutely the same. Break into the debugger, use ps to find the pid/tid
of the looping threads, then do "bt id" to get a backtrace for them.
Repeat several time to get some idea where the loop is located.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110928/a6017739/attachment.pgp


More information about the freebsd-stable mailing list