[openib-general] stuck process question

Roland Dreier rdreier at cisco.com
Thu Jan 25 10:09:59 PST 2007


    Steve> I have a process probably stuck in the IWCM or CMA waiting
    Steve> on a refcnt to go to zero.  Does anyone know of a way to
    Steve> figure out what the process is blocked on short of using a
    Steve> kernel debugger?  Like once its stuck, is there any useful
    Steve> information I can gather about what the process is waiting
    Steve> on?

/proc/<pid>/wchan will show you where it's waiting.  And "echo t >
/proc/sysrq-trigger" will put a stack trace of everything into the
kernel log.

 - R.




More information about the general mailing list