Re: [asterisk-users] Asterisk 13 High CPU usage

2016-08-09 Thread Matthew Jordan
On Sat, Aug 6, 2016 at 11:13 AM, Chirag Desai wrote: > All, > > I upgraded to asterisk 13.10. I have minimal load on the box. 20-30 calls a > day. > > Right now, there are no calls on the box at all. > > top shows me this: > > PR 20 > > NI 0 > > VIRT 1570540 > > RES 84620 >

[asterisk-users] Asterisk 13 High CPU usage

2016-08-06 Thread Chirag Desai
All, I upgraded to asterisk 13.10. I have minimal load on the box. 20-30 calls a day. Right now, there are no calls on the box at all. top shows me this: PR 20 NI 0 VIRT 1570540 RES 84620 SHR 26296 S S %CPU 99.7 %MEM 8.4 TIME+ 3468:39 COMMAND asterisk When I run this command while

Re: [asterisk-users] Asterisk 13 High CPU usage

2016-07-25 Thread Tzafrir Cohen
On Sun, Jul 24, 2016 at 06:39:19PM +0100, ian gilmour wrote: > The following bash 1-liner may be useful... > > while true; do top -Hbc -p `pgrep asterisk` -n 1 && asterisk -rx "core show > threads"; sleep 1; done Just for the kicks: ps --no-headers -L -o lwp,cp --sort lwp `pidof asterisk` \ |

Re: [asterisk-users] Asterisk 13 High CPU usage

2016-07-24 Thread ian gilmour
The following bash 1-liner may be useful... while true; do top -Hbc -p `pgrep asterisk` -n 1 && asterisk -rx "core show threads"; sleep 1; done Regards, Ian On 24/07/2016 13:39, Tzafrir Cohen wrote: > > On Fri, Jul 22, 2016 at 12:02:43AM +0100, Chirag Desai wrote: >> >> I am not sure where

Re: [asterisk-users] Asterisk 13 High CPU usage

2016-07-24 Thread Tzafrir Cohen
On Fri, Jul 22, 2016 at 12:02:43AM +0100, Chirag Desai wrote: > I am not sure where to start looking in order to debug the CPU usage by > asterisk and would very much appreciate some guidance. If you run 'top', the basic information would be to show per-CPU information (press '1'). Another thing

Re: [asterisk-users] Asterisk 13 High CPU usage

2016-07-21 Thread Richard Mudgett
On Thu, Jul 21, 2016 at 6:02 PM, Chirag Desai wrote: > Hi all, > > I was using 13.5 but upgraded today to 13.9 (13.10 came out a few hours > after I upgraded). > > On both 13.5 and 13.9 asterisk seems to use 100% of the CPU. This usually > happens a few hours after starting

[asterisk-users] Asterisk 13 High CPU usage

2016-07-21 Thread Chirag Desai
Hi all, I was using 13.5 but upgraded today to 13.9 (13.10 came out a few hours after I upgraded). On both 13.5 and 13.9 asterisk seems to use 100% of the CPU. This usually happens a few hours after starting asterisk. A restart of asterisk gets the CPU back down, but only for a little while.