[Bug 200493] Killing pid 11 (idle) wedges the disk IO

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 29 09:38:05 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200493

--- Comment #4 from Edward Tomasz Napierala <trasz at FreeBSD.org> ---
The reason I didn't provide more information is that I believed it to be
trivially reproducible - and also because I can't tell much about it.  That is,
everything looks normal: the system is almost idle, vmstat/iostat/top etc don't
show anything weird...  It's just that "diskinfo -t" shows values orders of
magnitude worse than usual.

Actually, I've noticed something: idle threads priority.  Before:

# procstat -t 11
  PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN    
   11 100003 idle             idle: cpu0        -1  255 run     -         
   11 100004 idle             idle: cpu1         1  255 run     -  

# kill -KILL 11
[root at brick:/home/trasz]# procstat -t 11
  PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN    
   11 100003 idle             idle: cpu0         0  120 run     -         
   11 100004 idle             idle: cpu1        -1  255 run     -      

Bumping the idle thread's priority would explain what's happening.  But why
does it get bumped?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list