-
Notifications
You must be signed in to change notification settings - Fork 814
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
[Bug]: Version 3.15.n seems to be stuck in an infinite loop during "Checking folder changes". HDD is running hot. #7613
Comments
I have the same issue on arch linux also with gnome. My nextcloud folder is located on a ntfs drive (windows dual boot) and mounted using ntfs-3g. I've reverted to 3.14.3 and everything worked again |
Im also running on a NTFS drive! Funny, didn't think of that! Thanks for the input!
|
Same issue with NTFS partition on Arch Linux when using 3.15.0 |
Same Problem on Linux Mint 22 Cinnamon with 3.15 Flatpak Hope this will fixed fast. |
Desktop Client version 3.15.1 still has same issue. |
Desktop Client version 3.15.2 still has same issue. |
Can confirm I experience the same issues running 3.15.2 on Arch using KDE, ext4 formatted drives. I tried downgrading to 3.14.3 but the problem still persists. If I restart nextcloud it will sync fine until I change a file - then it hangs. |
I am also experiencing the same hanging issue on Arch Linux with only ext4 formatted drives. Downgrading to 3.14.1 seems to resolve the issue, but every version after that one leads to UI hangs and seemingly indefinite CPU usage for me. It sounds like the issue only cropped up after 3.14.3 for some users, but I definitely see the same issue with that build, and it sounds like some others here also still saw issues with 3.14.3. If others here could confirm whether 3.14.1 does or doesn't show the same issue, that might help bisect the issue. |
3.13.4 Appimage is running on my Linux Mint 22 the last, that runs normal. |
Just updated on arch... Same result. CPU 100%, flooding logs. I already deleted package cache. How I can download previous version at arch linux? On mirror is already new version. |
Check the arch linux archive for prior versions: https://archive.archlinux.org/ |
I tried to compile it from sources, but after hour it seg faulted in some test |
This did not resolve the issue for me. I did some testing. I find that if I create an empty file ( |
I can confirm the problem (on Debian sid using 3.15.0). |
@mgallien ^ can you please have a look |
I've rebuilt 3.15.2 with 5b2af16 reverted and nextcloud-desktop is working properly again. |
Very nice! Now let's hope that someone from Nextcloud ever sees this and puts this to work. Thanks a lot.
I'd love to put a thumbs up or sth, but github won't let me in anymore since I stupidly activated 2 factor auth. Microsoft is very actively involved in locking people out...
Anyway! Good work! And thanks!
|
For completeness sake, the NTFS partition is mounted like this:
|
I have the same issues using the same account in two different systems having the latest nextcloud client. htop reports 100% CPU while the UI is unresponsive. I have had this behavior in debian and arch linux. My account has around 150000 files This causes disk IO on my desktop to run Debian, as I can hear the drive needle of my HDD working. In Debian, the system is NTFS. In my laptop running arch I am using ext4 storage and get the same behavior. This drains the battery of my laptop and causes it to run hot. To make things worse, the service was auto spawned from the bus service, and I could not even kill the client without it restarting. Can you please tell us what information we need to upload to get help with this issue? |
I've filed a downstream bug report at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091614 and the Debian maintainer was so kind to revert the problematic commit in the Debian package until a proper fix is found. |
3.15.50 version from daily channel still has this bug. (OS: Linux Mint 22) |
Is possible do that same for other distros too? Everytime when I update arch I have to downgrade afterwards nextcloud client, mostly I remember right after 100% cpu and battery drain after 1 hour instead 6h. |
For the record: Version 3.15.3 still has the same issue... I'm glad to see some movement! Thanks! |
Close #7613 Signed-off-by: Matthieu Gallien <[email protected]>
@chris-blues if you can, could you test the AppImage once ready within #7745 ? |
No problem. Does it appear later on that page? Edit: Edit 2: |
Finally it crashed... |
I can confirm. The AppImage still shows the same buggy behaviour |
My NTFS file system type is reported as |
Also fuseblk can be anything baded on FUSE. Like sshfs, ftpfs, webdavfs, etc... |
It's probably better to check for required features then explicit file system types. |
But someone reported bug also on ext4 in comnents. So I will not go only for ntfs-3g. Later in week I can test it on second laptop, where I did not updated yet and nextcloud storage is on btrfs with same content as on other laptop, where it is on ntfs-3g, but snce it was first updated system, i did not updated others. |
Maybe different mount options or maybe it's a different issue which only looks like this one. |
In my /etc/fstab it says |
I fear you might be right here. He have a host of fuse based file systems, file systems with non-UNIX semantics (FAT, NTFS etc). So having a blacklist / whitelist as in #7745 (review) is probably not gonna be maintainable. |
I have ntfs-3g in fstab When I'll get home I'll test update on that laptop with btrfs |
There are several other issues reporting the desktop client freezing in a loop with high CPU usage on Linux desktop for several versions. I have been seeing the issue on every client version after 3.14.1 and only have ext4 file systems. Downgrading to 3.14.1 or below fixes it entirely for me. I think this issue is more than just a file-system specific issue (or if not, there are two issues that present almost identically). |
For the record: Edit: |
If you can reliably reproduce those issues, you can do it like me and run a git bisect to pinpoint the specific change. |
To be clear, the first of those bug reports was filed against the current version, not a previous version so the issue very much still exists. I'm unconvinced that the issues in those threads aren't directly related to the same root issue here. I don't have the technical skills to bisect the client, I just wanted to provide the devs with relevant contextual information. |
This is exactly my case as well. I am running 3.14.0 and it works just fine on my machines, but not 3.14.1 and above. |
I too believe, we're dealing with multiple issues. This issue about NTFS drives clearly started with version 3.15.0. One of the other issues started earlier. Then again, I'm not familiar with the code in question, so dismiss this as you see fit! Edit: |
The problematic commit I could identify is 5b2af16 which you can see is part of |
Still the same on ext4 with the latest AppImage on arch linux. After some syncing, CPU gets to 100% and the client blocks (also the UI). Is the UI blocked for everyone else? EDIT: UI occasionally unblocks but is in practice unusable. |
Yeah, very laggy after a short while. Edit: But quite normal for an infinite loop... |
Ok updated to 3.15.3 on arch with btrfs and seems it's fine. But I tested it over RDP and fluxbox, so I can not see system tray icon to open client, only reading logs and watch top |
That was my first idea and I now get why I did the wrong choice (was not expecting fuse to be in use for example). I will for now white list a couple of file system types that are matching the most common use cases for which the change was introduced. I will try to update the patch with some feature tests later (not sure when I will be able to introduce that). |
people please keep this on topic. |
That seems like a very sensible approach: get a fix out soon with a whitelist for known working file systems (I expect this includes ext* and maybe btrfs and xfs) and have a more elaborate solution for later. Thanks @mgallien ! |
As I tested, btrfs seems be fine. |
It seems a solution is well on the way! Nice work everyone! And thanks! |
Bug description
Debian 12 Linux, Gnome DE, Nextcloud Desktop client 3.15.0
Version 3.15.0 seems to be stuck in an infinite loop during "Checking folder changes". HDD is running hot. I've let it run for 30 minutes and more, just to see if it eventually stops at some point. It doesn't.
General startup of the client seems fine. File sync runs through fine. After that it goes into "Checking folder changes" - that's where it gets stuck in the loop. Reaction times get very slow on every action I take in the client. Gnome offers generic "App not responding, should I kill it or wait" warning. With every older Client (e.g. 3.14.3) it works just fine. So there seems to be some regression introduced in 3.15.0...
Edit: seems to be related to the fact, that there is a NTFS partition involved...
If there's any more info I can provide, please let me know.
Steps to reproduce
Startup Nextcloud-3.15.0-x86_64.AppImage
Wait for the app to start up...
Expected behavior
normal startup without trashing my HDD...
Which files are affected by this bug
folder
Operating system
Linux
Which version of the operating system you are running.
Debian 12
Package
Official Linux AppImage
Nextcloud Server version
30.0.3
Nextcloud Desktop Client version
3.15.0
Is this bug present after an update or on a fresh install?
Updated to a major version (3.14.3 to 3.15.0)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
Are you using an external user-backend?
Nextcloud Server logs
Additional info
No response
The text was updated successfully, but these errors were encountered: