High cpu usage on EC2 Centos 5.4
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart. Looks like a bug to me.
I can't reproduce this...are you using Ubuntu? /b On Jul 21, 2010, at 6:40 PM, paul gore wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)). On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
What kernel? Stock? /b On Jul 21, 2010, at 7:01 PM, paul gore wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote: Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
2.6.21.7-2.fc8xen #1 SMP, 64 bit. I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status": 14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00 On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
Did you look at it in top -H too or only the FreeSWITCH status screen? Where did the other 14163 calls come from? Was it a "load test"? This is a pretend CPU on a pretend OS. So who knows if you can trust the metrics. What version of FS are you running? if you are on latest have you tried running freeswitch with/without the -heavy-timer flag Does your configuration for the VM have any options on the speed of the kernel. You should have 1000hz in your kernel with realistic timing for best results. Is anything bad even happening? Or are you just bothered by the reported usage? On Thu, Jul 22, 2010 at 8:00 AM, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
_______________________________________________ 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> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
output from top command matches FS status numbers. We use this instance live for light traffic so that's where other calls came from, but there is never more than 4 sessions at a time. We run FS 1.0.6 from tar. We did try -heavy-timer option, but I have seen no difference in CPU load. The kernel does have 1000hz to the best of my knowledge. We had an FS crash last week with core dump, so I think this may be correlated. On 7/22/10, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
you should be using latest git release to get assistance on the list or from jira. On Thu, Jul 22, 2010 at 1:24 PM, paul gore <paul.gore.j@gmail.com> wrote:
output from top command matches FS status numbers. We use this instance live for light traffic so that's where other calls came from, but there is never more than 4 sessions at a time. We run FS 1.0.6 from tar. We did try -heavy-timer option, but I have seen no difference in CPU load. The kernel does have 1000hz to the best of my knowledge. We had an FS crash last week with core dump, so I think this may be correlated.
On 7/22/10, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
_______________________________________________ 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> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
What kind of Amazon EC2 instance are you using? I hope you are not using small instance. Thanks, Chris On Thu, Jul 22, 2010 at 2:24 PM, paul gore <paul.gore.j@gmail.com> wrote:
output from top command matches FS status numbers. We use this instance live for light traffic so that's where other calls came from, but there is never more than 4 sessions at a time. We run FS 1.0.6 from tar. We did try -heavy-timer option, but I have seen no difference in CPU load. The kernel does have 1000hz to the best of my knowledge. We had an FS crash last week with core dump, so I think this may be correlated.
On 7/22/10, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
_______________________________________________ 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
M1.large. I don't see why couldn't I use small one as well for just 4 calls/min? Asterisk and sipx run off the same image just fine. On 7/22/10, Chris Chen <chris.chen2004@gmail.com> wrote:
What kind of Amazon EC2 instance are you using? I hope you are not using small instance. Thanks,
Chris
On Thu, Jul 22, 2010 at 2:24 PM, paul gore <paul.gore.j@gmail.com> wrote:
output from top command matches FS status numbers. We use this instance live for light traffic so that's where other calls came from, but there is never more than 4 sessions at a time. We run FS 1.0.6 from tar. We did try -heavy-timer option, but I have seen no difference in CPU load. The kernel does have 1000hz to the best of my knowledge. We had an FS crash last week with core dump, so I think this may be correlated.
On 7/22/10, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
_______________________________________________ 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
If you install latest git and you still have a problem, we can ssh and examine it for you if you want. On Thu, Jul 22, 2010 at 3:37 PM, paul gore <paul.gore.j@gmail.com> wrote:
M1.large. I don't see why couldn't I use small one as well for just 4 calls/min? Asterisk and sipx run off the same image just fine.
On 7/22/10, Chris Chen <chris.chen2004@gmail.com> wrote:
What kind of Amazon EC2 instance are you using? I hope you are not using small instance. Thanks,
Chris
On Thu, Jul 22, 2010 at 2:24 PM, paul gore <paul.gore.j@gmail.com> wrote:
output from top command matches FS status numbers. We use this instance live for light traffic so that's where other calls came from, but there is never more than 4 sessions at a time. We run FS 1.0.6 from tar. We did try -heavy-timer option, but I have seen no difference in CPU load. The kernel does have 1000hz to the best of my knowledge. We had an FS crash last week with core dump, so I think this may be correlated.
On 7/22/10, paul gore <paul.gore.j@gmail.com> wrote:
2.6.21.7-2.fc8xen #1 SMP, 64 bit.
I think I was wrong about "reloadxml" causing this. I shutdown and restarted but it's still there. Seems like it happens whenever there is more than 1 session going on. Output from "status":
14165 session(s) since startup 2 session(s) 0/30 1000 session(s) max min idle cpu 0.00/53.00
On Wed, Jul 21, 2010 at 8:01 PM, paul gore <paul.gore.j@gmail.com> wrote:
It's not Ubuntu. It's Centos 5.4 on EC2 as stated in the subject. We use FS 1.0.6 from tar archive ( 1.0.6 (svn-exported)).
On Wed, Jul 21, 2010 at 7:40 PM, paul gore <paul.gore.j@gmail.com> wrote:
Apparently high CPU usage only starts happening after "reloadxml" command has been used several times in a row. The issue gets cleared after FS shutdown and restart.
Looks like a bug to me.
_______________________________________________ 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> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (4)
-
Anthony Minessale
-
Brian West
-
Chris Chen
-
paul gore