<p dir="ltr">You're using an event consumer somewhere in a lua script or dotnet binding or something and not popping from it so it fills it up.</p>
<div class="gmail_quote">On Nov 14, 2013 4:46 PM, "Andre" <<a href="mailto:andretodd@verizon.net">andretodd@verizon.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">HI, I’m testing my freeswitch on Windows (1.2.14) 64 bit and I used pjsip-perf.exe --method=INVITE <a>sip:2@127.0.0.1:5063</a> --count=1000 --thread=4<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">After a few hundred calls I start to get <b>Cannot queue any more events..... </b>and about 30 cps. A fast Bing search shows this line of code.<u></u><u></u></p>
<p class="MsoNormal">Anyone know what this means and how to fix it?<u></u><u></u></p><p class="MsoNormal"><b><u></u> <u></u></b></p><p class="MsoNormal"><u></u> <u></u></p><div style="border:solid #cccccc 1.0pt;padding:3.0pt 5.0pt 3.0pt 5.0pt;background:whitesmoke;margin-left:1.5pt;margin-right:6.0pt">
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00040"></a><span style><a href="http://docs.freeswitch.org/switch__cpp_8cpp.html#bf63f3ec89e7e6ace32f6898695930b1" target="_blank"><span style="color:blue;text-decoration:none">00040</span></a> </span><span>static</span><span style> </span><span>void</span><span style> <a href="http://docs.freeswitch.org/switch__cpp_8cpp.html#bf63f3ec89e7e6ace32f6898695930b1" target="_blank"><span style="color:blue;text-decoration:none">event_handler</span></a>(<a href="http://docs.freeswitch.org/structswitch__event.html" target="_blank"><span style="color:blue;text-decoration:none">switch_event_t</span></a> *<a href="http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325a45" target="_blank"><span style="color:blue;text-decoration:none">event</span></a>)<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00041"></a><span style>00041 {<u></u><u></u></span></pre><pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<a name="14258cb49f6925a0_l00042"></a><span style>00042 <a href="http://docs.freeswitch.org/classEventConsumer.html" target="_blank"><span style="color:blue;text-decoration:none">EventConsumer</span></a> *E = (<a href="http://docs.freeswitch.org/classEventConsumer.html" target="_blank"><span style="color:blue;text-decoration:none">EventConsumer</span></a> *) <a href="http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325a45" target="_blank"><span style="color:blue;text-decoration:none">event</span></a>->bind_user_data;<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00043"></a><span style>00043 <a href="http://docs.freeswitch.org/structswitch__event.html" target="_blank"><span style="color:blue;text-decoration:none">switch_event_t</span></a> *dup;<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00044"></a><span style>00044 <u></u><u></u></span></pre><pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<a name="14258cb49f6925a0_l00045"></a><span style>00045 <a href="http://docs.freeswitch.org/group__events.html#g84d51747affe16447c198259393f7f5f" target="_blank"><span style="color:blue;text-decoration:none">switch_event_dup</span></a>(&dup, <a href="http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325a45" target="_blank"><span style="color:blue;text-decoration:none">event</span></a>);<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00046"></a><span style>00046 <u></u><u></u></span></pre><pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<a name="14258cb49f6925a0_l00047"></a><span style>00047 </span><span>if</span><span style> (<a href="http://docs.freeswitch.org/group__switch__FIFO.html#g741daa24824e798082049129dda769cc" target="_blank"><span style="color:blue;text-decoration:none">switch_queue_trypush</span></a>(E-><a href="http://docs.freeswitch.org/classEventConsumer.html#2f2dfe6b5ce6d0e0eac6cbdc035dcbd4" target="_blank"><span style="color:blue;text-decoration:none">events</span></a>, dup) != <a href="http://docs.freeswitch.org/switch__types_8h.html#fedb3923fc3ae51937cef145c5499dc1c65533002f858f1db8ea9a4aa9fd9784" target="_blank"><span style="color:blue;text-decoration:none">SWITCH_STATUS_SUCCESS</span></a>) {<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00048"></a><span style>00048 <a href="http://docs.freeswitch.org/group__log.html#g5a8b2daf3d882cd8c92e7995ef7628ff" target="_blank"><span style="color:blue;text-decoration:none">switch_log_printf</span></a>(<a href="http://docs.freeswitch.org/switch__types_8h.html#e66733232089cf717202d43a4a8d4db2" target="_blank"><span style="color:blue;text-decoration:none">SWITCH_CHANNEL_LOG</span></a>, <a href="http://docs.freeswitch.org/switch__types_8h.html#b74279dba7ee171b8b9d3decfcf1358417a4142baa45448bf4f74eb773d24870" target="_blank"><span style="color:blue;text-decoration:none">SWITCH_LOG_ERROR</span></a>, </span><span>"Cannot queue any more events.....\n"</span><span style>);<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00049"></a><span style>00049 <a href="http://docs.freeswitch.org/group__events.html#gd16cb49fa95c53cad45731669de40038" target="_blank"><span style="color:blue;text-decoration:none">switch_event_destroy</span></a>(&dup);<u></u><u></u></span></pre>
<pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in"><a name="14258cb49f6925a0_l00050"></a><span style>00050 }<u></u><u></u></span></pre><pre style="margin-right:0in;margin-bottom:3.0pt;margin-left:0in;background:whitesmoke;border:none;padding:0in">
<a name="14258cb49f6925a0_l00051"></a><span style>00051 <u></u><u></u></span></pre></div><p class="MsoNormal"><a name="14258cb49f6925a0_l00052"></a><span style>00052 }</span><u></u><u></u></p></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>
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>