ns_server process keeps crashing


couchbase 2.2 on gentoo linux, got 66G free mem

I found on my server that the “ns_server” process keep restarting

so the admin console can not communicate to all the bucket, so the 8091 port don’t work

and I found these message in error log:

=========================CRASH REPORT=========================
initial call: mc_connection:init/1
pid: <0.20057.3312>
registered_name: []
exception exit: {noproc,
in function gen_server:call/3
in call from couch_server:open/2
in call from mc_connection:do_notify_vbucket_update/3
in call from mc_connection:handle_message/9
in call from mc_connection:read_full_message/2
in call from mc_connection:run_loop/2
ancestors: [mc_conn_sup,mc_sup,ns_server_sup,ns_server_cluster_sup,
messages: []
links: [<0.8052.3312>,#Port<0.9981740>]
dictionary: []
trap_exit: false
status: running
heap_size: 377
stack_size: 24
reductions: 169

any help? many thanks


sorry, It’s not correct

I found "portsigar " process is restarting all the time

and “/opt/couchbase/lib/ns_server/erlang/lib/ns_server/priv/i386-linux-godu” restarting the same time


and couchbase don’t write data to disk any more


I check couch_server log:

it’s full of this:

[couchdb:error,2014-12-10T14:45:35.555,ns_1@<0.22612.136>:couch_log:error:42]Unexpected message, restarting couch_server: {‘EXIT’,<0.24653.136>,


I assume as you’re running on Gentoo you’ve built from source. 2.2 is a pretty old release (with a number of issues fixed) so I’d first suggest upgrading to something more recent - either 2.5.1 (most recent 2.X) or the new 3.0.1 release.