Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

couchdb docker on cluster-raid dies #49

Open
stefan789 opened this issue Feb 16, 2016 · 2 comments
Open

couchdb docker on cluster-raid dies #49

stefan789 opened this issue Feb 16, 2016 · 2 comments

Comments

@stefan789
Copy link
Contributor

the couchdb docker on the cluster synology system frequently gets killed by the oom-killer after some days, because of a "beam.smp" process:

from /var/log/messages:

Feb 11 17:24:16 nEDM-RAID-II kernel: [605330.172276] Out of memory: Kill process 16624 (docker) score 710 or sacrifice child
Feb 11 17:24:16 nEDM-RAID-II kernel: [605330.180013] Killed process 15009 (beam.smp) total-vm:10286500kB, anon-rss:6005080kB, file-rss:0kB
@mgmarino
Copy link
Member

beam.smp is couchdb.
stefan789 [email protected] schrieb am Di., 16. Feb. 2016 um 16:08:

the couchdb docker on the cluster synology system frequently gets killed
by the oom-killer after some days, because of a "beam.smp" process:

from /var/log/messages:

Feb 11 17:24:16 nEDM-RAID-II kernel: [605330.172276] Out of memory: Kill process 16624 (docker) score 710 or sacrifice child
Feb 11 17:24:16 nEDM-RAID-II kernel: [605330.180013] Killed process 15009 (beam.smp) total-vm:10286500kB, anon-rss:6005080kB, file-rss:0kB


Reply to this email directly or view it on GitHub
#49.

@stefan789
Copy link
Contributor Author

For now I tried reducing the number of replication worker processes from 4 to 2. This should reduce memory and cpu load on the system. Don't know if this will avoid the issue or just make it less frequent.

Another option is to restart all dockers every night by a scheduled task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants