[GH-ISSUE #4182] Possible memory leak #2712

Open
opened 2026-02-26 07:36:33 +03:00 by kerem · 4 comments
Owner

Originally created by @rgallo67 on GitHub (Nov 23, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4182

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug
Since last version, the memory used by NPM grows up around 25 MB per day.

Nginx Proxy Manager Version
v2.12.1

To Reproduce
Nothing to do... Only one active proxy host.

Expected behavior
Stable memory consumption, like the previous version.

Screenshots
image

Operating System
Raspberry Pi 4B with 4 GB RAM, OS updated:
Linux raspberrypi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux

Additional context
I see the memory consumption through "Monitor Docker" integration in Home Assistant.

Docker version:
Client: Docker Engine - Community
Version: 27.3.1
API version: 1.47
Go version: go1.22.7
Git commit: ce12230
Built: Fri Sep 20 11:41:19 2024
OS/Arch: linux/arm64
Context: default

Server: Docker Engine - Community
Engine:
Version: 27.3.1
API version: 1.47 (minimum version 1.24)
Go version: go1.22.7
Git commit: 41ca978
Built: Fri Sep 20 11:41:19 2024
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: 1.7.23
GitCommit: 57f17b0a6295a39009d861b89e3b3b87b005ca27
runc:
Version: 1.1.14
GitCommit: v1.1.14-0-g2c9f560
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Originally created by @rgallo67 on GitHub (Nov 23, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/4182 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker image? - Yes - Are you sure you're not using someone else's docker image? - Yes - Have you searched for similar issues (both open and closed)? - Yes **Describe the bug** Since last version, the memory used by NPM grows up around 25 MB per day. **Nginx Proxy Manager Version** v2.12.1 **To Reproduce** Nothing to do... Only one active proxy host. **Expected behavior** Stable memory consumption, like the previous version. **Screenshots** ![image](https://github.com/user-attachments/assets/8ee5691f-2cb8-49cd-97a3-a12005737d5b) **Operating System** Raspberry Pi 4B with 4 GB RAM, OS updated: Linux raspberrypi 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt3 (2024-10-08) aarch64 GNU/Linux **Additional context** I see the memory consumption through "Monitor Docker" integration in Home Assistant. Docker version: Client: Docker Engine - Community Version: 27.3.1 API version: 1.47 Go version: go1.22.7 Git commit: ce12230 Built: Fri Sep 20 11:41:19 2024 OS/Arch: linux/arm64 Context: default Server: Docker Engine - Community Engine: Version: 27.3.1 API version: 1.47 (minimum version 1.24) Go version: go1.22.7 Git commit: 41ca978 Built: Fri Sep 20 11:41:19 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.23 GitCommit: 57f17b0a6295a39009d861b89e3b3b87b005ca27 runc: Version: 1.1.14 GitCommit: v1.1.14-0-g2c9f560 docker-init: Version: 0.19.0 GitCommit: de40ad0
Author
Owner

@rgallo67 commented on GitHub (Feb 8, 2025):

Hi,

The latest versions (2.12.x) have the same behavior, memory grows by around 25MB per day. This problem forces me to restart NPM Docker every few days. The last version I have tested with stable memory was 2.11.3. I always use the same NPM configuration.

Please can you check where the memory leak is?

Thanks and best regards.

<!-- gh-comment-id:2644735792 --> @rgallo67 commented on GitHub (Feb 8, 2025): Hi, The latest versions (2.12.x) have the same behavior, memory grows by around 25MB per day. This problem forces me to restart NPM Docker every few days. The last version I have tested with stable memory was 2.11.3. I always use the same NPM configuration. Please can you check where the memory leak is? Thanks and best regards.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 26, 2025):

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

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

@rgallo67 commented on GitHub (Feb 14, 2026):

Hi,

The problem persists in the latest versions of NPM. Please find a solution.

Thank you.

<!-- gh-comment-id:3901613417 --> @rgallo67 commented on GitHub (Feb 14, 2026): Hi, The problem persists in the latest versions of NPM. Please find a solution. Thank you.
Author
Owner

@rgallo67 commented on GitHub (Feb 21, 2026):

Hi,

Release v2.13.7 memory grows up around 40 Mb per day:

Image

Regards.

<!-- gh-comment-id:3938472440 --> @rgallo67 commented on GitHub (Feb 21, 2026): Hi, Release v2.13.7 memory grows up around 40 Mb per day: <img width="1845" height="400" alt="Image" src="https://github.com/user-attachments/assets/a7f68968-57c3-41b5-a553-3406ad97c519" /> Regards.
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#2712
No description provided.