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

MEGAsync crashes for specific folder when trying to start sync: Unable to add filesystem watch #933

Open
joachimrs opened this issue Apr 12, 2024 · 2 comments

Comments

@joachimrs
Copy link

If I delete the folder and make a new empty one and "Add" a sync, it crashes, too. Something about Filesystem Watch. Do I need to tweak some kernel parameters as I might have some lots of files here...

MEGAprivate ERROR DUMP
Application: MEGAsync [64 bit]
Hash: 601d70b93249eb45a55944c55914fb51
Version code: 50200.2
Module name: MEGA
Timestamp: 1712938112335
Operating system: Linux
System version:  linuxmint 6/#1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01)
System release:  6.1.0-18-amd64
System arch: x86_64
Error info:
Segmentation fault (11) at address 0x98
Stacktrace:
megasync(+0x489f0b) [0x55649bad9f0b]
megasync(+0x489f0b) [0x55649bad9f0b]
megasync(+0x489f3b) [0x55649bad9f3b]
megasync(+0x492ef3) [0x55649bae2ef3]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931f5) [0x55649bae31f5]
megasync(+0x492ee7) [0x55649bae2ee7]
megasync(+0x4931a9) [0x55649bae31a9]
megasync(+0x4c0116) [0x55649bb10116]
megasync(+0x4c05b9) [0x55649bb105b9]
megasync(+0x511d70) [0x55649bb61d70]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xd44a3) [0x7f2fcced44a3]
/lib/x86_64-linux-gnu/libc.so.6(+0x89134) [0x7f2fcd0a8134]
/lib/x86_64-linux-gnu/libc.so.6(+0x1097dc) [0x7f2fcd1287dc]

.megaignore

-:Thumbs.db
-:desktop.ini
-:~*
-:._*
-:.DS_Store
-:*~.*
-:*.crdownload
-:*.sb-????????-??????
-:*.tmp
-:*#
-:*.nosync
-s:*
@tt-mega
Copy link

tt-mega commented Apr 23, 2024

Hello joachimrs,

Please email us at support@mega.nz from the affected email address explaining your issue and we will be happy to help you.

Thanks!

@joachimrs
Copy link
Author

joachimrs commented May 19, 2024

Check you fs.inotify.max_user_watches via
cat /proc/sys/fs/inotify/max_user_watches
if it is 65535 it might not be high enough.
Changing the value in /etc/sysctl.conf or a /etc/sysctl.d/##-megasync-inotify.conf file will help.
There should be a /etc/sysctl.d/99-magesync-inotify-limit.conf which sets
fs.inotify.max_user_watches = 524288
which is the max value.
sysctl -p
loads the new configuration. This works on Linux Mint 21.2. On LMDE6 I had to put the line into /etc/sysctl.conf and it does not seem to persist between reboots. Will investigate further.

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