Hello Guru,<br><br>You are right. Let me explain the scenario, hope it explain more details.<br><br>My tools and setup:<br>=================<br>A) FreeSwitch 1 ( hardware location in England co-location, internet broadband, running skypeid for example: myuniqueskypeid1 )<br>
<br>B) FreeSwitch 2 ( hardware location in Belgium Office rack, internet broadband, running skypeid for example: myuniqueskypeid2 )<br><br>C) My Laptop ( hardware location in belgium at home, internet broadband, running skypeid for example: myuniqueskypeid99 )<br>
<br><br>Question & Answers:<br>==================<br>1. How do you generate calls?<br>B, C is generating calls<br><br>2. Where the calls go?<br>B, C calling to A (where B,C is trying to flood A)<br><br>3. Dialplan snippet you are using<br>
- I am following our wiki, so there is nothing new<br>- 9999 is music play<br><br>4. Scripts you are using<br>- i am following our wiki, there is nothing new<br><br>5. Skypopen configuration (which skypeuser on which machine)<br>
<br>- A is running 30 instances of 1 unique skypeid and 100% implementation of our wiki<br><br>- B is running 10 instances of 1 new skypeid (skypeid is not same as A) and 100% implementation of our wiki<br>- B make calls to A to block few A channels to test capacity/cpu/ram/results of fall down/bugs/crashes etc: <br>
<br> // I am doing this in fs CLI manually but here what i am doing <br> for ( i = 0; i < 40; i++ ) <br> { <br> // <br> // 5 or 6 Gets connected, the rest loop events cause that error<br> // apply-><br>
//<br> originate skypopen/ANY/myuniqueskypeid1<u></u> 9999 <br> }<br><br> ** ( B keeps calling, when it keeps calling and A gets fail by not finding the audio in/out or etc, then the problem gets started, instantly, CPU usage grows to 90% where it should be in 10% and then the sound of cyclone/storm gets born)<br>
<br>- C is running 1 another unique skypeid as regular skype instance with head phone and microphone, for audio quality control<br>
<br><br><br>Hope i explain correctly. Where B from anywhere able to crash A production switch, that's what happening in my case. <br><br>Thanks & Regards<br><br><br><div class="gmail_quote">On Tue, Sep 28, 2010 at 2:32 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@gmail.com">gmaruzz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Shamun,<br>
<br>
you have not described what you are doing, so I cannot replicate it.<br>
<br>
1) how do you generate calls?<br>
2) where the calls go?<br>
3) dialplan snippet you are using<br>
4) scripts you are using<br>
5) skypopen configuration (which skypeuser on which machine)<br>
<br>
Btw, if you are using the same skypeuser on more than one machine, it<br>
will probably don't work, or confuse the skype clients.<br>
Also, you probably cannot originate from the same skypeuser to the<br>
same skypeuser more than one concurrent call, or it will (probably)<br>
confuse the skype clients.<br>
<br>
-giovanni<br>
<div><div></div><div class="h5">On Tue, Sep 28, 2010 at 1:35 PM, Shamun toha md <<a href="mailto:shamun.toha@gmail.com">shamun.toha@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> This is another strange error i catch by screening it.<br>
><br>
> Materials:<br>
> ===========<br>
><br>
> 1. Switch 1 (30 channels as main simulation server)<br>
> 2. Switch 2 (10 channels connects with in/out audio)<br>
> Step 2.a: 6 times originate skypopen/ANY/skypeswitch1 9999<br>
><br>
> 3. Another PC running skype alone itself as a consumer test, to see what<br>
> happens in reality traffic.<br>
> Step 3.a: 1 times with real skype call skypeswitch1 and listen music quality<br>
><br>
> 4. Medium Flood to switch 1 using remaining switch 2 channels<br>
><br>
> Note: When 7 channels are busy for 2 hours. And Problem 1 gets started, the<br>
> sound gets drop, and start latency, CPU gets overflow, and in the voice<br>
> there is a wind coming from left (like a storm/cyclone started).<br>
><br>
><br>
> Hardware status only for 7 active channels becomes as following:<br>
> ===============================================<br>
> top - 13:15:44 up 3 days, 16:12, 2 users, load average: 13.74, 10.06, 5.64<br>
> Tasks: 178 total, 3 running, 175 sleeping, 0 stopped, 0 zombie<br>
> Cpu(s): 70.4%us, 13.6%sy, 0.0%ni, 15.5%id, 0.2%wa, 0.0%hi, 0.3%si,<br>
> 0.0%st<br>
> Mem: 8177580k total, 3371388k used, 4806192k free, 201836k buffers<br>
> Swap: 2096472k total, 0k used, 2096472k free, 1283920k cached<br>
><br>
><br>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+<br>
> COMMAND<br>
> 18719 root 18 0 434m 96m 6628 S 247.4 1.2 10:59.05<br>
> freeswitch<br>
> 23094 root 15 0 93316 30m 3552 S 10.3 0.4 17:35.42<br>
> skype<br>
> 22932 root 15 0 93568 30m 3556 S 9.0 0.4 20:43.74<br>
> skype<br>
> 22706 root 15 0 92240 29m 3552 S 8.6 0.4 14:55.03<br>
> skype<br>
> .....<br>
><br>
><br>
> Problems1 : Non stop error like this, caused by flooding:<br>
> ========================================<br>
><br>
> 2010-09-28 12:54:45.878273 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
> 2010-09-28 12:54:45.881274 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
> 2010-09-28 12:54:45.883271 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
> 2010-09-28 12:54:45.886277 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
> 2010-09-28 12:54:45.888352 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
> 2010-09-28 12:54:45.891345 [ERR] switch_core_io.c:121 skypopen/interface14<br>
> has no read codec.<br>
><br>
><br>
> AND<br>
><br>
><br>
> 2010-09-28 13:19:04.272557 [ERR] switch_core_io.c:121 skypopen/interface22<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.274541 [ERR] mod_skypopen.c:713 rev<br>
> git2svn-syncpoint-master-296-g25ddef5[(nil)|37 ][ERRORA 713<br>
> ][interface14][-1, 0, 0] channel not ready<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.274541 [ERR] switch_core_io.c:121 skypopen/interface25<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.274541 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.276545 [ERR] switch_core_io.c:121 skypopen/interface22<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.276545 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.276545 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.276545 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.276545 [ERR] switch_core_io.c:121 skypopen/interface25<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.276545 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.278564 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.278564 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.278564 [ERR] mod_skypopen.c:713 rev<br>
> git2svn-syncpoint-master-296-g25ddef5[(nil)|37 ][ERRORA 713<br>
> ][interface14][-1, 0, 0] channel not ready<br>
> 2010-09-28 13:19:04.278564 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.278564 [ERR] switch_core_io.c:121 skypopen/interface22<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.278564 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.280571 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.280571 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.280571 [ERR] switch_core_io.c:121 skypopen/interface25<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.280571 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.280571 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.280571 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
> 2010-09-28 13:19:04.281800 [ERR] switch_core_io.c:121 skypopen/interface22<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.281800 [ERR] switch_core_io.c:121 skypopen/interface25<br>
> has no read codec.<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_ivr_play_say.c:1476 done playing<br>
> file<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_core_file.c:176 File<br>
> /usr/local/freeswitch/sounds/music/8000/partita-no-3-in-e-major-bwv-1006-1-preludio.wav<br>
> sample rate 8000 doesn't match requested rate 16000<br>
> 2010-09-28 13:19:04.281800 [DEBUG] switch_ivr_play_say.c:1162 Codec<br>
> Activated L16@16000hz 1 channels 20ms<br>
><br>
><br>
><br>
><br>
> Switch 1 - sk list<br>
> ================================<br>
><br>
> <a href="mailto:freeswitch@a.com">freeswitch@a.com</a>> sk list<br>
><br>
> sk console is NOT yet assigned<br>
> F ID Name IB (F/T) OB (F/T) State CallFlw UUID<br>
> = ==== ======== ======= ======= ====== ============<br>
> ======<br>
> 1 [interface1] 1/3 0/0 IDLE CALL_IDLE<br>
> 2 [interface2] 0/1 0/0 UP STATUS_INPROGRS<br>
> e2f255cd-89ba-43e0-8d01-bf9579c98ffa<br>
> 3 [interface3] 1/7 0/0 IDLE CALL_IDLE<br>
> 4 [interface4] 0/1 0/0 PREANSW CALL_IDLE<br>
> 1cc57d27-1db7-420e-8459-c27e588fd5b8<br>
> 5 [interface5] 0/1 0/0 UP STATUS_INPROGRS<br>
> 8d4719fe-8567-4c62-9224-8c9766aebc08<br>
> 6 [interface6] 0/0 0/0 IDLE CALL_IDLE<br>
> 7 [interface7] 0/1 0/0 IDLE CALL_IDLE<br>
> 8 [interface8] 0/1 0/0 IDLE CALL_IDLE<br>
> 9 [interface9] 0/2 0/0 IDLE CALL_IDLE<br>
> 10 [interface10] 0/1 0/0 UP STATUS_INPROGRS<br>
> 3ba37a2b-e1ec-436d-86be-76510ca7fe6a<br>
> 11 [interface11] 0/0 0/0 IDLE CALL_IDLE<br>
> 12 [interface12] 1/4 0/0 IDLE CALL_IDLE<br>
> 13 [interface13] 1/8 0/0 IDLE CALL_IDLE<br>
> 14 [interface14] 1/5 0/0 IDLE CALL_IDLE<br>
> 15 [interface15] 0/0 0/0 IDLE CALL_IDLE<br>
> 16 [interface16] 0/1 0/0 PREANSW CALL_IDLE<br>
> 638935df-443d-4f02-af8d-40fb93eb21d4<br>
> 17 [interface17] 0/2 0/0 IDLE CALL_IDLE<br>
> 18 [interface18] 0/1 0/0 UP STATUS_INPROGRS<br>
> 8aec831e-c410-4d85-aa5f-a84c3f364b4e<br>
> 19 [interface19] 1/5 0/0 IDLE CALL_IDLE<br>
> 20 [interface20] 0/1 0/0 IDLE CALL_IDLE<br>
> 21 [interface21] 0/1 0/0 UP STATUS_INPROGRS<br>
> cf26b813-8557-46e0-8dcc-e30bdecce7d9<br>
> 22 [interface22] 6/9 0/0 IDLE CALL_IDLE<br>
> 23 [interface23] 2/5 0/0 PREANSW CALL_IDLE<br>
> a1fa5e30-5491-4941-b54c-1bec882cc4cd<br>
> 24 [interface24] 1/4 0/0 IDLE CALL_IDLE<br>
> 25 [interface25] 2/5 0/0 IDLE CALL_IDLE<br>
> 26 [interface26] 2/5 0/0 UP STATUS_INPROGRS<br>
> 9289a13e-bedc-43d1-92a2-8bec775188c6<br>
> 27 [interface27] 0/1 0/0 IDLE CALL_IDLE<br>
> 28 [interface28] 0/0 0/0 IDLE CALL_IDLE<br>
> 29 [interface29] 0/1 0/0 UP STATUS_INPROGRS<br>
> 32100a1d-38ac-4104-b5d7-35b5c4603a84<br>
> 30 [interface30] 1/2 0/0 IDLE CALL_IDLE<br>
><br>
> Total Interfaces: 30 IB Calls(Failed/Total): 20/78 OB Calls(Failed/Total):<br>
> 0/0<br>
><br>
><br>
><br>
> Switch 2 - sk list<br>
> ========================================<br>
><br>
> <a href="mailto:freeswitch@a.com">freeswitch@a.com</a>><br>
><br>
><br>
> freeswitch@localhost.localdomain> sk list<br>
><br>
> sk console is NOT yet assigned<br>
> F ID Name IB (F/T) OB (F/T) State CallFlw UUID<br>
> = ==== ======== ======= ======= ====== ============<br>
> ======<br>
> 1 [interface1] 0/0 5/8 UP STATUS_INPROGRS<br>
> a7a35355-63de-4734-97a3-18dd97ee2f1e<br>
> 2 [interface2] 0/0 16/17 IDLE CALL_IDLE<br>
> * 3 [interface3] 0/0 0/5 UP STATUS_INPROGRS<br>
> a9256794-fa7f-4fac-bb23-aa3553bf9bb8<br>
> 4 [interface4] 0/0 0/3 UP STATUS_INPROGRS<br>
> 3423612f-8db5-481c-9fe8-a79cdd1234df<br>
> 5 [interface5] 0/1 1/3 UP STATUS_INPROGRS<br>
> 8f0878f5-d830-417a-a9b0-17c6b46f9e56<br>
> 6 [interface6] 0/0 7/8 UP STATUS_INPROGRS<br>
> 60b0b495-3115-42dd-bb18-a8b3d8b71087<br>
> 7 [interface7] 0/0 16/16 IDLE CALL_IDLE<br>
> 8 [interface8] 0/0 1/3 UP STATUS_INPROGRS<br>
> 9da0beb5-0442-4c78-a2ed-ddd3c0852560<br>
> 9 [interface9] 0/0 16/16 IDLE CALL_IDLE<br>
> 10 [interface10] 0/0 16/16 IDLE CALL_IDLE<br>
><br>
> Total Interfaces: 10 IB Calls(Failed/Total): 0/1 OB Calls(Failed/Total):<br>
> 78/95<br>
><br>
> freeswitch@localhost.localdomain><br>
><br>
><br>
><br>
><br>
><br>
><br>
> When ERR switch_core_io.c:121 skypopen/xxxxinterface has no read codec and<br>
> ERR mod_skypopen.c:713 channel not ready gets started, whole active calls<br>
> get affected and this problem gets started.<br>
><br>
><br>
> Thanks for your guide, let me know your tips.<br>
><br>
> Best Regards<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>