You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2020/06/16 09:11:27 UTC

[GitHub] [couchdb] patternseek commented on issue #2441: Memory Usage Keeps Increasing Gradually

patternseek commented on issue #2441:
URL: https://github.com/apache/couchdb/issues/2441#issuecomment-644639961


   We're seeing memory usage climb until the kernel OOM killer kills beam.smp on 3.1 while doing an initial replication of a large database (> 70GB with a number of views) on a 32GB server.
   
   ```
   [root@couchdb-staging ~]# grep "Out of memory" /var/log/messages                                                                                                                                                          
   Jun 15 07:28:44 couchdb-staging kernel: Out of memory: Killed process 2844 (beam.smp) total-vm:41846892kB, anon-rss:30352140kB, file-rss:0kB, shmem-rss:0kB                                      
   Jun 15 12:22:26 couchdb-staging kernel: Out of memory: Killed process 5303 (beam.smp) total-vm:42290044kB, anon-rss:29574368kB, file-rss:0kB, shmem-rss:0kB                                                               
   Jun 15 13:17:18 couchdb-staging kernel: Out of memory: Killed process 6962 (beam.smp) total-vm:42421488kB, anon-rss:30516064kB, file-rss:0kB, shmem-rss:0kB                                                               
   Jun 15 13:50:39 couchdb-staging kernel: Out of memory: Killed process 7740 (beam.smp) total-vm:42459412kB, anon-rss:30034480kB, file-rss:0kB, shmem-rss:0kB                                                               
   Jun 15 18:36:14 couchdb-staging kernel: Out of memory: Killed process 8280 (beam.smp) total-vm:42015812kB, anon-rss:29495620kB, file-rss:0kB, shmem-rss:0kB                                                               
   Jun 15 20:12:34 couchdb-staging kernel: Out of memory: Killed process 10794 (beam.smp) total-vm:41676032kB, anon-rss:29832200kB, file-rss:0kB, shmem-rss:0kB                                                              
   Jun 16 04:32:50 couchdb-staging kernel: Out of memory: Killed process 11847 (beam.smp) total-vm:42226600kB, anon-rss:30368596kB, file-rss:0kB, shmem-rss:0kB
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org