Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Re: hb tries to release resources before all processes are stopped

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


lmb at suse

Sep 17, 2009, 1:55 AM

Post #1 of 1 (177 views)
Permalink
Re: hb tries to release resources before all processes are stopped

On 2009-09-17T01:26:33, Holger Latz <holger.latz[at]googlemail.com> wrote:

> resources from right-to-left of the haresources. I suppose the problem
> is that mysql's mysqld_multi script just _initiates_ the stop-process
> and does not wait, until all mysql-processes are really finished.

That's a bug in the mysqld_multi script. You can fix this by fixing the
script.

A

while ! check_if_stopped ; do sleep 1 ; done

should suffice.

What is a bit surprising is that the Filesystem RA doesn't kill the
processes; it's supposed to at least try and in the normal course of
life, should succeed to. There's some cases where it can't (ie, open
references in-kernel which lsof/fuser can't find), but I wouldn't think
mysqld_multi triggers that ...

FWIW, if you were running a crm-style cluster, the failed stop would
escalate to a node fence and the cluster as a whole still be able to
proceed.


Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
Linux-HA mailing list
Linux-HA[at]lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.