You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I often encounter the web interface fails to load or shows a blank screen as described in #5568 (comment) .
I noticed that this issue is exacerbated when disk performance is slow. after some investigation, I think it has something to do with memory consumption. uptime-kuma uses about 0.7G physical memory, but uses a lot of virtual memory.
Since no frequent disk reads and writes were found, I think there may be a potential memory consumption problem or memory leak.
here I take Server1 as an example (about 99 ping monitors):
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
13429 13407 root S 21.3g5067% 1 0% node server/server.js
after restart
37099 37077 root S 11.3g2691% 0 12% node server/server.js
same issues also exist in other servers:
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
20825 20813 root S 21.3g 555% 1 1% node server/server.js
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
2870 2846 root S 11.3g 295% 1 0% node server/server.js
the best case is with 5 monitors and 1.23.13 with sqlite, but still consumes a lot of memory:
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
3960 3922 root S 10.9g 285% 1 4% node server/server.js
localhost:~# uptime
11:38:06 up 49 days, 23:13, 0 users, load average: 0.12, 0.08, 0.02
after restart:
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
30120 30103 root S 1001m 25% 1 2% node server/server.js
π Reproduction steps
run it in a VM with 4GB of RAM and wait
π Expected behavior
expected memory usage is stable
π Actual Behavior
memory usage grows till web ui slow
π» Uptime-Kuma Version
both 2.0.0 and 1.23.13
π» Operating System and Arch
official container
π Browser
Chrome 133.0.6943.127
π₯οΈ Deployment Environment
Runtime: docker standalone 26.1.5
Database: embedded mariadb
Filesystem used to store the database on: ext4
number of monitors: 99
π Relevant log output
The text was updated successfully, but these errors were encountered:
π I have found these related issues/pull requests
it looks like #3788 and #5568 but not exactly the same
π‘οΈ Security Policy
Description
I often encounter the web interface fails to load or shows a blank screen as described in #5568 (comment) .
I noticed that this issue is exacerbated when disk performance is slow. after some investigation, I think it has something to do with memory consumption. uptime-kuma uses about 0.7G physical memory, but uses a lot of virtual memory.
Since no frequent disk reads and writes were found, I think there may be a potential memory consumption problem or memory leak.
here I take Server1 as an example (about 99 ping monitors):
after restart
same issues also exist in other servers:
the best case is with 5 monitors and 1.23.13 with sqlite, but still consumes a lot of memory:
after restart:
π Reproduction steps
run it in a VM with 4GB of RAM and wait
π Expected behavior
expected memory usage is stable
π Actual Behavior
memory usage grows till web ui slow
π» Uptime-Kuma Version
both 2.0.0 and 1.23.13
π» Operating System and Arch
official container
π Browser
Chrome 133.0.6943.127
π₯οΈ Deployment Environment
π Relevant log output
The text was updated successfully, but these errors were encountered: