jliu1970 opened a new issue #1429: Access to CouchDB view return timeout
URL: https://github.com/apache/couchdb/issues/1429
 
 
   <!--- Provide a general summary of the issue in the Title above -->
   In a smart database, with a dozen documents. Try to access the documents 
through a view, but got timeout.
   ## Expected Behavior
   <!--- If you're describing a bug, tell us what should happen -->
   view shall work consistently.
   <!--- If you're suggesting a change/improvement, tell us how it should work 
-->
   
   ## Current Behavior
   <!--- If describing a bug, tell us what happens instead of the expected 
behavior -->
   Got following log:
   
   
   [notice] 2018-07-10T01:20:03.528895Z nonode@nohost <0.16472.0> b79e4ff8d5 
10.6.164.106:5984 10.44.0.90 undefined GET /_session 200 ok 0
   [notice] 2018-07-10T01:20:03.570971Z nonode@nohost <0.16472.0> 8bfba30bc1 
10.6.164.106:5984 10.44.0.90 undefined GET 
/radio-db/_all_docs?startkey=%22_design%2F%22&endkey=%22_design0%22&include_docs=true&limit=501
 200 ok 4
   [info] 2018-07-10T01:20:03.598983Z nonode@nohost <0.2352.1> -------- 
Starting index update for db: shards/a0000000-bfffffff/radio-db.1531157665 idx: 
_design/RadioDbWrapper
   [info] 2018-07-10T01:20:03.599258Z nonode@nohost <0.2350.1> -------- 
Starting index update for db: shards/20000000-3fffffff/radio-db.1531157665 idx: 
_design/RadioDbWrapper
   [error] 2018-07-10T01:20:08.604416Z nonode@nohost <0.12434.1> -------- CRASH 
REPORT Process  (<0.12434.1>) with 1 neighbors exited with reason: bad return 
value {os_process_error,"OS process timed out."} at 
gen_server:init_it/6(line:334) <= proc_lib:init_p_do_apply/3(line:237); 
initial_call: {couch_os_process,init,['Argument__1']}, ancestors: 
[<0.12433.1>], messages: [], links: [<0.12433.1>], dictionary: [], trap_exit: 
false, status: running, heap_size: 987, stack_size: 27, reductions: 264
   [error] 2018-07-10T01:20:08.604566Z nonode@nohost <0.12436.1> -------- CRASH 
REPORT Process  (<0.12436.1>) with 1 neighbors exited with reason: bad return 
value {os_process_error,"OS process timed out."} at 
gen_server:init_it/6(line:334) <= proc_lib:init_p_do_apply/3(line:237); 
initial_call: {couch_os_process,init,['Argument__1']}, ancestors: 
[<0.12435.1>], messages: [], links: [<0.12435.1>], dictionary: [], trap_exit: 
false, status: running, heap_size: 987, stack_size: 27, reductions: 264
   [info] 2018-07-10T01:20:08.604618Z nonode@nohost <0.206.0> -------- 
couch_proc_manager <0.12433.1> died {bad_return_value,{os_process_error,"OS 
process timed out."}}
   [info] 2018-07-10T01:20:08.604709Z nonode@nohost <0.206.0> -------- 
couch_proc_manager <0.12435.1> died {bad_return_value,{os_process_error,"OS 
process timed out."}}
   sh: echo: I/O error
   sh: echo: I/O error
   [error] 2018-07-10T01:20:50.146640Z nonode@nohost <0.7797.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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}]},{couch_mrview,query_view,5,[{file,"src/couch_mrview.erl"},{line,263}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [error] 2018-07-10T01:20:50.150847Z nonode@nohost <0.7800.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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_mrview_util,fold_fun,4,[{file,"src/couch_mrview_util.erl"},{line,398}]},{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_mrview_util,fold,4,[{file,"src/couch_mrview_util.erl"},{line,393}]}]
   [error] 2018-07-10T01:20:50.150901Z nonode@nohost <0.7804.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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_mrview_util,fold_fun,4,[{file,"src/couch_mrview_util.erl"},{line,398}]},{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_mrview_util,fold,4,[{file,"src/couch_mrview_util.erl"},{line,393}]}]
   [error] 2018-07-10T01:20:50.151555Z nonode@nohost <0.7801.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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}]},{couch_mrview,query_view,5,[{file,"src/couch_mrview.erl"},{line,263}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [error] 2018-07-10T01:20:50.151909Z nonode@nohost <0.7802.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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}]},{couch_mrview,query_view,5,[{file,"src/couch_mrview.erl"},{line,263}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [error] 2018-07-10T01:20:50.152250Z nonode@nohost <0.7805.1> 0d8f3d5d7a 
rexi_server: from: nonode@nohost(<0.7760.1>) mfa: fabric_rpc:map_view/5 
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}]},{couch_mrview,query_view,5,[{file,"src/couch_mrview.erl"},{line,263}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [notice] 2018-07-10T01:21:00.321772Z nonode@nohost <0.13321.1> 8acd9d2c09 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-100 304 ok 5
   [notice] 2018-07-10T01:21:00.338758Z nonode@nohost <0.13321.1> 444a6a9324 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-105 304 ok 4
   [notice] 2018-07-10T01:21:00.350756Z nonode@nohost <0.13321.1> 85091a0619 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-104 304 ok 5
   [notice] 2018-07-10T01:21:00.356521Z nonode@nohost <0.13321.1> e24faeb037 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-101 304 ok 1
   [notice] 2018-07-10T01:21:00.375041Z nonode@nohost <0.13321.1> ba8f67a335 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-106 304 ok 13
   [notice] 2018-07-10T01:21:00.383460Z nonode@nohost <0.13321.1> 08c17847b6 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-107 304 ok 4
   [notice] 2018-07-10T01:21:00.393758Z nonode@nohost <0.13321.1> 53cf48a0c2 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-15 304 ok 1
   [notice] 2018-07-10T01:21:00.400013Z nonode@nohost <0.13321.1> 6f8e7780fd 
couchdb:5984 172.19.2.3 undefined GET /radio-db/1-1-16 304 ok 1
   [error] 2018-07-10T01:21:03.599101Z nonode@nohost <0.12364.1> 00f6e1794f 
fabric_worker_timeout 
map_view,nonode@nohost,<<"shards/20000000-3fffffff/radio-db.1531157665">>
   [error] 2018-07-10T01:21:03.599158Z nonode@nohost <0.12364.1> 00f6e1794f 
fabric_worker_timeout 
map_view,nonode@nohost,<<"shards/a0000000-bfffffff/radio-db.1531157665">>
   [notice] 2018-07-10T01:21:03.599582Z nonode@nohost <0.12364.1> 00f6e1794f 
10.6.164.106:5984 10.44.0.90 undefined GET 
/radio-db/_design/RadioDbWrapper/_view/t_radioaliases_by_agency?include_docs=true&limit=21&reduce=false&skip=0
 500 ok 60002
   
   
   
   <!--- If suggesting a change/improvement, explain the difference from 
current behavior -->
   
   ## Possible Solution
   <!--- Not obligatory, but suggest a fix/reason for the bug, -->
   <!--- or ideas how to implement the addition or change -->
   
   ## Steps to Reproduce (for bugs)
   <!--- Provide a link to a live example, or an unambiguous set of steps to -->
   <!--- reproduce this bug. Include code to reproduce, if relevant -->
   1.
   2.
   3.
   4.
   
   ## Context
   <!--- How has this issue affected you? What are you trying to accomplish? -->
   
   retrieve record through view
   <!--- Providing context helps us come up with a solution that is most useful 
in the real world -->
   
   ## Your Environment
   <!--- Include as many relevant details about the environment you experienced 
the bug in -->
   * Version used: V2.1.1
   * Browser Name and version:
   * Operating System and version (desktop or mobile): Docker
   * Link to your project:
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to