[GH-ISSUE #492] CPU spikes #419

Closed
opened 2026-02-26 06:32:47 +03:00 by kerem · 15 comments
Owner

Originally created by @peptoniet on GitHub (Jul 7, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/492

NPM spikes CPU use every 15 to 40 seconds, without traffic. Can't seem to identify the cause. Even if I block ports 80 and 443 on the router, it still spikes, altough no requests are made. I'm on a EC2 vm and i'd like to reduce this CPU usage. It happens also on a local raspberry pi.

Graphics from Portainer.

Screenshot 2020-07-07 at 07 51 15 Screenshot 2020-07-07 at 07 51 24
Originally created by @peptoniet on GitHub (Jul 7, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/492 NPM spikes CPU use every 15 to 40 seconds, without traffic. Can't seem to identify the cause. Even if I block ports 80 and 443 on the router, it still spikes, altough no requests are made. I'm on a EC2 vm and i'd like to reduce this CPU usage. It happens also on a local raspberry pi. Graphics from Portainer. <img width="593" alt="Screenshot 2020-07-07 at 07 51 15" src="https://user-images.githubusercontent.com/60888144/86722397-237eee00-c027-11ea-82fb-33d20237de83.png"> <img width="598" alt="Screenshot 2020-07-07 at 07 51 24" src="https://user-images.githubusercontent.com/60888144/86722410-25e14800-c027-11ea-8068-0aed79da4b65.png">
kerem 2026-02-26 06:32:47 +03:00
  • closed this issue
  • added the
    stale
    bug
    labels
Author
Owner

@PsychoD commented on GitHub (Jul 7, 2020):

I do also see such spikes on my RPI4
spikes

<!-- gh-comment-id:654717793 --> @PsychoD commented on GitHub (Jul 7, 2020): I do also see such spikes on my RPI4 ![spikes](https://user-images.githubusercontent.com/15204202/86757550-82eaf700-c043-11ea-97f0-2075d63c793b.png)
Author
Owner

@peptoniet commented on GitHub (Jul 22, 2020):

Any news on this matter...?

<!-- gh-comment-id:662477042 --> @peptoniet commented on GitHub (Jul 22, 2020): Any news on this matter...?
Author
Owner

@woorszt commented on GitHub (Oct 3, 2020):

same issue here. no traffic at all during this time
Bildschirmfoto 2020-10-03 um 14 15 56

<!-- gh-comment-id:703094427 --> @woorszt commented on GitHub (Oct 3, 2020): same issue here. no traffic at all during this time <img width="836" alt="Bildschirmfoto 2020-10-03 um 14 15 56" src="https://user-images.githubusercontent.com/71628128/94991370-0359bf00-0583-11eb-9ae7-8cbf3fb6aba3.png">
Author
Owner

@tintamarre commented on GitHub (Oct 20, 2020):

Same here. The process causing the peaks in the container:
213 191 root S 337m 4% 0 0% node --abort_on_uncaught_exception --max_old_space_size=250 index.js

<!-- gh-comment-id:712693568 --> @tintamarre commented on GitHub (Oct 20, 2020): Same here. The process causing the peaks in the container: ```213 191 root S 337m 4% 0 0% node --abort_on_uncaught_exception --max_old_space_size=250 index.js```
Author
Owner

@TopBanana123 commented on GitHub (Nov 3, 2020):

Exact same issue here, zero traffic and it spikes to 10% a few times a minute

CPU

<!-- gh-comment-id:721247883 --> @TopBanana123 commented on GitHub (Nov 3, 2020): Exact same issue here, zero traffic and it spikes to 10% a few times a minute ![CPU](https://user-images.githubusercontent.com/43852644/98015220-28c82b80-1dc2-11eb-8317-20873b7add78.png)
Author
Owner

@peptoniet commented on GitHub (Nov 3, 2020):

Well... it's been 4 months... so sad.

<!-- gh-comment-id:721249091 --> @peptoniet commented on GitHub (Nov 3, 2020): Well... it's been 4 months... so sad.
Author
Owner

@ghost commented on GitHub (Jan 16, 2021):

Got the same Problem on Docker Desktop for Windows 3.0.4 (51218).

I use the latest Image ( Create 2021-01-12 02:34:21 )

<!-- gh-comment-id:761534811 --> @ghost commented on GitHub (Jan 16, 2021): Got the same Problem on Docker Desktop for Windows 3.0.4 (51218). I use the latest Image ( Create 2021-01-12 02:34:21 )
Author
Owner

@RickyCampos commented on GitHub (Feb 21, 2021):

I have the same issue. Docker running over Debian and OMV

image

<!-- gh-comment-id:782775267 --> @RickyCampos commented on GitHub (Feb 21, 2021): I have the same issue. Docker running over Debian and OMV ![image](https://user-images.githubusercontent.com/9297012/108612473-642a4c80-73e9-11eb-81f9-dc409c0ff322.png)
Author
Owner

@MrSliff commented on GitHub (Mar 5, 2021):

Hey guys, maybe this helps:

https://github.com/jc21/nginx-proxy-manager/issues/892

So, deleting the containers and recreate them with the docker-compose file helped in my case.
If you dont have your compose file anymore, get the new and fill in the parameters you are using for your containers, including mounts.

<!-- gh-comment-id:791267331 --> @MrSliff commented on GitHub (Mar 5, 2021): Hey guys, maybe this helps: https://github.com/jc21/nginx-proxy-manager/issues/892 So, deleting the containers and recreate them with the docker-compose file helped in my case. If you dont have your compose file anymore, get the new and fill in the parameters you are using for your containers, including mounts.
Author
Owner

@bpycinski commented on GitHub (Sep 1, 2021):

Hi, I noticed that the spikes disappeared with the newest latest image (released Aug 25). Not sure about earlier versions, I did not use npm for a long time.

<!-- gh-comment-id:910100736 --> @bpycinski commented on GitHub (Sep 1, 2021): Hi, I noticed that the spikes disappeared with the newest `latest` image (released Aug 25). Not sure about earlier versions, I did not use npm for a long time.
Author
Owner

@peptoniet commented on GitHub (Sep 17, 2021):

For now, with latest version, spikes seem to have dissappeared for me too:

Screenshot 2021-09-17 at 17 06 31

Thank you.

<!-- gh-comment-id:921874438 --> @peptoniet commented on GitHub (Sep 17, 2021): For now, with latest version, spikes seem to have dissappeared for me too: <img width="927" alt="Screenshot 2021-09-17 at 17 06 31" src="https://user-images.githubusercontent.com/60888144/133806103-d338e6d1-db23-416f-8ea8-961c51d2b6d3.png"> Thank you.
Author
Owner

@TopBanana123 commented on GitHub (Oct 15, 2021):

Just did a fresh install, and no more CPU spikes. All good!

<!-- gh-comment-id:943865099 --> @TopBanana123 commented on GitHub (Oct 15, 2021): Just did a fresh install, and no more CPU spikes. All good!
Author
Owner

@Ujeeee commented on GitHub (Jan 26, 2022):

Hello, I am newbie to this nginx stuff, and I am confused by my nginx CPU usage. Is this normal? or did something went wrong?

image

<!-- gh-comment-id:1021845785 --> @Ujeeee commented on GitHub (Jan 26, 2022): Hello, I am newbie to this nginx stuff, and I am confused by my nginx CPU usage. Is this normal? or did something went wrong? ![image](https://user-images.githubusercontent.com/76468751/151102954-f943ada0-8582-4667-b4eb-f5fc0b41e01c.png)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 28, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2024254366 --> @github-actions[bot] commented on GitHub (Mar 28, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 7, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2856819658 --> @github-actions[bot] commented on GitHub (May 7, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#419
No description provided.