Hi All,
I have setup single node cluster on my RedHat 7 machine. after some days my Couchbase service is not able to start.
$ systemctl status couchbase-server.service
â couchbase-server.service - Couchbase Server
Loaded: loaded (/usr/lib/systemd/system/couchbase-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2022-02-18 03:14:19 EST; 56min ago
Docs: https://docs.couchbase.com
Main PID: 2356 (code=exited, status=1/FAILURE)
So i check what is a problem to start my Couchbase so I found below,
journalctl -q _PID=2356
Jan 29 12:20:01 server CROND[24807]: (root) CMD (/usr/openv/pdde/vpfs/bin/vpfs_monitor_s.sh > /dev/null 2>&1)
Feb 01 14:18:01 server CROND[24807]: (root) CMD (/opt/SAtools/process-stats/bin/process-stats > /dev/null 2>&1)
Feb 18 02:04:51 server couchbase[24807]: {"init terminating in do_boot",{{badmatch,{error,{bad_return,{{ns_babysitter,start,[normal,[]]},{'EXIT',{{badmatch,{error,enospc}},[{ns_babysitter,do_write_file,3,[{file,"src/ns_babysitter.erl"},{line,88}]},{ns_babysitter,start,2,[{file,"src/ns_babysitter.erl"},{line,57}]},{application_master,start_it_old,4,[{file,"application_master.erl"},{line,277}]}]}}}}}},[{ns_babysitter_bootstrap,start,0,[{file,"src/ns_babysitter_bootstrap.erl"},{line,23}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
Feb 18 02:04:51 server couchbase[24807]: init terminating in do_boot ({{badmatch,{error,{bad_return,{_}}}},[{ns_babysitter_bootstrap,start,0,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
Feb 18 02:04:52 server couchbase[24807]: Crash dump is being written to: erl_crash.dump.1645167889.24807.babysitter...done
Couchbase /opt/couchbase/var/lib/couchbase/logs/error.log file showing below logs,
[stats:error,2022-02-17T04:24:34.675-05:00,ns_1@127.0.0.1:<0.27687.1376>:stats_reader:log_bad_responses:208]Some nodes didn't respond: ['ns_1@127.0.0.1']
[stats:error,2022-02-17T04:24:34.675-05:00,ns_1@127.0.0.1:<0.24284.1376>:stats_reader:log_bad_responses:208]Some nodes didn't respond: ['ns_1@127.0.0.1']
[stats:error,2022-02-17T04:24:34.953-05:00,ns_1@127.0.0.1:<0.25736.1376>:stats_reader:log_bad_responses:208]Some nodes didn't respond: ['ns_1@127.0.0.1']
[stats:error,2022-02-17T04:24:34.953-05:00,ns_1@127.0.0.1:<0.25335.1376>:stats_reader:log_bad_responses:208]Some nodes didn't respond: ['ns_1@127.0.0.1']
[stats:error,2022-02-17T04:24:34.954-05:00,ns_1@127.0.0.1:<0.22320.1376>:stats_reader:log_bad_responses:208]Some nodes didn't respond: ['ns_1@127.0.0.1']
[user:error,2022-02-17T15:21:15.223-05:00,ns_1@127.0.0.1:<0.1920.1458>:compaction_daemon:ensure_can_db_compact:1028]Cannot compact database `EVENTING_DATA/1`: the estimated necessary disk space is about 7008 bytes but the currently available disk space is 0 bytes.
[user:error,2022-02-17T15:21:15.226-05:00,ns_1@127.0.0.1:<0.495.1458>:compaction_daemon:ensure_can_db_compact:1028]Cannot compact database `EVENTING_DATA/3`: the estimated necessary disk space is about 5220 bytes but the currently available disk space is 0 bytes.
[user:error,2022-02-17T15:21:15.230-05:00,ns_1@127.0.0.1:<0.343.1458>:compaction_daemon:ensure_can_db_compact:1028]Cannot compact database `EVENTING_DATA/7`: the estimated necessary disk space is about 7026 bytes but the currently available disk space is 0 bytes.
[user:error,2022-02-17T15:21:15.233-05:00,ns_1@127.0.0.1:<0.1377.1458>:compaction_daemon:ensure_can_db_compact:1028]Cannot compact database `EVENTING_DATA/8`: the estimated necessary disk space is about 7016 bytes but the currently available disk space is 0 bytes.
As per my understanding my Couchbase node not responding because of memory issue ?
Please help me … I am also not able to start my CB service.
How to change memory setting without starting ?