From owner-freebsd-stable@freebsd.org Thu Nov 12 02:45:25 2015 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9940A2B9F9 for ; Thu, 12 Nov 2015 02:45:25 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from mail-vk0-x235.google.com (mail-vk0-x235.google.com [IPv6:2607:f8b0:400c:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A422E1971 for ; Thu, 12 Nov 2015 02:45:25 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: by vkbs1 with SMTP id s1so2862987vkb.3 for ; Wed, 11 Nov 2015 18:45:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ZA34SoL0oYUhMWCvU5LrOp5sBPtP0G+epQr7YrjLgZc=; b=ObMaLIOO4GPXUT/PHEPf9P4k/pGWrwBqASIQjnZaKIY2/jkXMnxahoS8XqueAJLI7h bWOyOI5hhXF96QYIstxChMO/tpHJzntsXO7X6xFZxk74kq07OZfZ6nT+vPk4XRVh70qO L2KNG3y/V2Aoc2iQCG0e4SsdwwcKhvMRJCR9XXIkCKI9Xc1i2M4ZXPbID4WGwFxbZJkl XQGHtapirnsBSZ/PN9U2tLTUzYQkFfLjHMM4mjj3z9jstAoBZvXyPii1QtPPJYEDJvWL qmyvIbHUdUquIzYt38CgcIoWCv/3nJYw9J6YrDGJ62mz0gDkS664x3lkh+DvBxIfgS2M k8yg== X-Received: by 10.31.148.203 with SMTP id w194mr856202vkd.31.1447296324403; Wed, 11 Nov 2015 18:45:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.39.197 with HTTP; Wed, 11 Nov 2015 18:44:45 -0800 (PST) In-Reply-To: <20151112001249.GI48728@zxy.spb.ru> References: <20151112001249.GI48728@zxy.spb.ru> From: Henry Hu Date: Wed, 11 Nov 2015 21:44:45 -0500 Message-ID: Subject: Re: Unkillable process in STOP state To: Slawa Olhovchenkov Cc: FreeBSD-STABLE Mailing List Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2015 02:45:26 -0000 On Wed, Nov 11, 2015 at 7:12 PM, Slawa Olhovchenkov wrote: > I have amd64, STABLE r288167. > > root@edge09:/home/admin # procstat -k -k 627 > PID TID COMM TDNAME KSTACK > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > 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 > root@edge09:/home/admin # procstat -t 627 > PID TID COMM TDNAME CPU PRI STATE WCHAN > 627 100167 tcpkali.new - 10 120 stop - > 627 100172 tcpkali.new - 3 152 stop - > 627 100173 tcpkali.new - 5 152 stop - > 627 100174 tcpkali.new - 3 152 stop - > 627 100175 tcpkali.new - 2 149 stop - > 627 100178 tcpkali.new - 5 152 stop - > 627 100180 tcpkali.new - 2 132 stop - > 627 102207 tcpkali.new - 5 136 stop - > 627 102208 tcpkali.new - 3 152 stop - > 627 102209 tcpkali.new - 5 139 stop - > 627 102211 tcpkali.new - 1 120 stop - > > kill -STOP don't have effect. > Does kill -CONT work? > 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" > -- Cheers, Henry