Error: EMFILE too many open files


I don’t know if this is the correct sub because I don’t know if it is a bug.

I would have no clue what would lead to this message, but it is not the case that there are too many open files ! Is there a .json where open files are written to? I only had one file open in the main window, one opened in a detached window.

Here is an image

Any idea what I can do ?

Thank you very much

If search on the forum that error message, what do you find?

Excuse me?

I don’t find an answer that would help. My configured count of open files should suffice.

I would have to read up on how to get open files that are really file-like things without sockets and stuff. But still one can’t say how many open notes that means. Maybe one could filter by .md file-type.

But I think I am well above 2^16:

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


ulimit -Hn

I don’t know which of these two is the significant one but I will read up on what is recommended.

Hi, I got the same error. I have only 5,000 files in the vault.
Try the following command from your user and relaunch the obsidian. It worked for me.

ulimit -n 2048

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.