<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="HOEnZb"><div class="h5">On Mon, Dec 17, 2012 at 3:39 PM, Caspar Smit <<a href="mailto:c.smit@truebit.nl">c.smit@truebit.nl</a>> wrote:<br>
> 2012/12/17 Rasto Levrinc <<a href="mailto:rasto.levrinc@gmail.com">rasto.levrinc@gmail.com</a>><br>
>><br>
>> 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>
>> ...<br>
>><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>
>> 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>
>><br>
>> /sbin/pvdisplay -C --noheadings -o pv_name,vg_name<br>
>><br>
>> Rasto<br>
>><br>
><br>
> # /sbin/pvdisplay -C --noheadings -o pv_name,vg_name<br>
> /dev/sdb single_array3<br>
> /dev/sdc single_array3<br>
> /dev/sdd single_array3<br>
> /dev/sdh replicated_array1and2<br>
> /dev/sdi replicated_array1and2<br>
> /dev/sdj replicated_array1and2<br>
> /dev/sdk replicated_array1and2<br>
><br>
> I know that LCMC does monitor changes with the lcmc-gui-helper script, but I<br>
> presume the "hw-info-daemon" part has to run only once and not 5(+) times<br>
> concurrently?<br>
><br>
> Running 5x pvdisplay concurrently can really slow things down.<br>
<br>
</div></div>It shouldn't run this 5x concurrently. What here probably happens, is that<br>
the hw daemon takes too long and is assumed dead and is restarted.<br>
<br>
Can it be that /sbin/pvdisplay -C --noheadings -o pv_name,vg_name<br>
hangs on or takes very long on your system, at least sometimes?<br>
<br></blockquote><div>Yes, that is probably the case because the system is under heavy (NFS) load.<br> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Anyway I can/should fix LCMC to deal with this situation.<br></blockquote><div><br>That would be nice :)<br><br>Kind regards,<br>Caspar<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Rasto<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<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>
</div></div></blockquote></div><br>