<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-PH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hey guys,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve been having trouble with FreeSwitch for quite some time. We’re trying to use mod_rtmp to add sound to one of our applications, <a href="http://www.321meet.com">www.321meet.com</a>. Unfortunately, FreeSwitch’s CPU usage spikes when the host ( the first one to join the conference ), quits or closes the browser window. I’ve checked and this always happen when the following line is called –<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b>2011-08-24 12:24:28.057200 [NOTICE] rtmp_tcp.c:73 Pollout: true<o:p></o:p></b></p><p class=MsoNormal><b><o:p> </o:p></b></p><p class=MsoNormal>FS Console Log follows :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2011-08-24 12:22:59.177294 [NOTICE] mod_rtmp.c:743 New RTMP session [4a97320c-e50d-4ed3-a59c-4aef799d379d]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:22:59.477278 [NOTICE] rtmp_sig.c:121 Sent connect reply<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:15.597196 [INFO] rtmp_sig.c:136 Replied to createStream (1)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:16.237201 [INFO] rtmp_sig.c:274 Got publish on stream 1.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.177293 [INFO] rtmp_sig.c:136 Replied to createStream (2)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.177293 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.457195 [WARNING] sofia.c:4403 Ping succeeded voip9.telsome.com with code 404 - count -1/1/1, state UP<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.457195 [INFO] rtmp_sig.c:136 Replied to createStream (3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.457195 [NOTICE] switch_channel.c:897 New Channel rtmp/default/3213533 [8e7ccce8-172c-4b91-9183-1ad9d2f0e6dd]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.457195 [ERR] rtmp_sig.c:305 Couldn't create call.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.457195 [WARNING] sofia.c:4403 Ping succeeded testin with code 404 - count -1/1/1, state UP<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.497199 [INFO] mod_dialplan_xml.c:336 Processing <0000000000>->3213533 in context default<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.497199 [NOTICE] mod_rtmp.c:497 Channel [rtmp/default/3213533] has been answered<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.497199 [INFO] mod_conference.c:6644 using channel sound prefix: /usr/local/freeswitch/sounds/en/us/callie<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '0' to 'mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] switch_ivr_async.c:164 Digit parser mod_conference: Setting realm to conf<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '*' to 'deaf mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '9' to 'energy up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '8' to 'energy equ'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '7' to 'energy dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '3' to 'vol talk up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '2' to 'vol talk zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '1' to 'vol talk dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '6' to 'vol listen up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '5' to 'vol listen zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '4' to 'vol listen dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.597289 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '#' to 'hangup'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.797195 [INFO] rtmp_sig.c:159 Sending audio<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:17.797195 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:18.117290 [INFO] rtmp_sig.c:274 Got publish on stream 3.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:36.697195 [ERR] rtmp.c:678 Read error<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:36.697195 [NOTICE] mod_rtmp.c:788 RTMP session ended [4a97320c-e50d-4ed3-a59c-4aef799d379d]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:36.697195 [NOTICE] mod_rtmp.c:803 Hangup rtmp/default/3213533 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:36.777294 [NOTICE] switch_core_session.c:1347 Session 1 (rtmp/default/3213533) Ended<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:36.777294 [NOTICE] switch_core_session.c:1349 Close Channel rtmp/default/3213533 [CS_DESTROY]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:48.237202 [NOTICE] mod_rtmp.c:743 New RTMP session [3ff4786f-7cae-4653-879a-ae95a9d50742]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:48.557204 [NOTICE] rtmp_sig.c:121 Sent connect reply<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:55.357293 [NOTICE] mod_rtmp.c:743 New RTMP session [af763930-9054-4c76-a0eb-9c351e75949d]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:55.757290 [NOTICE] rtmp_sig.c:121 Sent connect reply<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:58.957195 [INFO] rtmp_sig.c:136 Replied to createStream (1)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:23:59.517204 [INFO] rtmp_sig.c:274 Got publish on stream 1.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.557201 [INFO] rtmp_sig.c:136 Replied to createStream (2)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.557201 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.557201 [INFO] rtmp_sig.c:136 Replied to createStream (3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [NOTICE] switch_channel.c:897 New Channel rtmp/default/3213533 [5de55413-5cb9-4c18-8b65-9c438833449f]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [ERR] rtmp_sig.c:305 Couldn't create call.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_dialplan_xml.c:336 Processing <0000000000>->3213533 in context default<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [NOTICE] mod_rtmp.c:497 Channel [rtmp/default/3213533] has been answered<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:6644 using channel sound prefix: /usr/local/freeswitch/sounds/en/us/callie<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '0' to 'mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] switch_ivr_async.c:164 Digit parser mod_conference: Setting realm to conf<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '*' to 'deaf mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '9' to 'energy up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '8' to 'energy equ'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '7' to 'energy dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '3' to 'vol talk up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '2' to 'vol talk zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '1' to 'vol talk dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '6' to 'vol listen up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '5' to 'vol listen zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '4' to 'vol listen dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:00.857222 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '#' to 'hangup'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:01.197247 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:01.197247 [INFO] rtmp_sig.c:274 Got publish on stream 3.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:01.197247 [INFO] rtmp_sig.c:159 Sending audio<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:13.637291 [INFO] rtmp_sig.c:136 Replied to createStream (1)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:14.157289 [INFO] rtmp_sig.c:274 Got publish on stream 1.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] rtmp_sig.c:136 Replied to createStream (2)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] rtmp_sig.c:136 Replied to createStream (3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [NOTICE] switch_channel.c:897 New Channel rtmp/default/3213533 [4e6c35ce-ec56-4ef1-816a-b94704efbfbd]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [ERR] rtmp_sig.c:305 Couldn't create call.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_dialplan_xml.c:336 Processing <0000000000>->3213533 in context default<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [NOTICE] mod_rtmp.c:497 Channel [rtmp/default/3213533] has been answered<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '0' to 'mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] switch_ivr_async.c:164 Digit parser mod_conference: Setting realm to conf<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '*' to 'deaf mute'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '9' to 'energy up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '8' to 'energy equ'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '7' to 'energy dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '3' to 'vol talk up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '2' to 'vol talk zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '1' to 'vol talk dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '6' to 'vol listen up'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '5' to 'vol listen zero'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '4' to 'vol listen dn'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.057195 [INFO] mod_conference.c:7007 rtmp/default/3213533 binding '#' to 'hangup'<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.497196 [WARNING] rtmp.c:99 [amfnumber=2] Unhandled control packet (type=0x3)<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.497196 [INFO] rtmp_sig.c:274 Got publish on stream 3.<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:17.497196 [INFO] rtmp_sig.c:159 Sending audio<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:27.657196 [ERR] rtmp.c:678 Read error<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:27.657196 [NOTICE] mod_rtmp.c:788 RTMP session ended [3ff4786f-7cae-4653-879a-ae95a9d50742]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:27.657196 [NOTICE] mod_rtmp.c:803 Hangup rtmp/default/3213533 [CS_EXECUTE] [DESTINATION_OUT_OF_ORDER]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:27.677201 [NOTICE] switch_core_session.c:1347 Session 2 (rtmp/default/3213533) Ended<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:27.677201 [NOTICE] switch_core_session.c:1349 Close Channel rtmp/default/3213533 [CS_DESTROY]<o:p></o:p></p><p class=MsoNormal>2011-08-24 12:24:28.057200 [NOTICE] rtmp_tcp.c:73 Pollout: true<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Which results to :<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-family:"Courier New"'> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'> 1608 root -2 -10 191m 20m 6588 R 94.3 3.5 5:39.50 fs<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Courier New"'><o:p> </o:p></span></p><p class=MsoNormal>Any ideas? Help is VERY much appreciated. TIA!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-PH'>Regards,<o:p></o:p></span></b></p><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-PH'><o:p> </o:p></span></b></p><p class=MsoNormal><b><span lang=EN-US style='mso-fareast-language:EN-PH'>Erwin D. Merioles<o:p></o:p></span></b></p><div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal style='border:none;padding:0in'><b><span lang=EN-US style='mso-fareast-language:EN-PH'><o:p> </o:p></span></b></p></div><p class=MsoNormal align=center style='text-align:center;line-height:80%'><b><span style='font-size:38.0pt;line-height:80%;mso-fareast-language:EN-PH'>merioles<span style='color:#E36C0A'>.</span><span style='color:#FABF8F'>net</span></span></b><span lang=EN-US style='mso-fareast-language:EN-PH'><o:p></o:p></span></p><p class=MsoNormal align=center style='text-align:center'><b><span lang=EN-US style='color:#A6A6A6;mso-fareast-language:EN-PH'>+63 922 837 9466 | +63 917 501 1010 | +1 760 670 3241<o:p></o:p></span></b></p><div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt;padding:0in 0in 1.0pt 0in'><p class=MsoNormal align=center style='text-align:center;border:none;padding:0in'><b><span lang=EN-US style='color:white;mso-fareast-language:EN-PH'>a</span></b><b><span lang=EN-US style='color:#A6A6A6;mso-fareast-language:EN-PH'>Y!M : erwin_merioles | Skype : erwin.merioles<o:p></o:p></span></b></p></div><p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;color:#7F7F7F;mso-fareast-language:EN-PH'>This message (including any attachments) contains information that may be confidential. Unless you are the intended recipient (or is authorized to receive for the intended recipient), you may not read, print, retain, use, copy, distribute, or disclose to anyone, any information contained here. If you have received this in error, please advise the sender by reply e-mail, and delete all copies of the original message (including attachments).</span><b><span lang=EN-US style='font-size:9.0pt;mso-fareast-language:EN-PH'><o:p></o:p></span></b></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>