From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 8 15:15:21 2012 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 64159106566B for ; Thu, 8 Mar 2012 15:15:21 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from gw01.mail.saunalahti.fi (gw01.mail.saunalahti.fi [195.197.172.115]) by mx1.freebsd.org (Postfix) with ESMTP id 18D958FC13 for ; Thu, 8 Mar 2012 15:15:21 +0000 (UTC) Received: from jh (a91-153-115-208.elisa-laajakaista.fi [91.153.115.208]) by gw01.mail.saunalahti.fi (Postfix) with SMTP id 4B4BE15140C; Thu, 8 Mar 2012 17:15:11 +0200 (EET) Date: Thu, 8 Mar 2012 17:15:11 +0200 From: Jaakko Heinonen To: Salimane Adjao Moustapha Message-ID: <20120308151511.GA60889@jh> References: <201203071825.q27IPnfE062452@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-bugs@freebsd.org Subject: Re: bin/165811: kill(1) doesn't terminate a process group with the command "kill -- -117" (from man kill) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 15:15:21 -0000 On 2012-03-08, Salimane Adjao Moustapha wrote: > with /bin/kill I still have this problem. > > > Fb-bj# ps axjf | grep resque > myuser 17995 1 17993 17993 0 I ?? 0:00.11 /usr/local/bin/php > -f scripts/resque/resque.php low > myuser 17996 17995 17993 17993 0 S ?? 0:42.24 /usr/local/bin/php > -f scripts/resque/resque.php low > myuser 17997 17995 17993 17993 0 S ?? 0:41.67 /usr/local/bin/php > -f scripts/resque/resque.php low > myuser 18026 1 18024 18024 0 I ?? 0:00.16 /usr/local/bin/php > -f scripts/resque/resque.php high > myuser 18031 18026 18024 18024 0 S ?? 0:02.50 /usr/local/bin/php > -f scripts/resque/resque.php high > myuser 18032 18026 18024 18024 0 S ?? 0:02.81 /usr/local/bin/php > -f scripts/resque/resque.php high > root 62234 62209 62233 62204 2 S+ 0 0:00.00 grep resque > Fb-bj# /bin/kill -- -17995 > kill: -17995: No such process > > > i still can't kill the process 17995 and its children 17996, 17997 PGID is the fourth column in your listing. Thus you should use "/bin/kill -- -17993". -- Jaakko