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

20000 pods page stuck #6213

Closed
mimimamahaoduozi opened this issue Jun 22, 2022 · 6 comments
Closed

20000 pods page stuck #6213

mimimamahaoduozi opened this issue Jun 22, 2022 · 6 comments

Comments

@mimimamahaoduozi
Copy link

Setup

  • Rancher version: 2.6.4
  • Browser type & version: chrome lastest

Describe the bug

To Reproduce

Result

Expected Result

Screenshots

Additional context

Detailed Description

Context

@richard-cox
Copy link
Member

Please can you fill out the issue template.

@nwmac nwmac added the kind/bug label Jun 22, 2022
@mimimamahaoduozi
Copy link
Author

Please can you fill out the issue template.

Describe the bug
I have around 20,000 pods and when I open the page the UI rendering is often blocked.
To Reproduce
You can use 20,000 pods for stress testing
Result
The page freezes or even crashes
Expected Result
The page runs smoothly

@richard-cox
Copy link
Member

  • How many nodes do you have, and can you provide a rough number of total resources?
  • What is the type of your cluster (RKE1, RKE2, k3s, etc)
  • If you refresh the browser whilst on the pods list page how long does it take the initial lists to show?
  • Once the page is loaded, how long does it take to change the sort order of the name column?
  • At any point are there errors in the browsers dev tool's console?

The more information you can provide the easier it is to assist.

@mimimamahaoduozi
Copy link
Author

  • How many nodes do you have, and can you provide a rough number of total resources?
    70 nodes
  • What is the type of your cluster (RKE1, RKE2, k3s, etc)
    RKE1
  • If you refresh the browser whilst on the pods list page how long does it take the initial lists to show?
    api about 14s. render about 5s
  • Once the page is loaded, how long does it take to change the sort order of the name column?
    about 3s
  • At any point are there errors in the browsers dev tool's console?
    have not

When it is critical, my mouse often fails to operate the page, but my mouse can move normally

@gaktive gaktive added this to the v2.7.0 milestone Jul 26, 2022
@nwmac nwmac modified the milestones: v2.7.0, v2.7.1 Aug 30, 2022
@nwmac nwmac modified the milestones: v2.7.next2, v2.7.next3 Mar 31, 2023
@nwmac nwmac modified the milestones: v2.7.next3, v2.7.next4 Jun 8, 2023
@nwmac nwmac modified the milestones: v2.8.0, v2.8.next1 Aug 16, 2023
@richard-cox
Copy link
Member

@mimimamahaoduozi You might be interested in a feature from 2.7.5 that filters resources via the values in the namespace / project filter in the header. This greatly reduces the number of resources fetched by the UI. To enable please go to burger menu top left --> Global Settings --> Performance --> Require Namespace / Project Filtering and check the box and hit Apply.

@richard-cox
Copy link
Member

This falls in the general 'we shouldn't fetch all resources' sphere. There's a current workaround listed in #6213 (comment) and will be fully resolved via #8527

@richard-cox richard-cox removed this from the v2.8.next1 milestone Nov 2, 2023
@zube zube bot removed the [zube]: Done label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants