I am testing couchdb with a pool of three workers trying to insert 200,000 entries into couchdb. After several thousand entries, I get 500 {"error": "error", "reason": "emfile"}. Does anyone know what the problem is?
It looks like you are facing this problem: Too many view files may be open, making CouchDB unusable .
Using the _ bulk_docs API can be a way forward.
https://fooobar.com/questions/1361180/index.html