<div dir="ltr">Thank you,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 2, 2016 at 4:05 PM, Ken Gaillot <span dir="ltr"><<a href="mailto:kgaillot@redhat.com" target="_blank">kgaillot@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 05/02/2016 03:45 PM, Jan Pokorný wrote:<br>
> Hello Radoslaw,<br>
><br>
> On 02/05/16 11:47 -0500, Radoslaw Garbacz wrote:<br>
>> When testing pacemaker I encountered a start error, which seems to be<br>
>> related to reported libqb segmentation fault.<br>
>> - cluster started and acquired quorum<br>
>> - some nodes failed to connect to CIB, and lost membership as a result<br>
>> - restart solved the problem<br>
>><br>
>> Segmentation fault reports libqb library in version 0.17.1, a standard<br>
>> package provided for CentOS.6.<br>
><br>
> Chances are that you are running into this nasty bug:<br>
> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1114852" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1114852</a><br>
><br>
>> Please let me know if the problem is known, and if  there is a remedy (e.g.<br>
>> using the latest libqb).<br>
><br>
> Try libqb >= 0.17.2.<br>
><br>
> [...]<br>
><br>
>> Logs from /var/log/messages:<br>
>><br>
>> Apr 22 15:46:41 (...) pacemakerd[111190]:   notice: Additional logging<br>
>> available in /var/log/pacemaker.log<br>
>> Apr 22 15:46:41 (...) pacemakerd[111190]:   notice: Configured corosync to<br>
>> accept connections from group 498: Library error (2)<br>
><br>
> IIRC, that last line ^ was one of the symptoms.<br>
<br>
</span>Yes, that does look like the culprit. The root cause is libqb being<br>
unable to handle 6-digit PIDs, which we can see in the above logs --<br>
"[111190]".<br>
<br>
As a workaround, you can lower /proc/sys/kernel/pid_max (aka<br>
kernel.pid_max sysctl variable), if you don't want to install a newer<br>
libqb before CentOS 6.8 is released, which will have the fix.<br>
<br>
_______________________________________________<br>
Users mailing list: <a href="mailto:Users@clusterlabs.org">Users@clusterlabs.org</a><br>
<a href="http://clusterlabs.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://clusterlabs.org/mailman/listinfo/users</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" rel="noreferrer" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" rel="noreferrer" target="_blank">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://bugs.clusterlabs.org" rel="noreferrer" target="_blank">http://bugs.clusterlabs.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Regards,<br><br>Radoslaw Garbacz<br></div>XtremeData Incorporation<br></div></div>
</div>