wohali commented on issue #763: Reduce default max_dbs_open to 100 URL: https://github.com/apache/couchdb/pull/763#issuecomment-323829640 I will close this PR, but before I do, I'll run some tests as to what we can do to fix this issue. Given recent issues filed I'm not sure what @chewbranca says is true in practice. The especially difficult part is if the system wide `fs.file-max` setting is too low, we may never hit the couchdb process's file handle limit before hitting the kernel max limit, and we start getting emfile/enfile errors anyway. Again for reference on CentOS/RHEL the default `fs.file-max` is 4096, so if you're running 3-4 other fd-hungry daemons on the box, even with the default 1024 fd limit, you're going to run into this situation. Perhaps we need to do more probing on this front, os-dependent as much as possible... If what we're running into is an issue with view shards not db shards, then yeah, we need more. @sagelywizard was working on this in https://github.com/apache/couchdb/pull/477 so perhaps we should close that out as well. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
With regards, Apache Git Services
