FelipeTaiarol opened a new issue #796: CouchDB stops being responsive and 
timeout errors
URL: https://github.com/apache/couchdb/issues/796
 
 
   I have CouchDB 2.0.0-2 running on Ubuntu 14.04.3 using this AWS image 
https://docs.bitnami.com/aws/infrastructure/couchdb/.
   
   My CouchDB instance is pretty small. It has about 1300 databases with an 
average of 300KB per database and 2 database with less than 100MB of data each.
   
   I have a NodeJS process that listens to the _changes feed of all databases 
except the two big ones and when there is a change does some processing and 
saves a document in one of the big databases.
   
   It was working pretty well for some time but now when I start the NodeJS 
process CouchDB stops responding and I see a lot of errors like this in the 
logs:
   
   ```
   [error] 2017-09-06T12:54:23.113497Z couchdb@localhost <0.2166.3> 0ae11b116b 
rexi_server 
exit:{timeout,{gen_server,call,[couch_server,{open,<<"shards/00000000-1fffffff/ruum_1491318340205uh4nvaer9gywpo5g3w99.1496998111">>,[{timeout,100},{user_ctx,{user_ctx,<<"admin">>,[<<"_admin">>],<<"cookie">>}}]},100]}}
 
[{gen_server,call,3,[{file,"gen_server.erl"},{line,212}]},{couch_server,open,2,[{file,"src/couch_server.erl"},{line,86}]},{couch_db,open,2,[{file,"src/couch_db.erl"},{line,91}]},{fabric_rpc,open_shard,2,[{file,"src/fabric_rpc.erl"},{line,248}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [error] 2017-09-06T12:54:23.113783Z couchdb@localhost <0.2165.3> 83178616c2 
rexi_server 
exit:{timeout,{gen_server,call,[couch_server,{open,<<"shards/00000000-1fffffff/ruum_1496396724194h2xoq4yjjoj1bb0lblyu.1497006992">>,[{timeout,100},{user_ctx,{user_ctx,<<"admin">>,[<<"_admin">>],<<"cookie">>}}]},100]}}
 
[{gen_server,call,3,[{file,"gen_server.erl"},{line,212}]},{couch_server,open,2,[{file,"src/couch_server.erl"},{line,86}]},{couch_db,open,2,[{file,"src/couch_db.erl"},{line,91}]},{fabric_rpc,open_shard,2,[{file,"src/fabric_rpc.erl"},{line,248}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   [error] 2017-09-06T12:54:23.114188Z couchdb@localhost <0.2198.3> 1d0e99faff 
rexi_server 
exit:{timeout,{gen_server,call,[couch_server,{open,<<"shards/00000000-1fffffff/ruum_1490627286973_kdy7bhi5zbzzk6aa2yk5.1496997982">>,[{timeout,100},{user_ctx,{user_ctx,<<"admin">>,[<<"_admin">>],<<"cookie">>}}]},100]}}
 
[{gen_server,call,3,[{file,"gen_server.erl"},{line,212}]},{couch_server,open,2,[{file,"src/couch_server.erl"},{line,86}]},{couch_db,open,2,[{file,"src/couch_db.erl"},{line,91}]},{fabric_rpc,open_shard,2,[{file,"src/fabric_rpc.erl"},{line,248}]},{rexi_server,init_p,3,[{file,"src/rexi_server.erl"},{line,139}]}]
   ```
   
   ## Expected Behavior
   I should be able to listen to the _changes of all my databases without it 
causing CouchDB to stop being responsive.
   
   ## Current Behavior
   When I start the NodeJS process CouchDB stops responding.
   
   ## Possible Solution
   I think this is not a bug but most likely something I am doing wrong in the 
configurations.
   
   ## Your Environment
   * Version used: CouchDB 2.0
   * Operating System and version (desktop or mobile): Ubuntu 14.04.3
   
 
----------------------------------------------------------------
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