mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Constant CPU usage #862
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#862
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @iamnague on GitHub (Feb 22, 2022).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
I'm running Uptime-Kuma in docker.
Even with 0 monitoring probe, cpu usage for this docker is constant 0,25%.
The VM has 2 vCPU. Is this a normal behavior ?
I tested other dockers based on node.js, cpu usage is nearly 0%, or 0,01% when idle.
👟 Reproduction steps
Run uptime-kuma in docker then docker stats
👀 Expected behavior
cpu usage arround 0% when idle
😓 Actual Behavior
0,25%
🐻 Uptime-Kuma Version
1.11.4
💻 Operating System and Arch
linux/amd64
🌐 Browser
firefox
🐋 Docker Version
Docker 18.06.2
🟩 NodeJS Version
No response
📝 Relevant log output
No response
@louislam commented on GitHub (Feb 23, 2022):
It is normal, because it is not completely idle actually.
@kroese commented on GitHub (May 17, 2022):
@louislam I have the same issue as described here. Kuma is constantly using 1 to 2 procent of my CPU.
Ofcourse it can never be completely idle, but compared to my other containers it uses a lot of CPU time, especially for such a small task.
Is there any reason why? Ideally it should be able to sleep 99 procent of the time, wakeup for a monitor, and go back to sleep. Why is it constantly hammering the CPU?