CPU usage 100%

Discussion in 'General' started by bgon, May 29, 2009.

  1. bgon

    Joined:
    May 29, 2009
    Messages:
    3
    Likes Received:
    0
    Hello all,

    I am new in the Elastix world, and managed to install the Elastix 1.5.2-2 ISO successfuly.

    I have many questions, here is the first one that didnt find an answer already on this forum (at least with the keywords i tried).

    My CPU usage (i see it in the system/info GUI) is 98.55% to 100% always, even without any call made.

    The computer is a Celeron 2.66 Ghz // 512 MO RAM.
    There is no card, only ethernet interface.

    The RAM is used at 25/30 %
    And DD is used at 17 % (increasing 1% everyday i switch it on)

    I was wondering how to debug and see what is wrong, thinking it my be a looping process, or a log using CPU and increasing DD occupation.

    How can i monitor that to find the pb? I went to the asterisk CLI shell, but didnt see any obvious command that could help.

    Thank you all

    PS : screen attached if it worked :p [​IMG]
     
  2. Mirko87

    Joined:
    Oct 20, 2008
    Messages:
    128
    Likes Received:
    0
    mmm... Last month there was a guy with the same problem but his processor was a Quad Core...

    Here is the Topic.. but I can't tell you if he finnaly solve the problem: HERE

    Regards,

    Mirko
     
  3. bgon

    Joined:
    May 29, 2009
    Messages:
    3
    Likes Received:
    0
    Thank you for your interest, yes indeed i found his thread :)
    But i couldn't find any solution in it :(
     
  4. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    With the linux command top you can see which process is consuming your cpu. I'd bet it is asterisk.
    If so, have a look at the logs in /var/log/asterisk/full and maybe you can find out what your problem is.
     
  5. bgon

    Joined:
    May 29, 2009
    Messages:
    3
    Likes Received:
    0
    Thank you :)

    Indeed, asterisk is the main process, using 75% without doing anything ....

    I am trying to "translate" the log file now (full), to understand if something is wrong.

    Do you have any idea how i could control the DD increase? When i started the thread, it was at 17%, now its 20% (of 80Go), taking 1% every hour ....

    Should i control oversized log? any idea?

    Thx :)
     
  6. ronaldlw

    Joined:
    May 7, 2009
    Messages:
    81
    Likes Received:
    0
    Have you been able to resolve this problem?

    It sounds like a problem I was having. The log file was filling up with messages similar to this: chan_iax2.c:XXXX register_verify: No registration for peer 'iaxmodem' (from 127.0.0.1). Normally this error/info should be ok.

    See this Asterisk bug report: https://issues.asterisk.org/view.php?id=14717

    type the following at a bash command prompt:

    tail /var/logs/messages

    and see if you have messages like that showing up.

    If so you should be able to do an update to get the fix.

    yum update

    note this will update everything on your system, there may be a way to just update the affected module, but I'm not sure how.

    good luck!
    Ron
     

Share This Page