[Ocfs2-tools-devel] [PATCH 2/2] o2hbmonitor: Limit number of active instances

Joel Becker Joel.Becker at oracle.com
Thu Dec 2 19:28:42 PST 2010


On Fri, Dec 03, 2010 at 11:15:18AM +0800, Tristan Ye wrote:
>     Just wondering here how it would behave against 'SIGKILL', in that 
> case, we won't be able to do cleanup for semaphore,
> 
> and next run of instance may still gets kind of such error:'sorry, we've 
> already got one instance running...'

	Yeah, that's the problem with semaphores.  SysV semaphores have
SEM_UNDO (though they have a problem with deleting them, it's not as bad
as POSIX semaphores being unusable).

Joel

-- 

"If at first you don't succeed, cover all traces that you tried."
                                                        -Unknown

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