On 04.01.2016 17:14, Dejan Muhamedagic wrote: > Hi, > > On Mon, Jan 04, 2016 at 04:52:43PM +0100, Bogdan Dobrelya wrote: >> On 04.01.2016 16:36, Ken Gaillot wrote: >>> On 01/04/2016 09:25 AM, Bogdan Dobrelya wrote: >>>> On 04.01.2016 15:50, Bogdan Dobrelya wrote: > [...] >>>> Also note, that lrmd spawns *many* monitors like: >>>> root 6495 0.0 0.0 70268 1456 ? Ss 2015 4:56 \_ >>>> /usr/lib/pacemaker/lrmd >>>> root 31815 0.0 0.0 4440 780 ? S 15:08 0:00 | \_ >>>> /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor >>>> root 31908 0.0 0.0 4440 388 ? S 15:08 0:00 | >>>> \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor >>>> root 31910 0.0 0.0 4440 384 ? S 15:08 0:00 | >>>> \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor >>>> root 31915 0.0 0.0 4440 392 ? S 15:08 0:00 | >>>> \_ /bin/sh /usr/lib/ocf/resource.d/dummy/dummy monitor >>>> ... >>> >>> At first glance, that looks like your monitor action is calling itself >>> recursively, but I don't see how in your code. >> >> Yes, it should be a bug in the ocf-shellfuncs's ocf_log(). > > If you're sure about that, please open an issue at > https://github.com/ClusterLabs/resource-agents/issues
Submitted [0]. Thank you! Note, that it seems the very import action causes the issue, not the ocf_run or ocf_log code itself. [0] https://github.com/ClusterLabs/resource-agents/issues/734 > > Thanks, > > Dejan > > _______________________________________________ > Users mailing list: Users@clusterlabs.org > http://clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > -- Best regards, Bogdan Dobrelya, Irc #bogdando _______________________________________________ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org