apache / couchdb-docker

Semi-official Apache CouchDB Docker images
https://github.com/apache/couchdb-docker
Apache License 2.0
263 stars 136 forks source link

How to do performance optimizations regarding open file descriptors within docker image? #246

Closed klues closed 1 year ago

klues commented 1 year ago

We're currently using CouchDB not running in Docker where we already had to increase the maximum open file descriptors, like described here: https://docs.couchdb.org/en/stable/maintenance/performance.html#maximum-open-file-descriptors-ulimit

Now we are migrating to a new server where CouchDB runs within a Docker container and I'm wondering how I can do these settings for couchDB running in a Docker container? Within the container systemctl is not available, so what should I do instead? Do I also have to raise any limits for docker within the native OS?

klues commented 1 year ago

I've tried to do it like this: https://github.com/asterics/AsTeRICS-Grid/commit/e69cfafb0828f29bf89df4640d0511791d00e445