[Freeswitch-users] Cannot queue any more events.....

Andre andretodd at verizon.net
Fri Nov 15 01:44:33 MSK 2013


HI, I'm testing my freeswitch on Windows (1.2.14) 64 bit and I used
pjsip-perf.exe --method=INVITE  sip:2 at 127.0.0.1:5063 --count=1000 --thread=4

 

After a few hundred calls I start to get Cannot queue any more events.....
and about 30 cps.  A fast Bing search shows this line of code.

Anyone know what this means and how to fix it?

 

 

 
<http://docs.freeswitch.org/switch__cpp_8cpp.html#bf63f3ec89e7e6ace32f689869
5930b1> 00040 static void
<http://docs.freeswitch.org/switch__cpp_8cpp.html#bf63f3ec89e7e6ace32f689869
5930b1> event_handler( <http://docs.freeswitch.org/structswitch__event.html>
switch_event_t *
<http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325
a45> event)
00041 {
00042          <http://docs.freeswitch.org/classEventConsumer.html>
EventConsumer *E = ( <http://docs.freeswitch.org/classEventConsumer.html>
EventConsumer *)
<http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325
a45> event->bind_user_data;
00043          <http://docs.freeswitch.org/structswitch__event.html>
switch_event_t *dup;
00044         
00045
<http://docs.freeswitch.org/group__events.html#g84d51747affe16447c198259393f
7f5f> switch_event_dup(&dup,
<http://docs.freeswitch.org/structdb__job.html#4802fd1cb648aae4f501dacd55325
a45> event);
00046 
00047         if (
<http://docs.freeswitch.org/group__switch__FIFO.html#g741daa24824e7980820491
29dda769cc> switch_queue_trypush(E->
<http://docs.freeswitch.org/classEventConsumer.html#2f2dfe6b5ce6d0e0eac6cbdc
035dcbd4> events, dup) !=
<http://docs.freeswitch.org/switch__types_8h.html#fedb3923fc3ae51937cef145c5
499dc1c65533002f858f1db8ea9a4aa9fd9784> SWITCH_STATUS_SUCCESS) {
00048
<http://docs.freeswitch.org/group__log.html#g5a8b2daf3d882cd8c92e7995ef7628f
f> switch_log_printf(
<http://docs.freeswitch.org/switch__types_8h.html#e66733232089cf717202d43a4a
8d4db2> SWITCH_CHANNEL_LOG,
<http://docs.freeswitch.org/switch__types_8h.html#b74279dba7ee171b8b9d3decfc
f1358417a4142baa45448bf4f74eb773d24870> SWITCH_LOG_ERROR, "Cannot queue any
more events.....\n");
00049
<http://docs.freeswitch.org/group__events.html#gd16cb49fa95c53cad45731669de4
0038> switch_event_destroy(&dup);
00050         }
00051 

00052 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131114/03680966/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list