After indexing, during compaction, "too many open files" macOS 12.1 Monterey #663
-
Upon first running of elects, indexing goes to completion. Then compaction begins. After several minutes the following error occurs: [2022-01-13T02:23:00.414Z INFO electrs::db] starting config compaction I have increased the file limits using: then run the following to verify: Run electro again, same problem "Too many open files" Any suggestions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Sorry for the typos, should of course be electrs, not elects or electro. |
Beta Was this translation helpful? Give feedback.
-
I got around this by increasing the file limit with |
Beta Was this translation helpful? Give feedback.
I got around this by increasing the file limit with
❯ ulimit --file-descriptor-count 10000
(the number is chosen very arbitrarily). Note that this is only for the currently running process, so it won't persist across terminal windows for example