RPi slowing down, single core pegged at 100%

Folks,

I am getting a very sluggish response from HAB Panel. I look at ntop and see that one or two cores on my RPi (3B, nothing else running on it) are mostly pegged at 100%.
I have another ssh into it watching log:tail and with that I can see it spools in bursts like it’s waiting for time. It’s not fluid.

I have disabled all rules (moved them out of the folder) and it continues.
I cannot seem to trigger it other than it always seems to happen once I have been editing hab panel.
The only cure (that I have found) is to reboot the RPi

Messages in log are items posting updates about themselves.

What can I investigate when I start seeing this? Or what can I put in place to catch it when it does happen?

Cheers,
C

Could you post an example of the log?
What kind of bindings have you installed, what number/kind of things and items …

Here you go.

Is this considered a lot for and RPi?
Thing is that this amount of chatter does not change but the CPUs seem to be pegged by something I don’t actually trigger myself.

16:01:51.750 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Solar changed from 174 to 170
16:01:51.814 [INFO ] [smarthome.event.ItemStateChangedEvent] - Wetroom_Xiaomi_Temperature changed from 23.260000228881836 to 23.31999969482422
16:01:51.900 [INFO ] [smarthome.event.ItemStateChangedEvent] - Wetroom_Xiaomi_Humidity changed from 39.90999984741211 to 39.849998474121094
16:01:51.984 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.131161 to 1.059016
16:01:52.055 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 561 to 568
16:01:52.161 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.059016 to 1.174685
16:01:52.322 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneRSSI changed from 15 to 16
16:01:52.471 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneUptime changed from 14378 to 14398
16:01:52.619 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneLastSeen changed from 2018-03-27T15:59:10.000+0000 to 2018-03-27T15:59:30.000+0000
16:01:52.820 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.174685 to 1.077745
16:01:52.972 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 568 to 570
16:01:57.305 [INFO ] [ghtwaverf.internal.LightwaveRfBinding] - Update from LightwaveRf ItemName[Power_Solar], State[165]
16:01:57.439 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_MotionSensor_Illumination changed from 355 to 170
16:01:57.577 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_MotionSensor_MotionStatus changed from OFF to ON
16:01:57.651 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.077745 to 1.064226
16:01:57.727 [INFO ] [smarthome.event.ItemStateChangedEvent] - Kitchen_MotionSensor_LastMotion changed from 2018-03-27T15:55:44.258+0000 to 2018-03-27T15:59:50.691+0000
16:01:57.850 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.064226 to 0.977838
16:01:57.921 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Solar changed from 170 to 165
16:01:57.985 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneUptime changed from 14398 to 14418
16:01:58.078 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneLastSeen changed from 2018-03-27T15:59:30.000+0000 to 2018-03-27T15:59:50.000+0000
16:01:58.280 [INFO ] [smarthome.event.ItemStateChangedEvent] - LocalTime_Date changed from 2018-03-27T15:59:02.055+0000 to 2018-03-27T16:00:02.344+0000
16:01:58.473 [INFO ] [smarthome.event.ItemStateChangedEvent] - LocalTime_Date_String changed from 2018-03-27 15:59:02 UTC to 2018-03-27 16:00:02 UTC
16:01:58.673 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 0.977838 to 0.956933
16:01:58.758 [INFO ] [ghtwaverf.internal.LightwaveRfBinding] - Update from LightwaveRf ItemName[Power_Main], State[586]
16:01:58.827 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 570 to 577
16:02:03.336 [INFO ] [smarthome.event.ItemStateChangedEvent] - Utility_Xiaomi_Temperature changed from 23.09000015258789 to 23.200000762939453
16:02:03.424 [INFO ] [smarthome.event.ItemStateChangedEvent] - Utility_Xiaomi_Humidity changed from 40.349998474121094 to 39.88999938964844
16:02:03.513 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 0.956933 to 1.02578
16:02:03.588 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.02578 to 1.057763
16:02:03.658 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 577 to 602
16:02:03.724 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneRSSI changed from 16 to 11
16:02:03.788 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneUptime changed from 14418 to 14438
16:02:03.860 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneLastSeen changed from 2018-03-27T15:59:50.000+0000 to 2018-03-27T16:00:10.000+0000
16:02:03.953 [INFO ] [smarthome.event.ItemStateChangedEvent] - SunElevation changed from 21.28 to 21.14
16:02:04.018 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.057763 to 1.10597
16:02:04.092 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.10597 to 1.107091
16:02:04.170 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.107091 to 1.005535
16:02:04.337 [INFO ] [smarthome.event.ItemStateChangedEvent] - Power_Main changed from 602 to 607
16:02:04.469 [INFO ] [smarthome.event.ItemStateChangedEvent] - TumbleDryer_Power changed from 1.005535 to 1.105508
16:02:04.647 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneRSSI changed from 11 to 12
16:02:04.784 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneUptime changed from 14438 to 14458
16:02:04.931 [INFO ] [smarthome.event.ItemStateChangedEvent] - CrispinPhoneLastSeen changed from 2018-03-27T16:00:10.000+0000 to 2018-03-27T16:00:30.000+0000

Could HABpanel be the culprit?
Is mine to chatty? (although closing all instances of it did not seem to help)
(pic to follow as it’s crashed :slight_smile: )

IMHO the used updaterate is very high, sometimes only seconds! I’m using 5 minutes for my sensors, can you change this rate for sensors?

Not that I can see. I’ve reduced the ubnt one but it’s still very chatty.
The rest of them have no settings I can see.