Hi, I am running 1.0.4 right now using latest trunk. After a high traffic session, I do "show channels", I would find a bunch of "CS_HIBERNATE" channels that don't get removed after all the traffic is gone. Does anyone know what is the case of thoes CS_HIBERNATE'd channels? How can I set a timeout for those channels to be removed? Thanks, Woody
Hi Woody, 2009/8/21 Woody Dickson <woodydickson@gmail.com>:
After a high traffic session, I do "show channels", I would find a bunch of "CS_HIBERNATE" channels that don't get removed after all the traffic is gone.
Does anyone know what is the case of thoes CS_HIBERNATE'd channels? How can I set a timeout for those channels to be removed?
Is this simiilar to "my" bugreport? http://jira.freeswitch.org/browse/FSCORE-415 what do you do in your "high traffic"-scenario? We've got tons of CS_HIBERNATE channels and even the sip stack is somehow affected (ignoring messages) but it looks like it's the scheduler to blame. In your example this would mean that the "garbage collection" for finished sessions is not run. Can you get rid of the channels using "uuid_kill" or a sweeping swipe "fsctl hupall"? Greetinx Beni.
Hi, CS_REPORTING is the state in which cdrs are written, if the channel gets stuck in that state, the cdr module you are using is probably hanging somewhere. Use the "freeswitch-gcore" script in your source tree's scripts directory to generate a bug report for hanging channels. should be like.. cd /usr/src/freeswitch # or whatever your source tree is bash ./scripts/freeswitch-gcore > bugreport.txt then submit it on http://jira.freeswitch.org/ so we can look at it. As you wish, you can also hop on #freeswitch / irc.freenode.net and have someone look into it. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 21-Aug-09, at 5:54 AM, Woody Dickson wrote:
Hi,
I am running 1.0.4 right now using latest trunk.
After a high traffic session, I do "show channels", I would find a bunch of "CS_HIBERNATE" channels that don't get removed after all the traffic is gone.
Does anyone know what is the case of thoes CS_HIBERNATE'd channels? How can I set a timeout for those channels to be removed?
Thanks, Woody _______________________________________________ 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, Yes, I am using cdr, so I guess CS_REPORTING could be a problem. I tried running the core, but I am getting some errors: ./freeswitch-gcore /usr/local/freeswitch/log/freeswitch.gcore.fm5478:1: Error in sourced command file: ptrace: No such process. gcore: failed to create /usr/local/freeswitch/log/freeswitch.gcore.16240 What is the proper way of using freeswitch-gcore? Thanks, Woody On Fri, Aug 21, 2009 at 9:31 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Hi,
CS_REPORTING is the state in which cdrs are written, if the channel gets stuck in that state, the cdr module you are using is probably hanging somewhere.
Use the "freeswitch-gcore" script in your source tree's scripts directory to generate a bug report for hanging channels.
should be like..
cd /usr/src/freeswitch # or whatever your source tree is bash ./scripts/freeswitch-gcore > bugreport.txt
then submit it on http://jira.freeswitch.org/ so we can look at it.
As you wish, you can also hop on #freeswitch / irc.freenode.net and have someone look into it.
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 21-Aug-09, at 5:54 AM, Woody Dickson wrote:
Hi,
I am running 1.0.4 right now using latest trunk.
After a high traffic session, I do "show channels", I would find a bunch of "CS_HIBERNATE" channels that don't get removed after all the traffic is gone.
Does anyone know what is the case of thoes CS_HIBERNATE'd channels? How can I set a timeout for those channels to be removed?
Thanks, Woody _______________________________________________ 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
_______________________________________________ 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,
I tried running the core, but I am getting some errors: ./freeswitch-gcore /usr/local/freeswitch/log/freeswitch.gcore.fm5478:1: Error in sourced command file: ptrace: No such process. gcore: failed to create /usr/local/freeswitch/log/freeswitch.gcore.16240
What is the proper way of using freeswitch-gcore?
I had the same problem... look at the source, it expects the pid file to be in /usr/local/freeswitch/log/freeswitch.pid and freeswitch to be installed at /usr/local/freeswitch/bin/freeswitch you can do that manualle, tough. get the pid of freeswitch (something like "ps waux | grep freeswitch") then run gcore -o freeswitch_coredump1.core [pid found above] gdb [location of freeswitch binary] -c freeswitch_coredump1.core \ --eval-command='set pagination off' \ --eval-command='bt' \ --eval-command='bt full' \ --eval-command='thread apply all bt' \ --eval-command='thread apply all bt full' \ --eval-command='quit' \ > freeswitch_report.txt Beni.
Hi I checked and there is no looping in cdr. Also, only a very small percentage of the channels become zombie. What could cause fs to not releasing the channels? Also, it seems to happen on under high traffic. Could the fact that FS does not receive BYE or BYE timing out on the uac side may cause this problem? Thanks, woody On Fri, Aug 21, 2009 at 9:31 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Hi,
CS_REPORTING is the state in which cdrs are written, if the channel gets stuck in that state, the cdr module you are using is probably hanging somewhere.
Use the "freeswitch-gcore" script in your source tree's scripts directory to generate a bug report for hanging channels.
should be like..
cd /usr/src/freeswitch # or whatever your source tree is bash ./scripts/freeswitch-gcore > bugreport.txt
then submit it on http://jira.freeswitch.org/ so we can look at it.
As you wish, you can also hop on #freeswitch / irc.freenode.net and have someone look into it.
Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca
On 21-Aug-09, at 5:54 AM, Woody Dickson wrote:
Hi,
I am running 1.0.4 right now using latest trunk.
After a high traffic session, I do "show channels", I would find a bunch of "CS_HIBERNATE" channels that don't get removed after all the traffic is gone.
Does anyone know what is the case of thoes CS_HIBERNATE'd channels? How can I set a timeout for those channels to be removed?
Thanks, Woody _______________________________________________ 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
_______________________________________________ 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
Yes try enabling session timers On Aug 22, 2009 3:10 AM, "Woody Dickson" <woodydickson@gmail.com> wrote: Hi I checked and there is no looping in cdr. Also, only a very small percentage of the channels become zombie. What could cause fs to not releasing the channels? Also, it seems to happen on under high traffic. Could the fact that FS does not receive BYE or BYE timing out on the uac side may cause this problem? Thanks, woody On Fri, Aug 21, 2009 at 9:31 PM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
Hi, > > CS_REPORTING is the state in which cdrs are written, if the channel > gets stuck in that...
_______________________________________________ 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 (4)
-
Anthony Minessale
-
Benedikt Fraunhofer
-
Mathieu Rene
-
Woody Dickson