mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1337] Check-Health at 100% CPU usage #1066
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1066
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 @twihno on GitHub (Aug 21, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1337
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
The check-health script starts to use 100% of the resources of one CPU core until the container is restarted again.
Unfortunately, I do not know when exactly this starts to happen.
I can confirm that this problem already existed in v2.9.6 and “survived” a recreation of the app container.
I did neither recreate the database in the meantime nor delete/clear the app volumes.
Nginx Proxy Manager Version
v2.9.7
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Running the check health script shouldn't result in a 100% CPU usage
Screenshots
docker status:
htop:
Operating System
Ubuntu Server 21.04 on rpi 4 8GB
Additional context
Docker version 20.10.8, build 3967b7d
@twihno commented on GitHub (Aug 21, 2021):
docker restart nginx_app_1 nginx_db_1doesn't work either@jc21 commented on GitHub (Aug 22, 2021):
Hmm I do see spikes when the healthcheck is running but it's immediately back to nothing for me.
Docker healthchecks have been found to be horrible on performance for the docker host recently. I wanted to remove the healthcheck from this project and instead people who want it can add it to their docker-compose file. I've hesitated to do this as it would mean anyone with external monitoring setup would have it fail.
But I think I'll remove it anyway, this seems like a good enough reason.