[Ocfs2-tools-devel] [PATCH 1/2] o2hbmonitor: Disk heartbeat monitor
Joel Becker
Joel.Becker at oracle.com
Fri Nov 12 16:36:03 PST 2010
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.
Joel
--
Life's Little Instruction Book #207
"Swing for the fence."
Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-tools-devel
mailing list