HI, I’m testing my freeswitch on Windows (1.2.14) 64 bit and I used pjsip-perf.exe --method=INVITE  sip:2@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?

 

 

00040 static void event_handler(switch_event_t *event)
00041 {
00042         EventConsumer *E = (EventConsumer *) event->bind_user_data;
00043         switch_event_t *dup;
00044         
00045         switch_event_dup(&dup, event);
00046 
00047         if (switch_queue_trypush(E->events, dup) != SWITCH_STATUS_SUCCESS) {
00048                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Cannot queue any more events.....\n");
00049                 switch_event_destroy(&dup);
00050         }
00051 

00052 }