-
Notifications
You must be signed in to change notification settings - Fork 3k
NPM using 80-90% CPU as soon as it starts #4520
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
try sharing more info top screenshot |
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 |
try |
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 |
Checklist
jc21/nginx-proxy-manager:latest
docker 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
The text was updated successfully, but these errors were encountered: