Confused about memory quotas
I have a single web server with 12GB of ram that I've installed membase on. When setting up a new cluster, I set 2GB as the quota, thinking this specified the maximum amount of memory that membase itself was allowed to use.
However, when I look at "Manage - Servers" the "Memory Cache" display shows my "Membase Quota" at 2GB, but would seem to suggest that 1.33 GB of this quota is being used by "Other Data". I'm guessing this is the OS and other services I have running on this machine.
Have I misunderstood how this quota works? Do I need to specify a higher quota in order to allow membase to use more memory on my server? And if so, what should I configure for a quota value on a shared server with 12GB of ram total?
Appologies if this is a stupid question, but I really couldn't find my guidance in this area.
Perry,
Thanks - that clears things up quite a bit - the quota does indeed work the way I initially assumed (the max amount of RAM that membase can use). The ui was just a bit confusing as I just setup and membase had nothing in it - it (more or less) looked as if the "Other data" was using part of the quota.
Another quick question for you: is there a straight-forward way to change this quota after install? I currently only have a single node, so I'm assuming there's no negative side-effect of doing so.
'curl -d memoryQuota=400 http://localhost:8091/pools/default'
Perry,
Thanks for all your help - that did the trick!
No worries, glad to help here. I think there's just some confusion about what the UI is telling you.
That 1.33GB of "other data" doesn't come out of your Membase quota. You are correct that it is the OS and other services you have running. As you use Membase, the "In Use" section will grow up to the "Membase Quota" and push the "Other Data" farther to the right.
Keep in mind, this quota is for the whole Membase process on that node, out of this you carve up individual bucket quotas.
If this machine is dedicated to Membase, I would suggest giving it about 10GB out of the 12.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!