[Linux-HA] CPU time consumption of lrmd

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Sep 13 08:24:40 MDT 2007


Hi,

On Wed, Sep 12, 2007 at 12:58:59PM +0200, matilda matilda wrote:
> Hi all,
> 
> after running HAv2 (2.1.2) for a while now (thanks for all the
> necessary advice and help) I found out that lrmd is consuming
> relativly much CPU time as stated by 'ps'.
> 
> I just want to ask the technical reason and if it's plausible.
> Facts:
> * 14 resources are in started state, that means for 14 resources
> regularly monitor actions are performed. The lightweight ones
> about every minute. The costly ones about all 3 minutes.
> 
> * Server and HA is up now: 5 days and 13:40
> 
> * 'ps ax | grep lrmd' shows   397:49 /usr/lib64/heartbeat/lrmd -r
> 
> Is this normal? How can this be explained?

No, that's definitely not normal. This is a strong contender on
the todo list here. However, so far seems to be tough to shake it
out and I guess it'll take some time. There's a bug opened and
some discussion on the matter here:

http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1697

Thanks.

Dejan

> I would assume, that lrmd does "nothing more" than listening
> to the commands send by crmd, starting resource agents (which do the
> work), waiting on the return code (reading output) and sending
> the result back to the crmd.
> 
> Best regards
> Andreas Mock
> 
> 
> _______________________________________________
> 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



More information about the Linux-HA mailing list