<div>I linked to it in the Jira ticket you had opened..</div><div><br></div><div>Bug description here:</div><div><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=7094">http://sourceware.org/bugzilla/show_bug.cgi?id=7094</a>
</div><div><br></div><div><br></div><div>Patch here:</div><a href="http://sourceware.org/bugzilla/attachment.cgi?id=3681">http://sourceware.org/bugzilla/attachment.cgi?id=3681</a>  <div><br></div><div>I&#39;ve never tried to patch a system library, so you&#39;re on your own if you want to open that can of worms.</div>
<div><br></div><div>Chris</div><div><br></div><div><br></div><div><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 9:53 AM, Stephen Wilde <span dir="ltr">&lt;<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you Chirs,<div>do you have any reference to how to patch the glibc for this issue?</div><span class="HOEnZb"><font color="#888888"><div>
<br></div></font></span><div><span class="HOEnZb"><font color="#888888">Stephen</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 1:46 PM, Christopher Rienzo <span dir="ltr">&lt;<a href="mailto:cmrienzo@gmail.com" target="_blank">cmrienzo@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The crash in the old posix timer is actually caused by a glibc timer_create() race condition when using SIGEV_THREAD.  So, you could should be able to use the old timer if you patch glibc.  I figured that was not a good solution for end users, so I switched to SIGEV_SIGNAL which did degrade performance. </div>


<div><br></div><div>Chris</div><div><div><div><br></div><br><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 4:44 AM, Stephen Wilde <span dir="ltr">&lt;<a href="mailto:wstephen80@gmail.com" target="_blank">wstephen80@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div>My experience in FS timers:</div><div><br></div><div>1. voice quality is related to timer_test result so if you have irregular result, you&#39;ll have bad voice quality (and low ACD)</div>


<div><br></div><div>
2. mod_posix_timer is my solution (I haven&#39;t try timerfd because I&#39;m using CentOS 5.8).</div><div><br></div><div>3. there are two version of mod_posix_timer, the &quot;old&quot; one (the one before the fix of git &#39;FS-4064 mod_posix_timer workaround of CentOS 5 glibc problem&#39;  of 30 april) and the &#39;new&#39; one (present in latest git)</div>



<div><br></div><div>4. the &#39;old&#39; mod_posix_timer is much more efficient that &#39;new&#39; one (with &#39;new&#39; mod_posix_timer is half way between &#39;old&#39; mod_posix_timer and soft timer).</div><div><br>


</div>
<div>5. loading the &#39;old&#39; mod_posix_timer there are random FS crashes, also if you don&#39;t use the posix timer in your profile</div><div><br></div><div>6. the &#39;new&#39; mod_posix_timer solves the crashes of FS</div>



<div><br></div><div>So my conclusion is that the &#39;old&#39; mod_posix_timer is the best one but sometimes FS crashes but the &#39;new&#39; mod_posix_timer is not good as the &#39;old&#39; one but it solves the crash issue.</div>



<div><br></div><div>In my production system I&#39;m using the &#39;old&#39; one in servers with high load and the &#39;new&#39; one in serves with less load, according with timer_test results.</div><div><br></div><div>Memory leak: I have done some test mixing different versions of FS and mod_posix_timer and in any case, if I use the latest Freeswitch git the used memory grows up continously, also if I use &#39;old&#39; mod_posix_timer so, my conclusion is that the memory leakage is related to Freeswitch. In my production server, latest FS git + old mod_posix_timer consumes all server memory (12MB) in 2 days. For this reason, in all my installation I&#39;m using the Freeswitch git of 26th march with new or old mod_posix_timer (depending on timer_test result).</div>


<span><font color="#888888">
<div><br></div><div>Stephen</div></font></span><div><div><br><div class="gmail_quote">On Wed, Jun 27, 2012 at 12:00 AM, marksly <span dir="ltr">&lt;<a href="mailto:mark@callassistants.com" target="_blank">mark@callassistants.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am having the same issue as Stephen Wilde regarding the strange<br>
&quot;timer_test&quot; results. Was it determined that the mod_posix timer is the best<br>
solution? Likewise with Stephen, any timer except 20ms works great.<br>
<br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Strange-timer-test-result-tp7399299p7580297.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Strange-timer-test-result-tp7399299p7580297.html</a><br>




Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<div><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
</div>Join Us At ClueCon - Aug 7-9, 2012<br>
<div><div><br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>