and you may want to update and try trunk to make sure it's not fixed<br><br><div class="gmail_quote">On Tue, Mar 3, 2009 at 1:56 AM, Mathieu Rene <span dir="ltr"><<a href="mailto:mrene_lists@avgs.ca">mrene_lists@avgs.ca</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;">Yes, you may also link (or copy) the .gdbinit file found in the<br>
support-d folder to your home directory.<br>
This is going to enable some GDB macros written for FS.<br>
<br>
Once thats done you can do the following commands and include them too:<br>
<br>
list_sessions<br>
<br>
hash_it_str_x session_manager.session_table switch_core_session_t<br>
channel->state<br>
<br>
<br>
Its important to know that what you see in "show channels" and "show<br>
calls" is just a DB query to sqlite, Those commands will go directly<br>
in the core and list those sessions.<br>
<br>
Math<br>
<div><div></div><div class="h5"><br>
On 3-Mar-09, at 2:07 AM, rod wrote:<br>
<br>
> Hi Michael,<br>
><br>
> I checked on wiki, is the following the good way to go (sorry I'm not<br>
> very familiar with your debugging tool).<br>
><br>
> $ gdb bin/freeswitch core.xxx<br>
><br>
> bt<br>
> bt full<br>
> thread apply all bt<br>
> thread apply all bt full<br>
><br>
><br>
> If I understand well I have to rerun the tests, as I did not start FS<br>
> using GDB.<br>
><br>
> regards,<br>
> rod<br>
><br>
><br>
><br>
><br>
> Michael Jerris wrote:<br>
>> Could you please post this to jira along with a thread apply all bt<br>
>> of<br>
>> a core file taken from the process with the stuck sessions.<br>
>><br>
>> Mike<br>
>><br>
>> On Mar 2, 2009, at 2:06 AM, rod wrote:<br>
>><br>
>><br>
>>> Hi All,<br>
>>><br>
>>> I ran some longer tests with FS 1.0.3 acting as an SBC.<br>
>>> The test machine has the following specs:<br>
>>> - Intel Quad Core Q9550<br>
>>> - 8GB RAM (far too much from what I saw)<br>
>>><br>
>>> After 3 days running SIPP with 750 simultaneous calls (1500<br>
>>> channels) at<br>
>>> 20cps mean (50cps max) and call duration of 35s, I stopped SIPP.<br>
>>><br>
>>> In the CLI, using status command I got this:<br>
>>><br>
>>> freeswitch@internal> status<br>
>>> UP 0 years, 2 days, 22 hours, 48 minutes, 3 seconds, 859<br>
>>> milliseconds,<br>
>>> 607 microseconds<br>
>>> 15817560 session(s) since startup<br>
>>> 22 session(s) 0/500<br>
>>><br>
>>> But when I use "show channels" or "show calls", I see nothing. So<br>
>>> I'm<br>
>>> wondering where are these 22 sessions ?<br>
>>><br>
>>> FYI, FS has run flawlessly with 750 sim. calls with 25-30% free<br>
>>> CPUs.<br>
>>><br>
>>> Successful call --> 5271434<br>
>>> Failed call ---> 1554 (less than 0.03%)<br>
>>><br>
>>> regards,<br>
>>> rod.<br>
>>><br>
>>><br>
>>><br>
>>> complete SIPP summary:<br>
>>><br>
>>> ------------------------------ Scenario Screen -------- [1-9]:<br>
>>> Change<br>
>>> Screen --<br>
>>> Call-rate(length) Port Total-time Total-calls Remote-host<br>
>>> 50.0(35000 ms)/1.000s 5060 254259.42 s 5273022<br>
>>> 10.10.10.254:5060(UDP)<br>
>>><br>
>>> 0 new calls during 0.856 s period 7 ms scheduler resolution<br>
>>> 0 calls (limit 750) Peak was 750 calls, after<br>
>>> 15 s<br>
>>> 0 Running, 34 Paused, 0 Woken up<br>
>>> 15544 out-of-call msg (discarded)<br>
>>> 1 open sockets<br>
>>> 9213070274 Total echo RTP pckts 1st stream 0.000 last period RTP<br>
>>> rate<br>
>>> (kB/s)<br>
>>> 0 Total echo RTP pckts 2nd stream 0.000 last period RTP rate<br>
>>> (kB/s)<br>
>>><br>
>>> Messages Retrans Timeout<br>
>>> Unexpected-Msg<br>
>>> INVITE ----------> 5273022 0 0<br>
>>> 100 <---------- 5273022 0 1554<br>
>>> 180 <---------- 0 0 0<br>
>>> 183 <---------- 0 0 0<br>
>>> 200 <---------- E-RTD1 5271434 0 0<br>
>>> ACK ----------> 5271434 0<br>
>>> Pause [ 35.0s] 5271434 0<br>
>>> BYE ----------> 5271434 0 0<br>
>>> 200 <---------- 5271434 0 0<br>
>>><br>
>>> ------------------------------ Test Terminated<br>
>>> --------------------------------<br>
>>><br>
>>><br>
>>> ----------------------------- Statistics Screen ------- [1-9]:<br>
>>> Change<br>
>>> Screen --<br>
>>> Start Time | 2009-02-27<br>
>>> 09:11:31<br>
>>> Last Reset Time | 2009-03-02<br>
>>> 07:49:10<br>
>>> Current Time | 2009-03-02<br>
>>> 07:49:11<br>
>>> -------------------------+---------------------------<br>
>>> +--------------------------<br>
>>> Counter Name | Periodic value | Cumulative<br>
>>> value<br>
>>> -------------------------+---------------------------<br>
>>> +--------------------------<br>
>>> Elapsed Time | 00:00:00:857 |<br>
>>> 70:37:39:429<br>
>>> Call Rate | 0.000 cps | 20.739<br>
>>> cps<br>
>>> -------------------------+---------------------------<br>
>>> +--------------------------<br>
>>> Incoming call created | 0 |<br>
>>> 0<br>
>>> OutGoing call created | 0 |<br>
>>> 5273022<br>
>>> Total Call created | |<br>
>>> 5273022<br>
>>> Current Call | 34<br>
>>> |<br>
>>> -------------------------+---------------------------<br>
>>> +--------------------------<br>
>>> Successful call | 0 |<br>
>>> 5271434<br>
>>> Failed call | 0 |<br>
>>> 1554<br>
>>> -------------------------+---------------------------<br>
>>> +--------------------------<br>
>>> Response Time 1 | 00:00:00:000 |<br>
>>> 00:00:00:240<br>
>>> Call Length | 38:32:13:386 |<br>
>>> 00:00:36:131<br>
>>> ------------------------------ Test Terminated<br>
>>> --------------------------------<br>
>>><br>
>><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>
>><br>
>><br>
>><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>
<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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>