EMFILE: Too many open files

Things I have tried

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. I also tried fresh snap install with the same errors.

I also checked the:

cat /proc/sys/fs/file-max
9223372036854775807

1 DISTRIB_ID=Ubuntu
2 DISTRIB_RELEASE=22.04
3 DISTRIB_CODENAME=jammy
4 DISTRIB_DESCRIPTION=“Ubuntu 22.04 LTS”
5 PRETTY_NAME=“Ubuntu 22.04 LTS”
6 NAME=“Ubuntu”
7 VERSION_ID=“22.04”
8 VERSION=“22.04 LTS (Jammy Jellyfish)”
9 VERSION_CODENAME=jammy
10 ID=ubuntu
11 ID_LIKE=debian
12 HOME_URL=“https://www.ubuntu.com/”
13 SUPPORT_URL=“https://help.ubuntu.com/”
14 BUG_REPORT_URL=“https://bugs.launchpad.net/ubuntu/”
15 PRIVACY_POLICY_URL=“Data privacy | Ubuntu
16 UBUNTU_CODENAME=jammy

This is it started from the terminal:

$ obsidian
2022-07-18 20:37:24 Loading main app package /snap/obsidian/x1/resources/obsidian.asar
Error org.freedesktop.DBus.Error.Failed: cannot set "default-url-scheme-handler" subproperty "obsidian" setting: exit status 4

(obsidian:60835): Gtk-WARNING **: 21:37:31.430: Theme parsing error: gtk.css:3536:25: 'font-feature-settings' is not a valid property name
Gtk-Message: 21:37:31.442: Failed to load module "colorreload-gtk-module"
Gtk-Message: 21:37:31.442: Failed to load module "window-decorations-gtk-module"
[60835:0718/213731.927264:ERROR:proxy_config_service_linux.cc(614)] inotify_init failed: Too many open files (24)
[60835:0718/213731.943585:ERROR:file_path_watcher_linux.cc(321)] inotify_init() failed: Too many open files (24)
[60835:0718/213735.836021:ERROR:proxy_config_service_linux.cc(614)] inotify_init failed: Too many open files (24)
[61160:0718/213736.529134:ERROR:file_path_watcher_linux.cc(321)] inotify_init() failed: Too many open files (24)
[61149:0718/213739.039469:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
2022-07-18 20:37:39 Checking for update using Github
2022-07-18 20:37:45 Success.
2022-07-18 20:37:45 Latest version is 0.15.6
2022-07-18 20:37:45 App is up to date.
Gtk-Message: 21:37:54.092: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: 21:38:44.712: GtkDialog mapped without a transient parent. This is discouraged.

We strongly recommend searching in the help docs (F1 in the app or online at https://help.obsidian.md) or this forum (Search results for '' - Obsidian Forum) before you post. It’s always sweet to find answers so you don’t have to spend time writing up the post!

If you still can’t find it, please write what you have tried below (e.g. “I searched Mermaid in help docs but couldn’t find anything”) so that we have a better idea how to improve our help docs and this forum.

Please continue below this line: →

What I’m trying to do

I am just trying to open my vault - no luck.