Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Gradually increasing CPU utilisation

Featured Replies

Hi,

 

I have a strange problem with CPU utilisation gradually increasing over a period of many weeks to the point that I need to restart the server.  I'm running 6.1.4 on an old HP Microserver with 4 Dockers running:

- Duck DNS

- HomeAssistant

- TasmoAdmin

- Nginx (doing nothing but hosting a single static HTML page which I just use to store shortcuts to various devices on my internal network)

 

After a clean boot CPU utilisation averages about 7-8% but gradually this ramps up to >80% and I notice my HomeAssistant automations become slower and slower to react - things which normally happen almost instantly take several seconds.  After a reboot CPU drops back down and HomeAssistant performance is back to normal again.  It seems to take about 6 weeks to get to this point, but I can see CPU utilisation gradually increasing all the time.  I rebooted last night and after settling down CPU utilisation was:

 

At 11.30pm last night: System 5.5%, Nice 1.4%, User 1.8%

At 8am this morning: System 5.5%, Nice 1.4%, User 3.6%

 

That may not sound like a lot of increase but this is just over the course of ~8 hours (mostly idle) and happens continuously until the server runs out of puff!

 

How can I see what is causing this and is there a solution?

 

Many thanks,

Tim

Run 'htop' from the main console and monitor what process is slowly causing more CPU usage.

  • Author

Thanks!  I'll let the CPU utilisation build up for a while and review.

 

Cheers,
Tim

  • 5 months later...
  • Author

Resurrecting this topic just to follow up in case it helps anyone in the future.  I tracked down the problem to the built-in MQTT broker used by HomeAssistant.  I disabled this, and instead set up Mosquitto in another Docker container and the ever increasing CPU utilisation has stopped.

 

Hope that helps someone!

Tim

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.