Event system overloading. Taking a 10 second break
When I have many traffic, sometimes it appear in the log: 2012-01-20 17:09:34.028067 [CRIT] switch_event.c:339 Event system overloading. Taking a 10 second break 2012-01-20 17:09:35.036984 [CRIT] switch_event.c:360 Out of event dispatch threads! Slowing things down. Any advise on avoid that? The cpu is running at 40%-50% of load. Stephen
What rev of FreeSWITCH are you running? On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600) On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org 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
Are you load testing? I would update btw. /b On Jan 20, 2012, at 10:18 AM, Stephen Wilde wrote:
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600)
On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org http://www.freeswitch.org
No, it's real traffic on a production server. On Fri, Jan 20, 2012 at 5:29 PM, Brian West <brian@freeswitch.org> wrote:
Are you load testing? I would update btw.
/b
On Jan 20, 2012, at 10:18 AM, Stephen Wilde wrote:
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600)
On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org 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
How many simultaneous calls are you reaching when you are getting this message? Thanks Vitalie 2012/1/20 Stephen Wilde <wstephen80@gmail.com>
No, it's real traffic on a production server.
On Fri, Jan 20, 2012 at 5:29 PM, Brian West <brian@freeswitch.org> wrote:
Are you load testing? I would update btw.
/b
On Jan 20, 2012, at 10:18 AM, Stephen Wilde wrote:
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600)
On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org 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
_________________________________________________________________________ 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
Near 1500 calls, but the CPU is 60% idle. On Fri, Jan 20, 2012 at 6:35 PM, Vitalie Colosov <vetali100@gmail.com>wrote:
How many simultaneous calls are you reaching when you are getting this message?
Thanks Vitalie
2012/1/20 Stephen Wilde <wstephen80@gmail.com>
No, it's real traffic on a production server.
On Fri, Jan 20, 2012 at 5:29 PM, Brian West <brian@freeswitch.org> wrote:
Are you load testing? I would update btw.
/b
On Jan 20, 2012, at 10:18 AM, Stephen Wilde wrote:
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600)
On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org 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
_________________________________________________________________________ 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
The problem seems to be related to the number of session per second because if I lower the maximum sps value (for example with ./fs_cli -x "fsctl sps 30") then in the log appear only "Throttle Error" but not the "Event system overloading". There is a way to increment the "event system capacity" so I can handle more sessions per second? On Fri, Jan 20, 2012 at 6:40 PM, Stephen Wilde <wstephen80@gmail.com> wrote:
Near 1500 calls, but the CPU is 60% idle.
On Fri, Jan 20, 2012 at 6:35 PM, Vitalie Colosov <vetali100@gmail.com>wrote:
How many simultaneous calls are you reaching when you are getting this message?
Thanks Vitalie
2012/1/20 Stephen Wilde <wstephen80@gmail.com>
No, it's real traffic on a production server.
On Fri, Jan 20, 2012 at 5:29 PM, Brian West <brian@freeswitch.org>wrote:
Are you load testing? I would update btw.
/b
On Jan 20, 2012, at 10:18 AM, Stephen Wilde wrote:
FreeSWITCH Version 1.0.head (git-187abe0 2012-01-13 15-55-54 -0600)
On Fri, Jan 20, 2012 at 5:16 PM, Brian West <brian@freeswitch.org> wrote:
What rev of FreeSWITCH are you running?
On Jan 20, 2012, at 10:14 AM, Stephen Wilde wrote:
Any advise on avoid that? The cpu is running at 40%-50% of load.
-- Brian West FreeSWITCH Solutions, LLC Phone: +1 (918) 420-9266 Fax: +1 (918) 420-9267 brian@freeswitch.org 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
_________________________________________________________________________ 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
On Fri, Jan 20, 2012 at 10:10 AM, Stephen Wilde <wstephen80@gmail.com>wrote:
The problem seems to be related to the number of session per second because if I lower the maximum sps value (for example with ./fs_cli -x "fsctl sps 30") then in the log appear only "Throttle Error" but not the "Event system overloading". There is a way to increment the "event system capacity" so I can handle more sessions per second?
"Event system capacity" may very well be a function of the combination of operating system and hardware. Can you tell us the specs on the server? -MC
The server is a Fujitsu rack server with 2 x Xeon 5660 (a total of 12 core @2.8GHz). This is dstat: ----total-cpu-usage---- --net/eth0- usr sys idl wai hiq siq| recv send 28 6 62 0 0 4|5255k 5136k 27 6 63 0 0 3|5139k 5027k The OS is CentOS 5.7 64bit On Fri, Jan 20, 2012 at 7:18 PM, Michael Collins <msc@freeswitch.org> wrote:
On Fri, Jan 20, 2012 at 10:10 AM, Stephen Wilde <wstephen80@gmail.com>wrote:
The problem seems to be related to the number of session per second because if I lower the maximum sps value (for example with ./fs_cli -x "fsctl sps 30") then in the log appear only "Throttle Error" but not the "Event system overloading". There is a way to increment the "event system capacity" so I can handle more sessions per second?
"Event system capacity" may very well be a function of the combination of operating system and hardware. Can you tell us the specs on the server?
-MC
_________________________________________________________________________ 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
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? On Fri, Jan 20, 2012 at 7:18 PM, Michael Collins <msc@freeswitch.org> wrote:
On Fri, Jan 20, 2012 at 10:10 AM, Stephen Wilde <wstephen80@gmail.com>wrote:
The problem seems to be related to the number of session per second because if I lower the maximum sps value (for example with ./fs_cli -x "fsctl sps 30") then in the log appear only "Throttle Error" but not the "Event system overloading". There is a way to increment the "event system capacity" so I can handle more sessions per second?
"Event system capacity" may very well be a function of the combination of operating system and hardware. Can you tell us the specs on the server?
-MC
_________________________________________________________________________ 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
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@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?
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@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@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@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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
On Fri, Jan 20, 2012 at 12:45 PM, Anthony Minessale < anthony.minessale@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
Perhaps putting the db into a ramdrive might help: http://wiki.freeswitch.org/wiki/FreeSWITCH_DB_In_RAMdrive -MC
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@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@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@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@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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
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@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@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@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@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@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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
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@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@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@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@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@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@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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
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@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@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@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@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@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@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@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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@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@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@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@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@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@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@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@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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900 <tel:%2B19193869900> ________________________________________________________________________ _ 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 -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900 <tel:%2B19193869900> ________________________________________________________________________ _ 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 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. -----------------------------------------------------------------------------------------------------
also, do you use presence? We did find an issue recently that caused excess events for presence endpoints. That's the only other thing I can think of, try HEAD On Wed, Jan 25, 2012 at 1:22 PM, Cavalera Claudio Luigi < Claudio.Cavalera@italtel.it> wrote:
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@lists.freeswitch.org [mailto: freeswitch-users-bounces@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@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@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@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@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@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@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@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****
****
** **
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900****
_________________________________________________________________________ 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****
****
** **
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900****
_________________________________________________________________________ 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****
** **
** **
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.
********************************************************************************************************************************************
_________________________________________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Thank you for your reply. I use only external profile with: <param name="manage-presence" value="false"/> I use limit, for example: <action application="limit" data="hash inbound ${destination_number} 1 !NORMAL_CIRCUIT_CONGESTION" /> The server handle media for some calls (1/3 of the total, the others are with bypass_media=true) but the problem is not the number of total calls because it can handle 5000 channels with media without issue. The problem is present only when there are many session per second due to a provider with low ASR (in this case there are many inbound calls due to tries, more then 10.000.000 sessions per day). About ethernet I don't know what can be the issue: the error seems to be internal of the box, related to core freeswitch db. Any suggestion is very appreciated. I'll try with HEAD. Stephen On Wed, Jan 25, 2012 at 8:36 PM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
also,
do you use presence? We did find an issue recently that caused excess events for presence endpoints. That's the only other thing I can think of, try HEAD
On Wed, Jan 25, 2012 at 1:22 PM, Cavalera Claudio Luigi < Claudio.Cavalera@italtel.it> wrote:
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@lists.freeswitch.org [mailto: freeswitch-users-bounces@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@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@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@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@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@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@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@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****
****
** **
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900****
_________________________________________________________________________ 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****
****
** **
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900****
_________________________________________________________________________ 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****
** **
** **
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.
********************************************************************************************************************************************
_________________________________________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn Sent with Sparrow (http://www.sparrowmailapp.com) On Tuesday, January 24, 2012 at 6:20 AM, Stephen Wilde wrote:
Can be useful to run Freeswitch with "-nosql" option? What I lose in this case?
Just try and see. Not much if you don't use help, show channels, show calls etc, and presence.
On Sat, Jan 21, 2012 at 10:04 PM, Stephen Wilde <wstephen80@gmail.com (mailto:wstephen80@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@gmail.com (mailto:anthony.minessale@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@gmail.com (mailto:wstephen80@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@gmail.com (mailto:anthony.minessale@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@gmail.com (mailto:cmrienzo@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@gmail.com (mailto:wstephen80@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@freeswitch.org (mailto: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 (mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com (mailto:MSN%3Aanthony_minessale@hotmail.com) GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com (mailto:PAYPAL%3Aanthony.minessale@gmail.com) IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org (mailto:sip%3A888@conference.freeswitch.org) googletalk:conf+888@conference.freeswitch.org (mailto:googletalk%3Aconf%2B888@conference.freeswitch.org) pstn:+19193869900 (tel:%2B19193869900)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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 (mailto: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 (mailto: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 (mailto: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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com (mailto:MSN%3Aanthony_minessale@hotmail.com) GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com (mailto:PAYPAL%3Aanthony.minessale@gmail.com) IRC: irc.freenode.net (http://irc.freenode.net) #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org (mailto:sip%3A888@conference.freeswitch.org) googletalk:conf+888@conference.freeswitch.org (mailto:googletalk%3Aconf%2B888@conference.freeswitch.org) pstn:+19193869900 (tel:%2B19193869900)
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org (mailto: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 (mailto: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 (mailto: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 (mailto: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
Ok, thank you for your advice. I don't use show channels or presence, I'll try. Stephen On Sun, Jan 29, 2012 at 8:36 AM, Seven Du <dujinfang@gmail.com> wrote:
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
Sent with Sparrow <http://www.sparrowmailapp.com>
On Tuesday, January 24, 2012 at 6:20 AM, Stephen Wilde wrote:
Can be useful to run Freeswitch with "-nosql" option? What I lose in this case?
Just try and see.
Not much if you don't use help, show channels, show calls etc, and presence.
On Sat, Jan 21, 2012 at 10:04 PM, Stephen Wilde <wstephen80@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@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@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@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@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@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@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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
_________________________________________________________________________ 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
participants (8)
-
Anthony Minessale
-
Brian West
-
Cavalera Claudio Luigi
-
Christopher Rienzo
-
Michael Collins
-
Seven Du
-
Stephen Wilde
-
Vitalie Colosov