VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
woodydickson at gmail.com Guest
|
Posted: Mon Sep 14, 2009 8:18 am Post subject: [Freeswitch-users] problem with performance testing |
|
|
Hi,
I tried to performance test freeswitch with media proxy thur fs. With 400 cps, I start to see 2000 channels remaining in Freeswitch, and then "no read codec" error starts to pop up. With only 1875 channels, how come freeswitch is complaining about no read codec? Also, I am using media_proxy = true, whey should it need a codec anyway?
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 20:59:16.777675 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 20:59:45.349181 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:45.350179 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 21:00:00.104559 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:04.495545 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:16.996438 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:25.905617 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
freeswitch@mycom.com (freeswitch@mycom.com)> show channels count
API CALL [show(channels count)] output:
1875 total.
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 21:00:36.212767 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
After I paused the traffic from sipp and when sipp finished, I still got a bunch of zombie channels that are in CONSUME_MEDIA stage. What is the cause of these zombies and how can I fix it?
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate,secure
5f013ece-d8a0-4ee0-bce0-3a56c05dc225,outbound,2009-09-14 20:53:55,1252932835,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
9347ea12-7ffb-4e96-8ee9-b2ac1ee57752,outbound,2009-09-14 20:53:57,1252932837,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
5dc2f6f2-7d58-4582-b680-40bb3ed330ef,outbound,2009-09-14 20:54:02,1252932842,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
66361571-b022-42b9-9507-87d1bfc01b03,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
7a075ea5-7c01-4951-b826-cf982df03501,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
bd8c9905-dbab-4ab7-a9af-b7e2b87cc0b0,outbound,2009-09-14 20:54:05,1252932845,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
3af84a6c-02f2-44ae-8a4b-1c7940522005,outbound,2009-09-14 20:54:06,1252932846,sofia/external |
|
Back to top |
|
|
anthony.minessale at g... Guest
|
Posted: Mon Sep 14, 2009 8:23 am Post subject: [Freeswitch-users] problem with performance testing |
|
|
Quote: | Quote: | After I paused the traffic from sipp and when sipp finished, I still got a bunch of zombie channels that are in CONSUME_MEDIA stage. What is the cause of >> these zombies and how can I fix it?
|
|
One way might be to not DDoS your box at 400cps?
(You are out of rtp ports *and* you are pushing your machine too hard.)
Only 1875 channels? hmm..... *shrug*
On Mon, Sep 14, 2009 at 8:08 AM, Woody Dickson <woodydickson@gmail.com (woodydickson@gmail.com)> wrote:
Quote: | Hi,
I tried to performance test freeswitch with media proxy thur fs. With 400 cps, I start to see 2000 channels remaining in Freeswitch, and then "no read codec" error starts to pop up. With only 1875 channels, how come freeswitch is complaining about no read codec? Also, I am using media_proxy = true, whey should it need a codec anyway?
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 20:59:16.777675 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 20:59:45.349181 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:45.350179 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 21:00:00.104559 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:04.495545 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:16.996438 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:25.905617 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
freeswitch@mycom.com (freeswitch@mycom.com)> show channels count
API CALL [show(channels count)] output:
1875 total.
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 21:00:36.212767 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
After I paused the traffic from sipp and when sipp finished, I still got a bunch of zombie channels that are in CONSUME_MEDIA stage. What is the cause of these zombies and how can I fix it?
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate,secure
5f013ece-d8a0-4ee0-bce0-3a56c05dc225,outbound,2009-09-14 20:53:55,1252932835,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
9347ea12-7ffb-4e96-8ee9-b2ac1ee57752,outbound,2009-09-14 20:53:57,1252932837,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
5dc2f6f2-7d58-4582-b680-40bb3ed330ef,outbound,2009-09-14 20:54:02,1252932842,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
66361571-b022-42b9-9507-87d1bfc01b03,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
7a075ea5-7c01-4951-b826-cf982df03501,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
bd8c9905-dbab-4ab7-a9af-b7e2b87cc0b0,outbound,2009-09-14 20:54:05,1252932845,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
3af84a6c-02f2-44ae-8a4b-1c7940522005,outbound,2009-09-14 20:54:06,1252932846,sofia/external
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400 |
|
Back to top |
|
|
tculjaga at gmail.com Guest
|
Posted: Mon Sep 14, 2009 8:53 am Post subject: [Freeswitch-users] problem with performance testing |
|
|
Hi Woody,
well, it is quite hard to answer you back with this logs...
you didn't tell us:
- what machine are you running (CPU/RAM)
- what distro are you running - 32 or 64 bit (i had some lets say "experience" with a wrong selection )
- what is your configuration (dialplan/sip_profiles)
- did you disable all logging?
- what modules are loaded (you should load minimal modules - at least disable conference)
- if you moved the db files to a ram disk
- how do you start the calls (slowly with 10 - 20 CPS or you are DDoS-ing it with 400 right away).
- how long do you keep the calls going?
- what is the the current CPU usage when stresstesting
- what is the amount of read/writes to from/to your HDD
... i could go on and on with the list.
Here Anthony has nothing to tell you except that you reached the maximum and you are currently killing the machine/application
Also, what are you looking for? ... A machine that can do a lot of simultaneous calls or a machine that can do a lot of CPS? you should decide at some point.
I have a lot of experience with commercial SoftSwitches and i can tell you that FreeSWITCH performance is something outstanding ... i'm getting a reliable 500 CPS on just one FS machine (dualcore xeon 2.33 GHz - bogomips 4670). just to compare: NetCentrex as a comercial SoftSwitch can do only 480 CPS (distribuited on 10 nodes)... and of course signaling only. And this is enough to run my 12.000 calls.
Tihomir.
On Mon, Sep 14, 2009 at 3:08 PM, Woody Dickson <woodydickson@gmail.com (woodydickson@gmail.com)> wrote:
Quote: | Hi,
I tried to performance test freeswitch with media proxy thur fs. With 400 cps, I start to see 2000 channels remaining in Freeswitch, and then "no read codec" error starts to pop up. With only 1875 channels, how come freeswitch is complaining about no read codec? Also, I am using media_proxy = true, whey should it need a codec anyway?
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 20:59:16.777675 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:30.815547 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 20:59:45.349181 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 20:59:45.350179 [ERR] sofia_glue.c:2566 AUDIO RTP REPORTS ERROR: []
2009-09-14 21:00:00.104559 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:04.495545 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:16.996438 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
2009-09-14 21:00:25.905617 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
freeswitch@mycom.com (freeswitch@mycom.com)> show channels count
API CALL [show(channels count)] output:
1875 total.
freeswitch@mycom.com (freeswitch@mycom.com)> 2009-09-14 21:00:36.212767 [ERR] switch_core_io.c:118 sofia/external/12323232@192.168.1.116:5911 has no read codec.
After I paused the traffic from sipp and when sipp finished, I still got a bunch of zombie channels that are in CONSUME_MEDIA stage. What is the cause of these zombies and how can I fix it?
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,write_codec,write_rate,secure
5f013ece-d8a0-4ee0-bce0-3a56c05dc225,outbound,2009-09-14 20:53:55,1252932835,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
9347ea12-7ffb-4e96-8ee9-b2ac1ee57752,outbound,2009-09-14 20:53:57,1252932837,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
5dc2f6f2-7d58-4582-b680-40bb3ed330ef,outbound,2009-09-14 20:54:02,1252932842,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
66361571-b022-42b9-9507-87d1bfc01b03,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
7a075ea5-7c01-4951-b826-cf982df03501,outbound,2009-09-14 20:54:03,1252932843,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
bd8c9905-dbab-4ab7-a9af-b7e2b87cc0b0,outbound,2009-09-14 20:54:05,1252932845,sofia/external/12323232@192.168.1.116:5911,CS_CONSUME_MEDIA,sipp,sipp,192.168.1.116,12323232@192.168.1.116:5911,,,XML,default,PROXY,8000,PROXY,8000,
3af84a6c-02f2-44ae-8a4b-1c7940522005,outbound,2009-09-14 20:54:06,1252932846,sofia/external
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org (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
|
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|