<div class="gmail_quote">2012/12/17 Rasto Levrinc <span dir="ltr"><<a href="mailto:rasto.levrinc@gmail.com" target="_blank">rasto.levrinc@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Mon, Dec 17, 2012 at 3:09 PM, Caspar Smit <<a href="mailto:c.smit@truebit.nl">c.smit@truebit.nl</a>> wrote:<br>
> Hi Rasto,<br>
><br>
> I noticed this in one of my clusters:<br>
><br>
</div>...<br>
<div class="im"><br>
> /usr/local/bin/lcmc-gui-helper-1.4.2 hw-info-daemon<br>
> root 9869 0.0 0.0 39856 1516 pts/7 S+ 14:49 0:00<br>
> \_ sudo -E -p DRBD MC sudo pwd: /usr/local/bin/lcmc-gui-helper-1.4.2<br>
> hw-info-daemon<br>
> root 9870 0.3 0.0 27676 5000 pts/7 S+ 14:49 0:00<br>
> \_ /usr/bin/perl /usr/local/bin/lcmc-gui-helper-1.4.2 hw-info-daemon<br>
> root 18176 0.0 0.0 9060 1180 pts/7 S+ 14:50 0:00<br>
> \_ sh -c /sbin/pvdisplay -C --noheadings -o pv_name,vg_name 2>/dev/null<br>
> root 18177 0.0 0.0 17872 1604 pts/7 D+ 14:50 0:00<br>
> \_ /sbin/pvdisplay -C --noheadings -o pv_name,vg_name<br>
><br>
> Why is LCMC running so many pvdisplay commands at once?<br>
<br>
</div>Hi Caspar,<br>
<br>
it is running it once in 10 seconds, to see if something has changed.<br>
Can you check what does it do on your nodes?<br>
<div class="im"><br>
/sbin/pvdisplay -C --noheadings -o pv_name,vg_name<br>
<br>
</div>Rasto<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div><div># /sbin/pvdisplay -C --noheadings -o pv_name,vg_name</div><div> /dev/sdb single_array3</div><div> /dev/sdc single_array3</div>
<div> /dev/sdd single_array3</div><div> /dev/sdh replicated_array1and2</div><div> /dev/sdi replicated_array1and2</div><div> /dev/sdj replicated_array1and2</div><div> /dev/sdk replicated_array1and2</div></div>
<div><br></div><div>I know that LCMC does monitor changes with the lcmc-gui-helper script, but I presume the "hw-info-daemon" part has to run only once and not 5(+) times concurrently?</div><div><br></div><div>Running 5x pvdisplay concurrently can really slow things down.</div>
<div><br></div><div>Kind regards,</div><div>Caspar</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
><br>
> I think this is causing my RA monitors to timeout once in a while (sometimes<br>
> even two minutes timeout)<br>
><br>
> Kind regards,<br>
> Caspar Smit<br>
><br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Dipl.-Ing. Rastislav Levrinc<br>
<a href="mailto:rasto.levrinc@gmail.com">rasto.levrinc@gmail.com</a><br>
Linux Cluster Management Console<br>
<a href="http://lcmc.sf.net/" target="_blank">http://lcmc.sf.net/</a><br>
_______________________________________________<br>
drbd-mc mailing list<br>
<a href="mailto:drbd-mc@lists.linbit.com">drbd-mc@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-mc" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-mc</a><br>
</font></span></blockquote></div><br>