100% CPU Usage when Asterisk 1.6.0.19 Registers
Hi I'm trying to use Freeswitch as a SBC for a few Asterisk boxes. The Asterisk boxes are individual hosted PBXs but they are configured with identical software. This a x86_64 CentOS 5.4 system. I've tried 1.0.4 and the latest svn with the same results. Basically Freeswitch registers with outbound providers and I can send and receive test calls. Then without warning, i.e. the Asterisk boxes are all idle and there are no calls, the Freeswitch process starts using 100% of the cpu.
I'm using FreeSWITCH in front of Asterisk without any issue. Stick with the latest trunk. Can you set your loglevel to debug and pastebin your log? Here are some additional tips to help us help you :) http://wiki.freeswitch.org/wiki/Reporting_Bugs Rob On Mon, Dec 7, 2009 at 3:34 PM, Spencer Thomason <spencer@5ninesolutions.com
wrote:
Hi I'm trying to use Freeswitch as a SBC for a few Asterisk boxes. The Asterisk boxes are individual hosted PBXs but they are configured with identical software. This a x86_64 CentOS 5.4 system. I've tried 1.0.4 and the latest svn with the same results. Basically Freeswitch registers with outbound providers and I can send and receive test calls. Then without warning, i.e. the Asterisk boxes are all idle and there are no calls, the Freeswitch process starts using 100% of the cpu.
_______________________________________________ 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
We could check it out for you if you want to contact me and give me ssh access. Or I can provide the instructions get it into the 100% cpu usage state then do the following without stopping FS. 1) run top -H and sort so all the FS threads are at the top and screen cap it so we can see which thread id is using the most cpu. 2) make sure you have gdb installed and issue this command from the build root ./support-d/fscore_pb gcore cpu_race_issue then we can compare the thread using the most cpu with the trace and locate your problem. On Mon, Dec 7, 2009 at 3:34 PM, Spencer Thomason <spencer@5ninesolutions.com
wrote:
Hi I'm trying to use Freeswitch as a SBC for a few Asterisk boxes. The Asterisk boxes are individual hosted PBXs but they are configured with identical software. This a x86_64 CentOS 5.4 system. I've tried 1.0.4 and the latest svn with the same results. Basically Freeswitch registers with outbound providers and I can send and receive test calls. Then without warning, i.e. the Asterisk boxes are all idle and there are no calls, the Freeswitch process starts using 100% of the cpu.
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
Hmm.. It doesn't seem to be a problem with Asterisk < 1.6.0.13. Asterisk 1.6.0.15-18 doesn't work because of Asterisk bugs and I only noticed this after an upgrade to 1.6.0.19. We're using xen on all our machines with 250hz timers. Could that be a problem? When I get a change I'll try to recreate this with a few more virtual machines to try to debug it. Spencer On Dec 8, 2009, at 8:22 AM, Anthony Minessale wrote:
We could check it out for you if you want to contact me and give me ssh access. Or I can provide the instructions
get it into the 100% cpu usage state then do the following without stopping FS.
1) run top -H and sort so all the FS threads are at the top and screen cap it so we can see which thread id is using the most cpu. 2) make sure you have gdb installed and issue this command from the build root ./support-d/fscore_pb gcore cpu_race_issue
then we can compare the thread using the most cpu with the trace and locate your problem.
On Mon, Dec 7, 2009 at 3:34 PM, Spencer Thomason <spencer@5ninesolutions.com
wrote: Hi I'm trying to use Freeswitch as a SBC for a few Asterisk boxes. The Asterisk boxes are individual hosted PBXs but they are configured with identical software. This a x86_64 CentOS 5.4 system. I've tried 1.0.4 and the latest svn with the same results. Basically Freeswitch registers with outbound providers and I can send and receive test calls. Then without warning, i.e. the Asterisk boxes are all idle and there are no calls, the Freeswitch process starts using 100% of the cpu.
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org pstn:213-799-1400 _______________________________________________ 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
would not be able to even guess without some data to examine. On Tue, Dec 8, 2009 at 12:14 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hmm.. It doesn't seem to be a problem with Asterisk < 1.6.0.13. Asterisk 1.6.0.15-18 doesn't work because of Asterisk bugs and I only noticed this after an upgrade to 1.6.0.19. We're using xen on all our machines with 250hz timers. Could that be a problem? When I get a change I'll try to recreate this with a few more virtual machines to try to debug it.
Spencer
On Dec 8, 2009, at 8:22 AM, Anthony Minessale wrote:
We could check it out for you if you want to contact me and give me ssh access. Or I can provide the instructions
get it into the 100% cpu usage state then do the following without stopping FS.
1) run top -H and sort so all the FS threads are at the top and screen cap it so we can see which thread id is using the most cpu. 2) make sure you have gdb installed and issue this command from the build root ./support-d/fscore_pb gcore cpu_race_issue
then we can compare the thread using the most cpu with the trace and locate your problem.
On Mon, Dec 7, 2009 at 3:34 PM, Spencer Thomason < spencer@5ninesolutions.com> wrote:
Hi I'm trying to use Freeswitch as a SBC for a few Asterisk boxes. The Asterisk boxes are individual hosted PBXs but they are configured with identical software. This a x86_64 CentOS 5.4 system. I've tried 1.0.4 and the latest svn with the same results. Basically Freeswitch registers with outbound providers and I can send and receive test calls. Then without warning, i.e. the Asterisk boxes are all idle and there are no calls, the Freeswitch process starts using 100% of the cpu.
_______________________________________________ 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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 _______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
participants (3)
-
Anthony Minessale
-
Rob Forman
-
Spencer Thomason