Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dashboard monitors take long time to appear #3497

Closed
2 tasks done
Zandor300 opened this issue Jul 28, 2023 · 1 comment · Fixed by #3515
Closed
2 tasks done

Dashboard monitors take long time to appear #3497

Zandor300 opened this issue Jul 28, 2023 · 1 comment · Fixed by #3515
Labels
bug Something isn't working

Comments

@Zandor300
Copy link
Contributor

Zandor300 commented Jul 28, 2023

⚠️ Please verify that this bug has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

When opening the dashboard on my Uptime Kuma instance, it takes a long time before the monitors appear on my screen. When looking at the messages being sent through Socket.io, I see that the monitorList message takes around 10 seconds to 2 minutes to be sent after I load the page.

Note that while waiting for this monitorList message to show up, a bunch of uptime and heartbeat messages do come through. When the monitorList message shows up, the monitor list in the browser instantly appears.

While waiting, the page looks like this:

image

Same goes for importantHeartbeatList taking a long time to show up.

Currently running 1.22.1 but this has been a problem for the past +5 minor versions.

Not using the new groups feature.

Startup script:

#!/bin/bash

VERSION="1.22.1"

docker pull louislam/uptime-kuma:$VERSION

docker stop uptime-kuma || true && docker rm uptime-kuma || true

docker run -d \
  --restart=always \
  -p 3001:3001 \
  -v uptime-kuma:/app/data \
  --name uptime-kuma louislam/uptime-kuma:$VERSION

👟 Reproduction steps

Uptime Kuma instance running on DigitalOcean:

  • Basic
  • 2 vCPUs
  • 2 GB RAM
  • 60 GB of storage

Avg RAM usage: ~500MB
Avg CPU usage: 1 vCPU at ~75%, the other doing almost nothing
Disk usage: 47% of 60 GB in use

Just over 100 monitors.
Only using Ping, HTTP(s) and Push monitor types.

Nothing else running on this VPS next to Docker running Uptime Kuma.

image

👀 Expected behavior

Monitors show up within 1-2 seconds.

😓 Actual Behavior

Page loads instantly, but monitors show up after +10 seconds, sometimes 20s or even multiple minutes.

🐻 Uptime-Kuma Version

1.22.1

💻 Operating System and Arch

Ubuntu 20.04 x64

🌐 Browser

Google Chome 115.0.5790.110 (64 bit)

🐋 Docker Version

20.10.10, build b485636

🟩 NodeJS Version

N/a

📝 Relevant log output

Tell me what you need to solve this issue.

@Zandor300 Zandor300 added the bug Something isn't working label Jul 28, 2023
@CommanderStorm
Copy link
Collaborator

I think this is one of the duplicates of #3463
Until we have improved the performance in this area, you can do these steps: #3494 (comment)
If you agree, could you please close this Issue, as duplicates only create immortal zombies and are really hard to issue-manage?
If not, what makes this issue unique enough to require an additional issue? (Could this be integrated into the issue linked above?) ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants