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

Performance Issues: Lag and Crashes – Request for Fix #1858

Open
mikropsoft opened this issue Jun 19, 2024 · 7 comments
Open

Performance Issues: Lag and Crashes – Request for Fix #1858

mikropsoft opened this issue Jun 19, 2024 · 7 comments

Comments

@mikropsoft
Copy link

Since I've been using Umbrel on the RPi5, the performance has been terrible and truly problematic. Even the slightest task or downloading 2-3 apps causes the panel to start running extremely slowly, and sometimes the page even crashes. I would also like to point out that the RAM usage is not even over half, and the CPU usage does not consistently go over 60%. Despite these conditions, these issues still occur. Of course, since the monitoring panel also freezes, it becomes impossible for me to examine this further, but there is no significant strain on the device.

@mayankchhabra
Copy link
Member

Hey @mikropsoft - that doesn't sound normal, I agree. I'm wondering if it's a browser issue vs. performance issue on the device. Would you be able to share the specs of the device you're using to access your Umbrel? Also, are you able to recreate the laggy UI on other devices, such as your phone?

@mikropsoft
Copy link
Author

Hey @mikropsoft - that doesn't sound normal, I agree. I'm wondering if it's a browser issue vs. performance issue on the device. Would you be able to share the specs of the device you're using to access your Umbrel? Also, are you able to recreate the laggy UI on other devices, such as your phone?

No, my devices are powerful enough. For example, I uploaded and confirmed a file in the Stirling PDF application to learn the PDF information from any setting. After that, the CPU usage doesn't even increase, but the page freezes. Then, when I try to access the Umbrel page, it crashes (this is just an example). As a result, it is not a problem with my devices. Overall, the interface is already overloaded.

@mikropsoft
Copy link
Author

mikropsoft commented Jun 19, 2024

By the way, it's not an issue with storage either; my USB device is fast enough. Or let's assume we downloaded a video from Metube. There is no crash during this process, of course. However, when I look at the RAM and CPU usage, there is only a slight increase. Despite this, the web panel operates with extreme latency. If you would like to understand the issue better, I can record a video for you.

@mikropsoft mikropsoft changed the title Sucks Performance (Please Fix) Performance Issues: Lag and Crashes – Request for Fix Jun 19, 2024
@mikropsoft
Copy link
Author

Will it be taken into consideration @mayankchhabra

@nmfretz
Copy link
Collaborator

nmfretz commented Jun 22, 2024

Hey @mikropsoft, would you be able to give us a bit more info on your specific device and browser you are accessing your Umbrel from? As @mayankchhabra mentioned this doesn't sound normal, and it may be something like a browser issue (e.g., a browser compatibility issue for rendering certain elements on the page) and not related to how powerful your devices are. This sounds like your browser is crashing when trying to render certain elements on the page or when making too many requests, not that your Raspberry Pi 5 and umbrelOS itself is crashing.

Could you please let us know:

  1. What device you are using when accessing umbrel.local
  2. What browser you are using when accessing umbrel.local
  3. Do you experience the same issues when accessing umbrel.local from a different device or browser? For example, if the issue occurs when you are on your Windows PC using Firefox, does it also occur from your mobile phone using Chrome?
  4. Posting a video recording here, as you suggest, would be great 🙏

This will help us better understand the issue and potentially identify if it’s a browser compatibility problem or something else.

@mikropsoft
Copy link
Author

Hey @mikropsoft, would you be able to give us a bit more info on your specific device and browser you are accessing your Umbrel from? As @mayankchhabra mentioned this doesn't sound normal, and it may be something like a browser issue (e.g., a browser compatibility issue for rendering certain elements on the page) and not related to how powerful your devices are. This sounds like your browser is crashing when trying to render certain elements on the page or when making too many requests, not that your Raspberry Pi 5 and umbrelOS itself is crashing.

Could you please let us know:

1. What device you are using when accessing umbrel.local

2. What browser you are using when accessing umbrel.local

3. Do you experience the same issues when accessing umbrel.local from a different device or browser? For example, if the issue occurs when you are on your Windows PC using Firefox, does it also occur from your mobile phone using Chrome?

4. Posting a video recording here, as you suggest, would be great 🙏

This will help us better understand the issue and potentially identify if it’s a browser compatibility problem or something else.

1: I use a laptop and a phone connected via LAN when accessing Umbrel.

2: I use Firefox. Previously, I used Brave (both on PC and mobile). The issue is definitely not related to the browser.

3: As mentioned, I previously experienced the same issue on both devices while using Brave. Now, I am using Firefox, and there is no difference.

Recording a video will take some effort, and I will need to make a detailed video since the issue doesn’t occur consistently; it happens rarely. For example, I encounter an error when deleting any photo through Immich, which then causes Umbrel to crash.

I will inform you once I complete the video recording.

@mikropsoft
Copy link
Author

mikropsoft commented Jun 23, 2024

https://gofile.io/d/cig2QQ @mayankchhabra @nmfretz

I acted a bit amateurishly while trying to demonstrate the issue. However, in the end, I was able to show the problem I mentioned. Since this is a rare occurrence, I had to try a bit too hard in the video. Sometimes it would crash even when I was just trying to upload a photo on immich. Additionally, towards the end of the video, I conducted the test using a different browser as well. I would also like to point out that sometimes when I try to log in, it crashes again, but when I click it a second time, I can log in (normal times). Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants