[Bug 220175] [iscsi] ctld often gets stuck in a "D" state

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 21 05:20:17 UTC 2017


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

            Bug ID: 220175
           Summary: [iscsi] ctld often gets stuck in a "D" state
           Product: Base System
           Version: 11.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: emz at norma.perm.ru

Env:
====

# uname -a
FreeBSD san01.bsh-ru.playkey.net 11.0-RELEASE-p7 FreeBSD 11.0-RELEASE-p7 #2
r314026M: Wed Mar 29 06:54:29 UTC 2017    
emz at san01.bsh-ru.playkey.net:/usr/obj/usr/src/sys/SAN  amd64

Symtoms:
========

[root at san01:~]# ps ax | grep ctld
  838  -  Ds     1094:40,74 /usr/sbin/ctld
12354  2  S+        0:00,00 grep ctld
[root at san01:~]# ps alx | grep ctld
    0   838     1   0  21  0 1188720 1173044 cfiscsi_ Ds    -    1094:40,74
/usr/sbin/ctld
    0 12647 81380   0  20  0   14836    2540 piperd   S+    2       0:00,00
grep ctld
[root at san01:~]# procstat -k 838
  PID    TID COMM             TDNAME           KSTACK                       
  838 102821 ctld             -                mi_switch sleepq_wait _cv_wait
cfiscsi_offline ctl_port_offline ctl_ioctl devfs_ioctl_f kern_ioctl sys_ioctl
amd64_syscall Xfast_syscall 
[root at san01:~]# procstat -k 838
  PID    TID COMM             TDNAME           KSTACK                       
  838 102821 ctld             -                mi_switch sleepq_wait _cv_wait
cfiscsi_offline ctl_port_offline ctl_ioctl devfs_ioctl_f kern_ioctl sys_ioctl
amd64_syscall Xfast_syscall

ctld in this state stops reacting on HUPs, still serves the old targets in it's
config but is unable to load any new ones.

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


More information about the freebsd-bugs mailing list