Approaching full disk warning. Usage of disk "/"


#1

Hi there:

My couchbase cluster send me this alert:

Approaching full disk warning. Usage of disk “/” on node “ip.compute.amazonaws.com” is around 91%.

I have installed an instance of couchbase 3.0 from aws marketplace, with the following configuration:

1) 2 couch base instances in a cluster
2) We have two Data Bucket "my-bucket1" and "my-bucket2"
3) Each node for "rmy-bucket2" has bucket type (couchbase), RAM (3200 MB [total 6400 MB (3200 MB x 2 nodes)]), Replica Set (1), Set the bucket disk I/O priority High, Index replicas uncheck, autocompactation uncheck
4) Each node for "rmy-bucket1" has bucket type (couchbase), RAM (1250 MB [total 2500 MB (2500 MB x 2 nodes)]), Replica Set (1), Set the bucket disk I/O priority High, Index replicas uncheck, autocompactation uncheck

So far we have Item Count for “my-bucket-1” as (9162) with RAM/Quota Usage (84.2MB /
6.25GB). Data/Disk Usage 95.1MB/127MB

“mybucket-2” have Item Count (2312) with RAM/Quota Usage (70.9MB /
2.44GB). Data/Disk Usage 10MB/121MB

On the other side, We have develop services based on node.js in order to consume views, set, gets and so on, we are noticed errors like undefinend, it seems that there are no documents in couchbase and the graph of active items varies each x time, shows less items and suddenly shows the total items (9162).

Any suggestion will be appreciated.

Regards,

Jorge


#2

Hi Brett:

Our logs on node.js show this error,

{ cas: { ‘0’: 2047215872, ‘1’: 3687083444 },

value: <SlowBuffer 7b 22 62 6f 64 79 22 3a 7b 22 74 79 70 65 22 3a
22 55 73 65 72 73 22 2c 22 69 64 22 3a 22 34 79 33 59 4e 6e 4c 30 6c 54
54 6d 41 32 50 6b 6c 77 43 34 66 …> }

Googling about this error I found this thread, where the solution is to parse the request result to json, like this exemple:

var jsonStr = result.value.toString(‘utf8’);

And force the value to be decoded as JSON using {format:‘json’}

Our data have accents and special characters causing this error, my question here is:

Couchbase 3.0 doing automatic the conversion to JSON or there are any way to set format json? if so, how can fix that?

Thanks in advance,

Jorge