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

LMDE6 issue: Megasync crashes on huge sync - Unable to add filesystem watch (Linux Mint Debian Edition) #933

Closed
joachimrs opened this issue Apr 12, 2024 · 1 comment

Comments

@joachimrs
Copy link

joachimrs commented Apr 12, 2024

To resolve this have a look at /etc/sysctl.d/lmde.conf and comment out the fs.inotify.max_user_watches line like so:

kernel.dmesg_restrict=0
# fs.inotify.max_user_watches=65536

When installing megasync-Debian_12_amd64.deb there should be a /etc/sysctl.d/99-megasync-inotify-limit.conf containing:

fs.inotify.max_user_watches = 524288

Unfortunately LMDE6 does not adhere to the old Unix style of '##==Priority' but rather adopts the poettering systemd 'I know better than you in which order I will load .conf files! Shut up!" schema. Being '99' the megasync configuration should be loaded last, but as 'lmde' comes after '99' it is overwritten with the lmde setting of 65k - unless you comment that out, see above. Restart required. After rebooting check with:

$ sysctl fs.inotify
fs.inotify.max_queued_events = 16384
fs.inotify.max_user_instances = 128
fs.inotify.max_user_watches = 524288

It worked and you should be able to 'Desktop Sync' those HUGE directories of useless junk again :)

@tt-mega
Copy link

tt-mega commented Apr 23, 2024

Hello joachimrs,

Please email us at [email protected] from the affected email address explaining your issue and we will be happy to help you.

Thanks!

@joachimrs joachimrs changed the title MEGAsync crashes for specific folder when trying to start sync: Unable to add filesystem watch LMDE6 issue: Megasync crashes on huge sunc - Unable to add filesystem watch (Linux Mint Debian Edition) Jul 2, 2024
@joachimrs joachimrs changed the title LMDE6 issue: Megasync crashes on huge sunc - Unable to add filesystem watch (Linux Mint Debian Edition) LMDE6 issue: Megasync crashes on huge sync - Unable to add filesystem watch (Linux Mint Debian Edition) Jul 3, 2024
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

2 participants