From owner-freebsd-questions@freebsd.org Mon Jun 11 08:49:17 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C5BA81000399 for ; Mon, 11 Jun 2018 08:49:17 +0000 (UTC) (envelope-from ole@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65D1776D45 for ; Mon, 11 Jun 2018 08:49:17 +0000 (UTC) (envelope-from ole@free.de) Received: from bard (x4e306e46.dyn.telefonica.de [78.48.110.70]) by smtp.free.de (Postfix) with ESMTPSA id 8D16216869 for ; Mon, 11 Jun 2018 10:49:08 +0200 (CEST) Date: Mon, 11 Jun 2018 10:48:57 +0200 From: Ole To: freebsd-questions@freebsd.org Subject: Re: Unable to kill processes using either Ctrl-C or 'kill' Message-ID: <20180611104857.272ba600.ole@free.de> In-Reply-To: References: <9a7f62c4-80aa-7eea-91ec-6712612a0451@pobox.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 08:49:17 -0000 --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sun, 3 Jun 2018 21:03:31 +0200 - Michael Schuster : > > Can you get added to sudoers? I realize that still implies a level > > of root access but I really don't know of any other way to kill > > processes which don't belong to you. I don't see why the sysadmin > > would need to reboot.=20 >=20 > most likely, being root or equivalent won't help in this case. If a > processes owner cannot kill it (using -9, which cannot be caught) that > implies that the process is hung in the kernel (signal delivery > happens when a process leaves kernel context). I got stuck in the same situation: # kill -9 91651 # ps -o pid,jid -awux | grep 91651 91651 11 root 0.0 0.0 101488 29344 - TsJ Fri05 2= :10.18 /usr/local/sbin/syslog-ng -p /var/run/syslog.pid and I wonder if there is anything I can do to get rid of this process. I had this situation last year too and ended up in restarting the whole system. But now I can't reboot. Thanks Ole --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJbHjeDAAoJECWWkUao5JRQC+cP/RJPOilYGyvfmQz3v0GNwzNZ HPo321YyLwz9DkVSA+LaxHPU6GqDbgyZJyuf40ZtcvSp9dcVPdetWrrvpl/o3zdK 6DaAK5Z3hESZg+5V0H7Yann6vXMRh+QkncX7RwnWhQ9m9970ulJvu72e6zczN7ih o+0muk+Vhr2YYTfKtG08jOL/GW5t13yhJNA+vXgxWGTd1aGpOXN68JyFri1qQByT ND2PvjtbNNtUnaW+NkKTn6C75l41vMCGjD8ZvUQjMnLhXuMusl1LyffNhQxGU2LW gbow14K/7zSe+95NIxq2rrSj6z3LdttyJNxlSqig/VfJiiPumuLJAiomUUxRrVXc CzveWez53qW8WjEG+EQChbWZCs/4Rc9I8XlVA6DRbtsDl7f+UKPe60vJTdAjUKzn tH7bMrCNsBARbddU0cCaUtBq9sw7Sp0SxSunxBdH7HufJK88NGaj6Bzqhjc0u0+7 wT4+8zfzdM6iTtCv1okS7aPT8Nhkv9FoMRN+zWYFpsPsYGZxpj2e3yJLhEGVPCkb YLwyppcXg2rb60NDzemJawEOQpvtbeiZvM1906uWimGRG7VzZEU/3r4shCuk78y1 r1vQWfbF7rHkUvCPYQS6reVRSDQMh26jUdIE1qJDnpBWRm2xLILTmCCrsVQ5jkAW lGRUx3IitIkxSvyl1PG2 =asSV -----END PGP SIGNATURE----- --Sig_/g.ZUucmQ.+=1s2ZpWKQcOxI--