Error when changing Membase memory quota
based on the info here:
http://stackoverflow.com/questions/5286669/how-to-change-membase-memory-...
http://techzone.couchbase.com/wiki/display/membase/Membase+Management+RE...
I've been trying to change the memory quota for a single instance of membase. My request is of the form:
POST http://localhost:8091/pools/default HTTP/1.1
Host: localhost:8091
Content-Type: application/x-www-form-urlencoded
Authorization: Basic QWRtaW5pc3RyYXRvcjpmcmFuZ28=
Content-Length: 18
memoryQuota=1024
But I get the following response:
HTTP/1.1 400 Bad Request
Server: Membase Server 1.6.4.1
Pragma: no-cache
Date: Fri, 29 Apr 2011 15:35:59 GMT
Content-Type: application/json
Content-Length: 41
Cache-Control: no-cache no-store max-age=0
["The RAM Quota value must be a number."]
Any ideas?
OK thanks, I seem to have it working via curl. The following worked for me
curl -d memoryQuota=1024 http://localhost:8091/pools/default -u Administrator:xxxxx
Just figured out that my issue was stray white-space in the request body! (was using Fiddler Request Builder)
"Seems" like that should be working, clearly it's not.
Can you try it with the curl command:
curl -d memoryQuota=1024 http://:@:8091/pools/default
edit: I've had this successfully work. Make sure you're using a Membase version >=1.6.4
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!