You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try lowering max_dbs_open. The default is 500 so maybe try making it 400 or 300.
When running in docker, Erlang VM doesn't always do a good job auto-detecting the CPU quotas so it would start a scheduler thread for each core on the host machine. So try lowering the number of schedulers artificially in vm.args with +S 4:4, for example to use only 4 schedulers. The number of schedulers should match your CPU quota.
Erlang VM has more advanced memory management settings. There is one to use a max amount of heap, so if you have a way to test it out on a test cluster first, try something like:
vm.args:
Description
I use
apache/couchdb:3.3.2
docker image on my server.Today couchdb process crashed because no free memory on the server.
CouchDB logs contians
Steps to Reproduce
Do not know
Expected Behaviour
All external processes should not lead to all server memory usage.
Your Environment
Additional Context
Here is graph for swap memory usage on the server. Swap usage start grow about one week ago
And the disk cache started shrinking about 8 days ago
A related ticket found at https://issues.apache.org/jira/browse/COUCHDB-371 and looks like issue is not solved and closed with comment
The text was updated successfully, but these errors were encountered: