Announcement

Collapse
No announcement yet.

Linux CPU usage > 100%

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Pete
    replied
    Are you still seeing the errors from HSPI_rnbWeather.exe in your logs?

    I have not seen any more errors since redoing the GPS coordinates here in rnb weather. I honestly do not know what it was causing the issue.

    Disable the rnbWeather plugin for a bit and see what happens.

    Same mono version as above listed here on Ubuntu 20.04.

    Top 4 mono hitters in top here are:

    Code:
    root@ICS-HS4:~# ps -fp 379564
    UID PID PPID C STIME TTY TIME CMD
    root 379564 377684 3 Nov12 ? 01:08:29 mono CumulusMX.exe
    root@ICS-HS4:~# ps -fp 10885
    UID PID PPID C STIME TTY TIME CMD
    root 10885 10874 1 Nov10 ? 00:57:58 mono /app/OmniLinkBridge.exe -i -c /app/OmniLinkBridge.ini
    root@ICS-HS4:~# ps -fp 15606
    UID PID PPID C STIME TTY TIME CMD
    root 15606 15550 0 Nov10 ? 00:15:17 /usr/bin/mono /opt/HomeSeer/HSPI_rnbWeather.exe
    root@ICS-HS4:~# ps -fp 15631
    UID PID PPID C STIME TTY TIME CMD
    root 15631 15550 0 Nov10 ? 00:15:26 /usr/bin/mono /opt/HomeSeer/HSPI_WEATHERXML.exe
    root@ICS-HS4:~# ps -fp 15615
    UID PID PPID C STIME TTY TIME CMD
    root 15615 15550 0 Nov10 ? 00:23:18 /usr/bin/mono /opt/HomeSeer/HSPI_MCSMQTT.exe
    Code:
    root@ICS-HS4:~# cat /proc/cpuinfo | grep 'model name' | uniq
    model name : Intel(R) Pentium(R) CPU G4560 @ 3.50GHz
    Code:
    root@ICS-HS4:~# grep MemTotal /proc/meminfo
    MemTotal: 16314596 kB
    I did have weatherxml set to informational logging and saw it filling the logs so changed that setting to errors only.

    Leave a comment:


  • Eman
    replied
    Hello,

    I as your Mono seems fine and was hoping zwolfpack was looking at this, please give a rundown of what if any scripts or running Node-RED (as with Node-RED and/or MQTT) may also cause this issue if disconnected from the server.
    There also may be a script gone rouge. Check your routines in the Event setup and also compare to what's happening in the log.

    Z-wave....???...hmm...


    Eman.

    Leave a comment:


  • avpman
    replied
    This is what I got from #fp -pf 491

    UID PID PPID C STIME TTY TIME CMD
    root 491 1 98 17:59 ? 00:39:57 /usr/bin/mono HSConsole.exe --lo

    Mono version is:
    Mono JIT compiler version 6.12.0.122 (tarball Mon Feb 22 17:33:15 UTC 2021)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS: __thread
    SIGSEGV: altstack
    Notifications: epoll
    Architecture: amd64
    Disabled: none
    Misc: softdebug
    Interpreter: yes
    LLVM: yes(610)
    Suspend: hybrid
    GC: sgen (concurrent by default)


    Any ideas would be greatly appreciated.
    HomeSeer V4.2.5.0
    Linux 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux

    Leave a comment:


  • zwolfpack
    replied
    Not an answer to your question, but can offer some interpretation.

    Run this command
    Code:
    ps -fp 485
    replacing the 485 with the PID from the leftmost column of the top output.

    For me, the top output is
    Code:
    31823 root      20   0  263332 143276  42440 S   1.3   1.8   4250:44 (System)_23-Oct
    and the ps output is
    Code:
    UID        PID  PPID  C STIME TTY          TIME CMD
    root     31823     1 13 Oct23 ?        2-22:50:44 /usr/bin/mono HSConsole.exe --log
    Note the process start time (STIME) of Oct23 corresponds to the value in the top output process label.

    PS. you might find that the 'htop' command output is easier to read than that of 'top'.

    Leave a comment:


  • Eman
    replied
    Could be Mono related (type mono --version)
    What version do you have and if at all run any scripts...


    # htop


    Eman.

    Leave a comment:


  • avpman
    started a topic Linux CPU usage > 100%

    Linux CPU usage > 100%

    From time to time my HS4 Linux install slows to a crawl when I try to access certain screens (logfile in particular). When it happens and I check the Linux TOP command it shows (System)_xx-ABC is using more than 100% of CPU usage. In the output below, run today, it shows (System)_06-Nov but today's date is 11/13. The only remedy is to restart the system.

    What could be causing the drain?

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    485 root 20 0 2562912 332436 36864 S 100.3 4.1 607:10.10 (System)_06-Nov
    946 root 20 0 1777872 168828 31084 S 1.0 2.1 102:09.31 mono
    862 root 20 0 1028348 84100 22372 S 0.3 1.0 22:08.47 mono
Working...
X