Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 05:20:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 220175] [iscsi] ctld often gets stuck in a "D" state
Message-ID:  <bug-220175-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220175

            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@FreeBSD.org
          Reporter: emz@norma.perm.ru

Env:
=3D=3D=3D=3D

# 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=20=20=20=20
emz@san01.bsh-ru.playkey.net:/usr/obj/usr/src/sys/SAN  amd64

Symtoms:
=3D=3D=3D=3D=3D=3D=3D=3D

[root@san01:~]# ps ax | grep ctld
  838  -  Ds     1094:40,74 /usr/sbin/ctld
12354  2  S+        0:00,00 grep ctld
[root@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@san01:~]# procstat -k 838
  PID    TID COMM             TDNAME           KSTACK=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  838 102821 ctld             -                mi_switch sleepq_wait _cv_wa=
it
cfiscsi_offline ctl_port_offline ctl_ioctl devfs_ioctl_f kern_ioctl sys_ioc=
tl
amd64_syscall Xfast_syscall=20
[root@san01:~]# procstat -k 838
  PID    TID COMM             TDNAME           KSTACK=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  838 102821 ctld             -                mi_switch sleepq_wait _cv_wa=
it
cfiscsi_offline ctl_port_offline ctl_ioctl devfs_ioctl_f kern_ioctl sys_ioc=
tl
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220175-8>