2.3.3x ls /proc/<pid> hangs sometimes

From: Peter Steiner (p.steiner@t-online.de)
Date: Fri Jan 07 2000 - 11:53:45 EST


Sometimes acces to /proc/<pid> blocks. In such a case the system load is
increased by 1. It seems the blocking occurs, when a normal process is stuck
in L-TLB, e.g.:

Jan 7 17:25:56 kaili kernel: mgetty S 7FFFFFFF 0 7192 1 (L-TLB) 6422
Jan 7 17:25:56 kaili kernel: sig: 0 0000000000000000 0000000000000000 :X

Killing mgetty unblocks the stuck processes. The kernel threads (they are
also L-TLB) do not have this problem.

Further investigation shows:

cd'ing to the /proc/<pid> of such a L-TLB process doesn't block,
"echo *" doesn't block
"ll stat statm status" doesn't block

"ll cwd" blocks

Peter

-- 
  _   x    ___   p.steiner@t-online.de (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/>'~~~~//
   \_____/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:09 EST