[Freeswitch-users] Error message " [ERR] switch_cpp.cpp:48 Cannot queue any more events“

Steven Ayre steveayre at gmail.com
Wed May 15 02:11:48 MSD 2013


Don't set it so high that you run out of memory. If your queue is growing
now, with a higher limit it's going to grow more so.

I suggest you look at how to speed up your consuming. Some ideas:

- Use a new MySQL version - 5.5/5.6 (there will be numerous performance
improvements over older versions)
- Use the innodb engine (row locking this will better performance as
multiple connections can use the table at the same time)
- Use multiple DB connections at the same time (which will allow multiple
DB threads therefore using all the cores of your CPU)
- Use a large innodb buffer size (ideally this should be as large as your
data set or at least what you actively use - this'll mean you don't need to
read from disk as often and so reads *and* writes will be faster)
- Use EXPLAIN to tune your queries and indexes. Don't underindex (so you
can find/update data quickly) but also don't overindex (which will waste
cpu and disk updating indexes that are rarely/never used).

There're numerous other ways to tune it too.

-Steve




On 14 May 2013 16:43, Anthony Minessale <anthony.minessale at gmail.com> wrote:

> Its the 3rd arg to the EventConsumer constructor and it defaults to 5000
>
>
>
> On Mon, May 13, 2013 at 10:31 PM, alex_ynema <alex at opensystems.net.au>wrote:
>
>> Where can I set this limit in Freeswitch.
>> I've been hitting the limit quite regularly while using it to run call
>> campaigns.
>>
>> Cheers
>>
>>
>>
>> --
>> View this message in context:
>> http://freeswitch-users.2379917.n2.nabble.com/Error-message-ERR-switch-cpp-cpp-48-Cannot-queue-any-more-events-tp7579817p7590651.html
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130514/93324a65/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list