[Ocfs2-tools-devel] [PATCH 1/2] o2hbmonitor: Disk heartbeat monitor
Tristan Ye
tristan.ye at oracle.com
Sun Nov 14 18:29:48 PST 2010
Joel Becker wrote:
> On Thu, Nov 11, 2010 at 11:16:23AM +0800, Tristan Ye wrote:
>> Srinivas Eeda wrote:
>>> On 11/10/2010 10:20 AM, Srinivas Eeda wrote:
>>>>> How about adding signal handler here since the daemon always being
>>>>> killed by signal:
>>>>>
>>>> I agree. I'll add the signal handler.
>>> I just realized that users usually kill with SIGKILL which cannot be
>>> caught. Also, there is not much to cleanup other than removing the
>>> file which is not preventing from spawning a new process.
>> Indeed, 'kill -9' is preferred by most of users.
>
> And they are wrong. Anytime you see someone starting with 'kill
> -9', hit them with a shovel. Please do not train people to do this
> broken thing.
Yep,
Experienced users were much more likely to issue 'SIGTERM' first, making
resources-being-used
get properly reclaimed.
While I do see lots of people love 'kill -9' way anway;), It's not a big
deal here however.
Tristan.
>
> Joel
>
More information about the Ocfs2-tools-devel
mailing list