Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

Confused about memory quotas

4 replies [Last post]
  • Login or register to post comments
Mon, 04/04/2011 - 17:03
dplaskon
Offline
Joined: 04/04/2011
Groups: None

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.

Top
  • Login or register to post comments
Mon, 04/04/2011 - 17:18
perry
Offline
Joined: 10/11/2010
Groups:

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!

Top
  • Login or register to post comments
Mon, 04/04/2011 - 17:25
dplaskon
Offline
Joined: 04/04/2011
Groups: None

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.

Top
  • Login or register to post comments
Mon, 04/04/2011 - 17:51
perry
Offline
Joined: 10/11/2010
Groups:

'curl -d memoryQuota=400 http://localhost:8091/pools/default'

__________________

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!

Top
  • Login or register to post comments
Tue, 04/05/2011 - 03:27
dplaskon
Offline
Joined: 04/04/2011
Groups: None

Perry,

Thanks for all your help - that did the trick!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker