Heya Nick and Tayven, I assume you posted multiple times because your mails didn’t show up immediately due to mailing list moderation.
You are correct that the database size and hardware configuration should not cause any issues. Can you explain the scenario a little better? Is the memory leak happening when building your views for the first time? Does beam.smp terminate on its own or is it an OOM kill from the kernel? How many views do you have? How many design docs? JS views or Erlang views? Is there anything else running on these nodes? Can you share your view code? Can you share your couch.log? Can explain your document structure (total bytes, number of fields, attachments etc.). Can you describe your traffic pattern? Can you describe any other pattern that leads up to the memory leak? Does this happen on all nodes? If not, is there anything special about the affected nodes? (shameless plug, if you require professional assistance, my email footer has contact information) > On 31 Jan 2017, at 00:15, Tayven Bigelow <[email protected]> wrote: > > Hey Guys! > > > Been using a CouchDB 2.0 12 server cluster for a while now and have noticed a > memory leak that causes beam.smp to crash while populating Views. > > The q/r/w/n is set up as: > > [cluster] > q=12 > r=2 > w=2 > n=3 > > As far as I know the server should be able to handle the load as it has 64GB > RAM with a Core i7 6700. We are running ubuntu 16.04.1. > > The Database is 16.5 GB in size. > > > I've also attempted to run 2.0 with Dreyfus and Clouseau and ran into the > same issue with a Database size of 7.8MB. > > > I've noted in previous releases some people have ran into similar memory > issues with beam.smp and increasing the open file limit was part of the > resolution. We've increased the nofile limit for the couchdb user to 4096 (as > found here: https://wiki.apache.org/couchdb/Performance ) with no luck. > > > Nothing out of the ordinary is thrown in the logs. The only way to catch it > is by watching memory use. > > > I'm wondering if theres a configuration/setting somewhere that I am missing > that could be causing this issue. > > > Thanks! > > Tayven > > > > All information in this message is confidential and may be legally > privileged. If you are not the intended recipient, notify the sender > immediately and destroy this email. -- Professional Support for Apache CouchDB: https://neighbourhood.ie/couchdb-support/ Email: [email protected]
