I do have a Consumer Event. My Pop is 1,1000 should that be changed to another value?
watch = new EventConsumer("CHANNEL_HANGUP_COMPLETE", string.Empty, 100);
watch.bind("SHUTDOWN", string.Empty);
var evt = watch.pop(1, 1000);
Thanks
Andre
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Andre
Sent: Thursday, November 14, 2013 8:23 PM
To: 'FreeSWITCH Users Help'
Subject: Re: [Freeswitch-users] Cannot queue any more events.....
It’s .Net 4.5.1 and the memory exceeds 2GB then crashes in under 3 min at 30 cps.
How do I release the memory? I made sure I dispose of these objects
context.Session, Api and (switch_event evt = e.FsArgs.Parameters)
Any help will be very appreciated.
Thank you,
Andre
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Minessale
Sent: Thursday, November 14, 2013 8:03 PM
To: Freeswitch-users
Subject: Re: [Freeswitch-users] Cannot queue any more events.....
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.
On Nov 14, 2013 4:46 PM, "Andre" <andretodd@verizon.net> wrote:
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;0004400045 switch_event_dup(&dup, event);0004600047 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
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org