Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Mar 2012 10:37:46 +0800
From:      Salimane Adjao Moustapha <me@salimane.com>
To:        jh@freebsd.org
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)
Message-ID:  <CABoxVtxEnP48oN2E%2B-0%2BDzWh46JQ=Mb6Hx=Un-Ve1Myi2eZsqw@mail.gmail.com>
In-Reply-To: <201203071825.q27IPnfE062452@freefall.freebsd.org>
References:  <201203071825.q27IPnfE062452@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

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

Thanks
--
*Salimane Adjao Moustapha*
*Bio <http://salimane.com/>*



On Thu, Mar 8, 2012 at 2:25 AM, <jh@freebsd.org> wrote:

> Synopsis: kill(1) doesn't terminate a process group with the command "kill
> -- -117" (from man kill)
>
> State-Changed-From-To: open->closed
> State-Changed-By: jh
> State-Changed-When: Wed Mar 7 18:20:23 UTC 2012
> State-Changed-Why:
> Salimane Adjao Moustapha wrote:
> > Terminate the process group with PGID 117:
> >
> >            kill -- -117
> >
> >
> > but running it gives error :
> >
> >  >kill -- -117
> >  -: Unknown signal; kill -l lists signals.
>
> It looks like you used a shell built-in kill. If you still have the
> problem when using explicitly /bin/kill, let us know.
>
> > kill -- -117
> -: Unknown signal; kill -l lists signals.
> > /bin/kill -- -117
> kill: -117: No such process
> >
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=165811
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABoxVtxEnP48oN2E%2B-0%2BDzWh46JQ=Mb6Hx=Un-Ve1Myi2eZsqw>