[Freeswitch-users] Event system overloading. Taking a 10 secondbreak

Cavalera Claudio Luigi Claudio.Cavalera at italtel.it
Wed Jan 25 22:22:25 MSK 2012


Hello,

what about some limit in the network? Do you have ethernet bonding?  Are
you also "processing" media with your 1500 calls (3000 channels?) If you
lower the Session per Seconds can you beyond that number of calls
(provided that the calls are alive longer)?

I think that once ago I got network bound (maybe too many small packets
per second) but I did not get those messages.

Regards,

Claudio

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Stephen Wilde
Sent: Monday, January 23, 2012 11:20 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Event system overloading. Taking a 10
secondbreak

 

Can be useful to run Freeswitch with "-nosql" option?

What I lose in this case?

 

On Sat, Jan 21, 2012 at 10:04 PM, Stephen Wilde <wstephen80 at gmail.com>
wrote:

I'm already using the ramdisk.

The problem happens when I have a provider that give congestion.

In this case Freeswitch receives many tries but few connected calls and
the number of session per second is high.

To avoid the "event system overloading" (avoiding to lower the global
session per second 'sps' parameter) I have insert in dialplan:

 

<condition field="destination_number" expression="^2519(.+)$"
break="never">

    <action application="limit" data="hash inbound ETHIOPIA 10/1
!NORMAL_CIRCUIT_CONGESTION" />

</condition>

 

In this way I have limited the session rate for the congestioned
destination where I have so many tries.

 

My dubt remain: I have ramdisk, I have many idle cycles on cpu, the
usage of disk is near zero (dstat) why I cannot handle this session
rate?

 

 

 

On Sat, Jan 21, 2012 at 12:30 AM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:

you can tell that by taking system vitals its hard to tell from the
small amount of data.

I do know that to get those errors, you have to push the core so hard
that the sql stmts queuing up for transactions are getting too large for
the rate at which they are written to the DB.  Try a ramdisk like
Michael suggested.

 

On Fri, Jan 20, 2012 at 3:11 PM, Stephen Wilde <wstephen80 at gmail.com>
wrote:

I'm using ram disk for the FS database "freeswitch/db".

Can the disks (a dedicated couple of 15k rpm scsi 6gb/s in raid 1)
affect the performance?

 

 

On Fri, Jan 20, 2012 at 9:45 PM, Anthony Minessale
<anthony.minessale at gmail.com> wrote:

the box can't handle the load, the disk io from the sql stmts is backing
up the events.

get a nicer box with the money saved from free softswitch =p

 

On Fri, Jan 20, 2012 at 1:22 PM, Christopher Rienzo <cmrienzo at gmail.com>
wrote:

	Did you bind any callbacks to events that might be taking a long
time to process?

	
	
	

	On Fri, Jan 20, 2012 at 1:54 PM, Stephen Wilde
<wstephen80 at gmail.com> wrote:

	I saw "increase the event system capacity" because in the log
there was a row:

	 

	[CRIT] switch_event.c:360 Out of event dispatch threads! Slowing
things down.

	 

	Where it seems that all event dispatch threads are "busy" but I
see that the cpu has many idle cycles so why not increase the number of
dispatch threads?

	Or I'm wrong?

	 

	 

	 

	
________________________________________________________________________
_
	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
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:+19193869900 <tel:%2B19193869900> 


________________________________________________________________________
_
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

 


________________________________________________________________________
_
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
<mailto:MSN%3Aanthony_minessale at hotmail.com> 
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
<mailto:PAYPAL%3Aanthony.minessale at gmail.com> 
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
<mailto:sip%3A888 at conference.freeswitch.org> 
googletalk:conf+888 at conference.freeswitch.org
<mailto:googletalk%3Aconf%2B888 at conference.freeswitch.org> 
pstn:+19193869900 <tel:%2B19193869900> 


________________________________________________________________________
_
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

 

 


Internet Email Confidentiality Footer
-----------------------------------------------------------------------------------------------------
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto. 

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred. 
-----------------------------------------------------------------------------------------------------

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


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