Closed sudoexec closed 7 months ago
Filesystem used to store the database on: nfs
Please refer to the wiki why using NFS is not a good idea for an database both to prevent db-corruption and performance.
This issue might also be reated to the performance problems of V1 (having to read the entire table) resolved in the upcoming V2.0 release. Please see https://github.com/louislam/uptime-kuma/issues/4500 => Have you checked your retention? What is the size of the database?
The database size is 228M and there're 1531440 records in heartbeat table.
Okay, so just NFS being unsuitable for running a database. Please migrate to local storage instead as suggested in the installation guide.
Thanks for your help. I migrate the storage to hostpath, and it worked.
📑 I have found these related issues/pull requests
No related issues.
🛡️ Security Policy
Description
Deployed in k8s. I have 54 monitors and make them all in groups. The homepage is always return blank pages without any monitors(or waiting for a long time there will show monitors), and the settings page is very slowly. In the devtools,websocket sometimes is pending, sometimes return very slowly(getTags request).
👟 Reproduction steps
At first, there're a few monitors, it works fine. But now I have 54, it doesn't work well. In my situation, when you add more and more monitors, this will reproduce.
👀 Expected behavior
When opening the homepage, show all monitors immediately.
😓 Actual Behavior
The websocket communication is very slowly and sometimes failed.
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
k8s
🌐 Browser
Chromium 123.0.6312.105/FireFox 124.0.2
🖥️ Deployment Environment
📝 Relevant log output