[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: herd stop hangs

From: Ivan Sokolov
Subject: Re: herd stop hangs
Date: Thu, 13 Apr 2023 06:59:35 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Vladilen Kozin <> writes:

> Been driving me nuts, cause Java handles SIGTERM but just in case I even added
> shutdownHook to my app that should explicitly execute on SIGTERM and other 
> such signals.
> Testing it on OSX e.g. works just fine. But stop wouldn't work on guix. I 
> then decided to try
> everything manually:
> $ start my java app from the console
> In another console
> $ sudo pkill -TERM pid
> and nada ... it's like signal isn't even delivered.
> $ sudo pkill -KILL pid
> Eh ... still nothing
> $ sudo kill -s SIGTERM pid
> gets delivered
> Ha? kill vs pkill ... ha? Could this give a clue as to why sudo herd stop 
> won't work?
> What is going on here? Any ideas? I'm completely lost at this point. 

I don't know about Shepherd, but I've never seen pkill used with a pid,
and pkill(1) does not mention it either.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]