Error: EMFILE too many open files

Hello

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
coreSpotz

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
9223372036854775807

und

ulimit -Hn
1048576

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