Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Nov 2015 11:48:43 +0100
From:      Johan Schuijt-Li <johan@300.nl>
To:        Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Unkillable process in STOP state
Message-ID:  <3CF03A81-3C47-45D1-8324-F9BE50E0BD3E@300.nl>
In-Reply-To: <20151112104558.GW31314@zxy.spb.ru>
References:  <20151112001249.GI48728@zxy.spb.ru> <72B672CE-DDDE-4E3D-83C9-617B5225960D@300.nl> <20151112104558.GW31314@zxy.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, the only difference we had that for us the status was 'Ds' rather =
then 'STOP'. So the status is most likely irrelevant, at least the =
traces are exactly the same! :)

- Johan


> On 12 Nov 2015, at 11:45, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
>=20
> On Thu, Nov 12, 2015 at 07:05:46AM +0100, Johan Schuijt-Li wrote:
>=20
>> This seems like the exact same problem as that we=E2=80=99ve had, =
more details can be found in the following PR:
>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200992 =
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D200992>;
>=20
> May be. Other time I am see "sleep without queue" status
>=20
>> The patch attached there solved all our problems.
>=20
> I am try this patch on next update, thanks.
>=20
>> - Johan
>>=20
>>=20
>>> On 12 Nov 2015, at 01:12, Slawa Olhovchenkov <slw@zxy.spb.ru> wrote:
>>>=20
>>> I have amd64, STABLE r288167.
>>>=20
>>> root@edge09:/home/admin # procstat -k -k 627
>>> PID    TID COMM             TDNAME           KSTACK                  =
    =20
>>> 627 100167 tcpkali.new      -                mi_switch+0xe1 =
thread_suspend_switch+0x170 thread_single+0x4e5 exit1+0xbe =
sys_sys_exit+0xe amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100172 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100173 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100174 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100175 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100178 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 100180 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 102207 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 102208 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 102209 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> 627 102211 tcpkali.new      -                mi_switch+0xe1 =
sleepq_timedwait_sig+0x8b _sleep+0x238 kern_kevent+0x401 =
sys_kevent+0x12a amd64_syscall+0x357 Xfast_syscall+0xfb=20
>>> root@edge09:/home/admin # procstat -t 627
>>> PID    TID COMM             TDNAME           CPU  PRI STATE   WCHAN  =
 =20
>>> 627 100167 tcpkali.new      -                 10  120 stop    -      =
  =20
>>> 627 100172 tcpkali.new      -                  3  152 stop    -      =
  =20
>>> 627 100173 tcpkali.new      -                  5  152 stop    -      =
  =20
>>> 627 100174 tcpkali.new      -                  3  152 stop    -      =
  =20
>>> 627 100175 tcpkali.new      -                  2  149 stop    -      =
  =20
>>> 627 100178 tcpkali.new      -                  5  152 stop    -      =
  =20
>>> 627 100180 tcpkali.new      -                  2  132 stop    -      =
  =20
>>> 627 102207 tcpkali.new      -                  5  136 stop    -      =
  =20
>>> 627 102208 tcpkali.new      -                  3  152 stop    -      =
  =20
>>> 627 102209 tcpkali.new      -                  5  139 stop    -      =
  =20
>>> 627 102211 tcpkali.new      -                  1  120 stop    -      =
  =20
>>>=20
>>> kill -STOP don't have effect.
>>> gdb can't be attached.
>>> _______________________________________________
>>> freebsd-stable@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org"
>>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3CF03A81-3C47-45D1-8324-F9BE50E0BD3E>