Announcement

Collapse
No announcement yet.

CPU spiking when turning a light on or off

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

  • Corvl1
    replied
    This morning again , For Hs4 , the CPU is idling at around 6% now ( after a fresh restart of the computer ca 3% , and when I toggle a lightswitch , it now goes up to ca 20% (after a restart of the computer yesterday it only went up to ca 5%)

    It creeps up slowly.

    Virusscan shows nothing.

    Anyone has an idea how I can troubleshoot this to pinpoint the problem?

    Leave a comment:


  • Corvl1
    replied
    I installed a backup from about 4 weeks ago ( day before yesterday) and recreated the hstiles . All looked fine untill today. Again cpu spikes 70-80 % on HS4 in task manager ( Blue iris remains at about 12%).

    It looks like it has maybe nothing to do with hstiles since the cpu spiked as well when I toggled the switch via the HS4 gui, and no pages were shown on any device.
    -disabled all plugins > no effect , cpu still spiked to 60-70%
    -restarted HS4 > no effect,
    -restarted the whole computer >> all normall.

    I did restart the computer 2 days ago as well after restoring the backup , but today when I checked after 2 days , cpu spikes again.
    rebooted the computer >> all back to normall . CPU usage for HS4 idles around 3% , when I toggle a lightswitch , the cpu for hs4 goes to about 4,5% . so far so good.
    But I expect, soon (tomorrow?) after toggling a lightswitch or so , the CPU will spike again.

    In the mean time I have updated HS4 to 4.2.18.3 ( I was on 4.2.16.0 and was afraid to update reading all the threads concerning issues with 4.2.17.x)

    Anything else I can/need to do?
    In another thread concerning Hstiles , I was told to check defender and antivirus

    Thanks,
    Cornelis

    Leave a comment:


  • Corvl1
    replied
    Rupp : a bit yes , but from 5% to 50% , I thought that was a bit much for a dedicated I7-7700 computer.
    kenm ; That was indeed the issue , jon00hstiles was configured for 10 pages , and I was already on page 12. This caused the CPU to spike big time.
    ewkearns : For BI , I am using since a couple of months the secondary stream as well , as explained on the IPcam forum , and I went from 50% CPU to about 12-13% for BI.

    All is good now , many thanks for looking into this!

    cheers ,
    Cornelis

    Leave a comment:


  • ewkearns
    replied
    I would think that BI could very well be muddying the waters....

    Leave a comment:


  • kenm
    replied
    Corvl1 found this to be a configuration problem with his HSTile setup. https://forums.homeseer.com/forum/3r...57#post1598557

    Leave a comment:


  • Rupp
    replied
    I would expect the CPU of any PC to move a bit when something on the PC is processing. Are you having issues in any way related to the CPU usage?

    Leave a comment:


  • Corvl1
    started a topic CPU spiking when turning a light on or off

    CPU spiking when turning a light on or off

    Hello,

    I am building with Jon00HStiles some pages for walltablets , since I can not install Imperihome anymore on new tablets.

    All seems to work fine , but I noticed some hickups , dealing with this in another thread , but I also noticed a huge CPU spike on HS4 when turning a lightswitch on or off.
    I tried several relays. (Zwave -Fibaro , Wifi -Shelly) , turning it on or off with the HS4 GUI , a tablet , or with the phyicall button it is all the same.

    Normall HS4 idles at 4-5 % .
    When a light is turned on or off with the above mentioned relays the CPU spikes to 50%.
    I never noticed this behaviour before.

    Attached the HS4 log from about 30 minutes.
    Here the moment for example where I turned on a zwave light when the CPU was about 4 % and than went to 50% moments after pressing the physical button:
    3/16/2023 12:24:44
    Legacy-Plugin
    Z-Wave
    Device: 1 Main floor Kitchen Kitchen light Table light Set to ON​
    The computer is a windows 10 with a I7-7700 and only runs only HS4 and Blue iris.

    Idle:

    Click image for larger version

Name:	2023-03-16 11_51_33-Home automation Heubergau - AnyDesk.jpg
Views:	126
Size:	174.9 KB
ID:	1598515

    When a lightswitch is turned on:
    Click image for larger version

Name:	2023-03-16 11_52_50-Home automation Heubergau - AnyDesk.jpg
Views:	78
Size:	170.0 KB
ID:	1598516

    The computer:
    Click image for larger version

Name:	2023-03-16 11_57_28-Home automation Heubergau - AnyDesk.jpg
Views:	77
Size:	76.2 KB
ID:	1598517

    Click image for larger version

Name:	2023-03-16 12_12_16-About.jpg
Views:	80
Size:	162.8 KB
ID:	1598518

    Thanks,
    Cornelis
Working...
X