Announcement

Collapse
No announcement yet.

Isssues with excessive CPU use

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

  • Isssues with excessive CPU use

    I have a service svchost that is using over 50% CPU usage. This seems excessive, and I was wondering if anyone could give me some guidance as how to deal with it. I have shut down Windows Update, and that gave me a bit of headroom but as it is I can't run HomeSeer without it pegging the CPU use.
    Don

  • #2
    Just checked HS3 CPU usage on my HomeTroller S6 and it never gets above 6%. Are you running a HomeTroller or dedicated PC?
    Learn About HomeSeer

    Comment


    • #3
      Hi Mark:

      I'm running a PC that only runs HomeSeer and Cumulus.
      Don

      Comment


      • #4
        Originally posted by donstephens View Post
        Hi Mark:

        I'm running a PC that only runs HomeSeer and Cumulus.
        no plug-ins... no scripts?

        This is my system:

        Current Date/Time: 8/29/2016 4:34:58 PM
        HomeSeer Version: HS3 Pro Edition 3.0.0.296
        Operating System: Microsoft Windows Embedded Standard - Work Station
        System Uptime: 0 Days 1 Hour 14 Minutes 51 Seconds
        IP Address: 192.168.0.75
        Number of Devices: 137
        Number of Events: 105
        Available Threads: 200

        Enabled Plug-Ins
        2.0.85.0: BLRF
        3.0.0.68: HSTouch Server
        3.0.1.91: Z-Wave

        Post your system profile and maybe that will yield some ideas.
        Learn About HomeSeer

        Comment


        • #5
          Ah... not exactly.

          I am now following up on a plugin that I haven't updated in a while. That might be part of my problem. The plugin makes calls to the internet and when disabled, the CPU usage goes into the tolerable range. I've updated it and the CPU usage went down, although not to a really good level. However the svchost dropped way down.

          Current Date/Time: 8/29/2016 2:49:12 PM
          HomeSeer Version: HS3 Pro Edition 3.0.0.293
          Operating System: Microsoft Windows 7 Home Premium - Work Station
          System Uptime: 0 Days 3 Hours 22 Minutes 3 Seconds
          IP Address: 192.168.X.XXX
          Number of Devices: 463
          Number of Events: 185
          Available Threads: 200
          License: Registered
          License:
          User Name and Access Level:
          WAN IP Address:
          Web Server Port: 80
          Location: (Latitude) 46.07 (Longitude) 114.13

          Enabled Plug-Ins
          3.2.0.1: APCUPSD
          2.0.13.0: BLAB8SS
          2.0.8.0: BLEmail
          2.0.5.0: BLGarbage
          2.0.28.0: BLGData
          3.0.14.0: BLMediaPlayer
          2.0.32.0: BLNetCallerId
          2.0.85.0: BLRF
          2.0.52.0: BLSpeech
          2.0.69.0: BLStat
          1.0.0.9: Denon
          3.0.0.103: HSTouch Server
          3.0.0.45: mcsXap
          0.0.0.24: Pushover 3P
          3.0.0.4: Rain8
          3.0.5961.35371: UltraGCIR3
          3.0.0.37: weatherXML
          3.0.0.36: X10
          3.0.1.83: Z-Wave
          Don

          Comment


          • #6
            Only 19 plug-ins? Ya... I guess that combination might be taxing your system a bit. If you open the task manager and check the CPU usage per plug-in, that might shed some light on the issue.
            Learn About HomeSeer

            Comment


            • #7
              @Don,

              Could also be the transport / Internet delays.

              Here run Cumulus on a RPi2. It is a touch chunky.

              Are you running Cumulus of old or CumulusMX?
              - Pete

              Auto mator
              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.8X
              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
              HS4 Pro - V4.0.5.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
              HS4 Lite -

              X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

              Comment


              • #8
                Old, and looking at the Taskmaster, it appears to be behaving.
                Don

                Comment


                • #9
                  Ahh...

                  See you are running HS3 Pro Edition 3.0.0.293. Here still running HS3 Pro 3.0.0.291.

                  I have read things about the event engine misappropriating itself occasionally.

                  Also running Z-Wave plugin version 3.0.1.80, HSTouch Version 3.0.0.94.

                  I've updated it and the CPU usage went down, although not to a really good level. However the svchost dropped way down.

                  Does this mean you are OK now?
                  - Pete

                  Auto mator
                  Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.8X
                  Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                  HS4 Pro - V4.0.5.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                  HS4 Lite -

                  X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                  Comment


                  • #10
                    Still struggling. Disconnected Jeff's weather plugin. watching the CPU usage.
                    Don

                    Comment


                    • #11
                      Here using Jeff's WeatherXML plugin with Cumulus where it is reading the realtime txt file in Linux on the bigger mothership.

                      It is probably hitting the CPU (iSeries here) as it errors out with every read of the realtext file. Always has. There are other issues with Linux version / WeatherXML.

                      Yesterday took down CumulusMX (after about 1 hour) running in mono on a RPi2 because it lost connectivity to the mySQL database running on the HS3 mothership.

                      I don't pay attention to it anymore. Jeff does have a Joggler running Ubuntu and HS3 for testing on it so that he can see the same errors. I understand he has been very busy.

                      What is the CPU / memory and OS of what you are running HS3 on today?

                      I have been able to take HS3 lite to a crawl such that I switched from the RPi to a microPC called the Xi3/Xi5a which is a bit better at running HS3 lite.

                      HS3 Pro is running on an iSeries CPU / 16Gb of memory and Ubuntu 16.04 64 bit. I'm trying to break it and haven't yet.

                      BTW read that Steve of Cumulus is retiring.


                      Code:
                      Aug-31 6:01:02 AM 	  	weatherXML Error 	setForecastDataArray: Method 'System.String[].Set' not found.
                      Aug-31 6:01:03 AM 	  	weatherXML Error 	setForecastDataArray: Method 'System.String[].Set' not found.
                      Aug-31 6:06:01 AM 	  	weatherXML Error 	importCumulusFile: Operator '>' is not defined for type 'String' and type 'Int32'.
                      Aug-31 6:06:01 AM 	  	weatherXML Error 	importCumulusFile Contents: 31/08/16 05:39:52 72.8 91 70.0 0.0 0.0 0 0.00 0.00 29.988 N 0 mph F in in 0.0 -0 .003 1.47 13.73 0.08 69.1 47 72.8 0 72.8 00:00 72.8 00:00 0.0 00:00 0.0 00:00 30 .009 00:03 29.976 04:57 3.0.0 3041 0.0 72.8 87.8 0.0 0.000 0 0 0.00 18 0 0 N 632 ft 80.4 0.0 0 0
                      Aug-31 6:06:02 AM 	  	weatherXML Error 	setDeviceUVObject reference not set to an instance of an object
                      Aug-31 7:01:01 AM 	  	weatherXML Error 	setForecastDataArray: Method 'System.String[].Set' not found.
                      Aug-31 7:01:01 AM 	  	weatherXML Error 	setForecastDataArray: Method 'System.String[].Set' not found.
                      Aug-31 7:06:01 AM 	  	weatherXML Error 	importCumulusFile: Operator '>' is not defined for type 'String' and type 'Int32'.
                      Aug-31 7:06:01 AM 	  	weatherXML Error 	importCumulusFile Contents: 31/08/16 06:45:22 72.8 91 70.0 0.0 0.0 0 0.00 0.00 30.006 N 0 mph F in in 0.0 +0 .005 1.47 13.73 0.08 69.2 50 72.8 0 72.8 00:00 72.8 00:00 0.0 00:00 0.0 00:00 30 .009 00:03 29.976 04:57 3.0.0 3041 0.0 72.8 87.8 0.0 0.000 0 0 0.00 2 1 0 N 632 ft 80.4 0.0 5 0
                      Aug-31 7:06:02 AM 	  	weatherXML Error 	setDeviceUVObject reference not set to an instance of an object
                      Last edited by Pete; August 31st, 2016, 08:41 AM.
                      - Pete

                      Auto mator
                      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.8X
                      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                      HS4 Pro - V4.0.5.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                      HS4 Lite -

                      X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                      Comment


                      • #12
                        OS: Windows 7
                        Processor: AMD A4-5300 APU with Radeon(tm) HD Graphics
                        Memory: 8192MB RAM

                        I've shut down some plugins but still have really high CPU usage.

                        Bummer about Steve retiring. Seems like all the old guard are slipping away.

                        Originally posted by Pete View Post
                        What is the CPU / memory and OS of what you are running HS3 on today?
                        Don

                        Comment


                        • #13
                          Are you running malware / AV on the W7 box?

                          Disable the W7 firewall / AV / Malware stuff for bit and see if that changes anything.

                          Well too shut down HS3 and see if HS3 is the cause of the high CPU usage too.

                          It might be relating to the internet banter combo of HS3 and AV and Malware software.

                          Here do not utilize myhomeseer dot com, amazon integration or anything in the cloud.

                          Relating to dynamic DNS been using same service now over 10 years and it is configured on the PFSense firewall (router).

                          Even shut off in the GUI HS3 still does call home with my internet IP - always an issue for me with HS2.

                          That is me though.

                          Try the uncheck box for myhomeseer dot com. Just that and nothing else for bit.
                          Attached Files
                          - Pete

                          Auto mator
                          Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.8X
                          Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                          HS4 Pro - V4.0.5.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                          HS4 Lite -

                          X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                          Comment


                          • #14
                            Good idea Pete, will try it. For what it's worth, with HS not running CPU drops down to about 4-9%.

                            Just tried it and wow, I saw a significant drop in CPU use. So.. any idea how to regain outside contact and still lower the load?

                            Thanks for the suggestion.
                            Don

                            Comment


                            • #15
                              Thinking it's relating to your satellite internet stuff.

                              Do you have an old antenna tower still up?

                              Can you get any cellular signal where you are at?

                              Been testing cellular failover internet here and it works OK.

                              Do you own any buildings in the nearest town?
                              - Pete

                              Auto mator
                              Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.8X
                              Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.8X
                              HS4 Pro - V4.0.5.0 - Ubuntu 18.04/W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.8X
                              HS4 Lite -

                              X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

                              Comment

                              Working...
                              X