mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #4520] NPM using 80-90% CPU as soon as it starts #2892
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#2892
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 @javito1081 on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4520
Checklist
jc21/nginx-proxy-manager:latestdocker image?Describe the bug
it started a few days ago, npm is consuming 80-90% of my cpu in 2 process, heres a pic of my htop
https://drive.google.com/file/d/12-ZBtBSNjaHAeP_KC6kEVSnZtHchsYlo/view?usp=sharing
its driving me cracy, i cant make it to be normal again, never seen this b4, logs r useless, theres nothing there, its all like its acting normal
sometimes the name of the command change to nginx worker process is shutting down, but the process id remains the same, if i shutdown npm, my server goes back to normal but that doesnt work all the time, i have it on ubuntu server as a docker with other 12 docker containers, its been runing fine, but the issue started all of a sudden 3 days ago
If i do docker compose -f npm/npm.yml down && docker compose -f npm/npm.yml up -d to restart the container, everything goes back to normal but like i said it doesnt always work, until it starts all over again, sometimes it takes a bit, sometimes it takes longer, but eventually it starts to take 80-90% of my cpu again.
Nginx Proxy Manager Version
v2.12.3
To Reproduce
As soon as i start the container, my cpu goes to 80-90% usage by NPM
Expected behavior
Work as intended with no trafic
Screenshots
Operating System
Ubuntu Server 24.04
Additional context
im using docker compose, heres my file
@theraw commented on GitHub (May 2, 2025):
try sharing more info
top screenshot
amount of websites
amount of logs
amount of traffic
what changes are done to nginx
is it a vps or dedicated server
if vps what are your cpu units set by provider.
docker container logs
nginx error logs
nginx -T output
@javito1081 commented on GitHub (May 2, 2025):
top screenshot
amount of websites
14
amount of logs
amount of traffic
what changes are done to nginx
havent touch it, like i mention i run it with a docker compose file
is it a vps or dedicated server
its a vm on my dedicated proxmox server
if vps what are your cpu units set by provider.
8 cores, 12gb of ram
docker container logs
nginx error logs
nginx -T output
nginx t logs.txt
@theraw commented on GitHub (May 4, 2025):
try
tail -f /data/logs/*.logto check amount of requests, maybe you have too much traffic@javito1081 commented on GitHub (May 5, 2025):
my requests r actually low, but i must post an update, last night i increase the ram on my vm to 16gb, as of now all my issues r gone, ill keep monitoring the situation until tomorrow b4 closing this, but if this was the solution, i hope it works for others as well, i wasnt aware NPM could become so ram hungry lol
@javito1081 commented on GitHub (May 6, 2025):
AIght, im closing this issue, solution was to increase ram on my vm