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: Fri Aug 21, 2009 5:03 am Post subject: [Freeswitch-users] zombie channels |
|
|
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 |
|
Back to top |
|
|
fraunhofer.lists.frees... Guest
|
Posted: Fri Aug 21, 2009 6:14 am Post subject: [Freeswitch-users] zombie channels |
|
|
Hi Woody,
2009/8/21 Woody Dickson <woodydickson@gmail.com>:
Quote: | 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.
_______________________________________________
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 |
|
Back to top |
|
|
mrene_lists at avgs.ca Guest
|
Posted: Fri Aug 21, 2009 8:43 am Post subject: [Freeswitch-users] zombie channels |
|
|
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:
Quote: | 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 |
|
Back to top |
|
|
woodydickson at gmail.com Guest
|
Posted: Fri Aug 21, 2009 11:37 am Post subject: [Freeswitch-users] zombie channels |
|
|
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 (mrene_lists@avgs.ca)> wrote:
Quote: | 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 (mrene@avgs.ca)
On 21-Aug-09, at 5:54 AM, Woody Dickson wrote:
Quote: | 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 (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 |
|
|
fraunhofer.lists.frees... Guest
|
Posted: Fri Aug 21, 2009 12:09 pm Post subject: [Freeswitch-users] zombie channels |
|
|
Hello,
Quote: | 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' \
Quote: | freeswitch_report.txt
|
Beni.
_______________________________________________
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 |
|
Back to top |
|
|
woodydickson at gmail.com Guest
|
Posted: Sat Aug 22, 2009 3:13 am Post subject: [Freeswitch-users] zombie channels |
|
|
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 (mrene_lists@avgs.ca)> wrote:
Quote: | 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 (mrene@avgs.ca)
On 21-Aug-09, at 5:54 AM, Woody Dickson wrote:
Quote: | 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 (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 |
|
|
anthony.minessale at g... Guest
|
Posted: Sat Aug 22, 2009 1:17 pm Post subject: [Freeswitch-users] zombie channels |
|
|
Yes try enabling session timers
Quote: | On Aug 22, 2009 3:10 AM, "Woody Dickson" <woodydickson@gmail.com (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 (mrene_lists@avgs.ca)> wrote:
Quote: | Quote: | 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 (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
|