After upgrading to 0.15.6, Obsidian can’t open any vaults, showing the “An error occurred while loading Obsidian. EMFILE: too many open files, watch …” error message.
Console output is:
~/Programs/Obsidian/Obsidian-0.14.15.AppImage
2022-07-15 16:09:41 Loading updated app package /home/alex/.config/obsidian/obsidian-0.15.6.asar
[4451:0715/190942.574321:ERROR:file_path_watcher_linux.cc(321)] inotify_init() failed: Too many open files (24)
[4451:0715/190942.626681:ERROR:proxy_config_service_linux.cc(614)] inotify_init failed: Too many open files (24)
2022-07-15 16:09:42 Checking for update using Github
[4527:0715/190942.698753:ERROR:file_path_watcher_linux.cc(321)] inotify_init() failed: Too many open files (24)
2022-07-15 16:09:42 Success.
2022-07-15 16:09:42 Latest version is 0.15.6
2022-07-15 16:09:42 App is up to date.
[4523:0715/190942.846221:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
Trying to switch to other vaults give the same error message.
OpenSuSe 15.4, previous Obsidian version worked Ok.
Alas, I can’t paste the debug info because I can’t start the Obsidian – it hangs with the error message.
One more note:
after deleting the ~/.config/obsidian I managed to get to the “open\create vault” page, but obsidian hangs with the same error message even if I create a new empty vault.
To be honest - I have been having the same issue on and off for the last three updates:
Currently on Kubuntu 22.04 on Appimage with a Folder size of 82.2Mb, 1184 files and 114 subfolders.