CouchDB 3-node cluster (Windows) - flere erlang fejl

Indlæg af Hanne Mølgaard Plasc

Problem



Jeg modtager flere erlang fejl i min CouchDB 2.1.1-klynge (3 noder/Windows), se fejl og knudekonfiguration nedenfor:


3 noder (10.0.7.4 - 10.0.7.6), Azure applikations gateway bruges som load balancer.
Hvorfor vises disse fejl? systemressourcerne i noderne er langt fra overbelastning.


Jeg ville være taknemmelig for enhver hjælp - tak på forhånd.


Fejl:


rexi\_server: from: couchdb@10.0.7.4(<0.14976.568>) mfa: fabric\_rpc:changes/3 exit:timeout [{rexi,init\_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream\_last,2,[{file,"src/rexi.erl"},{line,224}]},{fabric\_rpc,changes,4,[{file,"src/fabric\_rpc.erl"},{line,86}]},{rexi\_server,init\_p,3,[{file,"src/rexi\_server.erl"},{line,139}]}]

rexi\_server: from: couchdb@10.0.7.6(<13540.24597.655>) mfa: fabric\_rpc:all\_docs/3 exit:timeout [{rexi,init\_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream2,3,[{file,"src/rexi.erl"},{line,204}]},{fabric\_rpc,view\_cb,2,[{file,"src/fabric\_rpc.erl"},{line,308}]},{couch\_mrview,finish\_fold,2,[{file,"src/couch\_mrview.erl"},{line,642}]},{rexi\_server,init\_p,3,[{file,"src/rexi\_server.erl"},{line,139}]}]

rexi\_server: from: couchdb@10.0.7.6(<13540.5991.623>) mfa: fabric\_rpc:all\_docs/3 exit:timeout [{rexi,init\_stream,1,[{file,"src/rexi.erl"},{line,256}]},{rexi,stream2,3,[{file,"src/rexi.erl"},{line,204}]},{fabric\_rpc,view\_cb,2,[{file,"src/fabric\_rpc.erl"},{line,308}]},{couch\_mrview,map\_fold,3,[{file,"src/couch\_mrview.erl"},{line,511}]},{couch\_btree,stream\_kv\_node2,8,[{file,"src/couch\_btree.erl"},{line,848}]},{couch\_btree,fold,4,[{file,"src/couch\_btree.erl"},{line,222}]},{couch\_db,enum\_docs,5,[{file,"src/couch\_db.erl"},{line,1450}]},{couch\_mrview,all\_docs\_fold,4,[{file,"src/couch\_mrview.erl"},{line,425}]}]

req\_err(3206982071) unknown\_error : normal [<<"mochiweb\_request:recv/3 L180">>,<<"mochiweb\_request:stream\_unchunked\_body/4 L540">>,<<"mochiweb\_request:recv\_body/2 L214">>,<<"chttpd:body/1 L636">>,<<"chttpd:json\_body/1 L649">>,<<"chttpd:json\_body\_obj/1 L657">>,<<"chttpd\_db:db\_req/2 L386">>,<<"chttpd:process\_request/1 L295">>]

System running to use fully qualified hostnames ** ** Hostname localhost is illegal


JORDPAKNING-FEJL


Supervisor couch\_secondary\_services had child compaction\_daemon started with couch\_compaction\_daemon:start\_link() at <0.18509.478> exit with reason {compaction\_loop\_died,{timeout,{gen\_server,call,[couch\_server,get\_server]}}} in context child\_terminated 

 CRASH REPORT Process couch\_compaction\_daemon (<0.18509.478>) with 0 neighbors exited with reason: {compaction\_loop\_died,{timeout,{gen\_server,call,[couch\_server,get\_server]}}} at gen\_server:terminate/7(line:826) <= proc\_lib:init\_p\_do\_apply/3(line:240); initial\_call: {couch\_compaction\_daemon,init,['Argument\_\_1']}, ancestors: [couch\_secondary\_services,couch\_sup,<0.200.0>], messages: [], links: [<0.12665.492>], dictionary: [], trap\_exit: true, status: running, heap\_size: 987, stack\_size: 27, reductions: 3173

gen\_server couch\_compaction\_daemon terminated with reason: {compaction\_loop\_died,{timeout,{gen\_server,call,[couch\_server,get\_server]}}} last msg: {'EXIT',<0.23195.476>,{timeout,{gen\_server,call,[couch\_server,get\_server]}}} state: {state,<0.23195.476>,[]}  

Error in process <0.16890.22> on node 'couchdb@10.0.7.4' with exit value: {{rexi\_DOWN,{'couchdb@10.0.7.5',noproc}},[{mem3\_rpc,rexi\_call,2,[{file,"src/mem3\_rpc.erl"},{line,269}]},{mem3\_rep,calculate\_start\_seq,1,[{file,"src/mem3\_rep.erl"},{line,194}]},{mem3\_rep,repl,2,[{file,"src/mem3\_rep.erl"},{line,175}]},{mem3\_rep,go,1,[{file,"src/mem3\_rep.erl"},{line,81}]},{mem3\_sync,'-start\_push\_replication/1-fun-0-',2,[{file,"src/mem3\_sync.erl"},{line,208}]}]}


# vm.args


-name couchdb@10.0.7.4
-setcookie monster
-kernel error\_logger silent
-sasl sasl\_error\_logger false
+K true
+A 16
+Bd -noinput
+Q 134217727`


local.ini


[fabric]
request\_timeout = infinity

[couchdb]
max\_dbs\_open = 10000
os\_process\_timeout = 20000
uuid =

[chttpd]
port = 5984
bind\_address = 0.0.0.0

[httpd]
socket\_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}]
enable\_cors = true

[couch\_httpd\_auth]
secret =

[daemons]
compaction\_daemon={couch\_compaction\_daemon, start\_link, []}

[compactions]
\_default = [{db\_fragmentation, "50\%"}, {view\_fragmentation, "50\%"}, {from, "23:00"}, {to, "04:00"}]

[compaction\_daemon]
check\_interval = 300
min\_file\_size = 100000

[vendor]
name = COUCHCLUSTERNODE0X

[admins]
adminuser =

[cors]
methods = GET, PUT, POST, HEAD, DELETE
headers = accept, authorization, content-type, origin, referer
origins = *
credentials = true

[query\_server\_config]
os\_process\_limit = 2000
os\_process\_soft\_limit = 1000

Bedste reference