You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/08/05 23:27:59 UTC

[GitHub] [couchdb] nickva commented on issue #2095: Using CouchDB2.0 replication of one of our dbases never completes. Thousands of pending documents, and only a few get written.

nickva commented on issue #2095: Using CouchDB2.0 replication of one of our dbases never completes. Thousands of pending documents, and only a few get written. 
URL: https://github.com/apache/couchdb/issues/2095#issuecomment-518437860
 
 
   Thank you for your report, @rvaldepenas 
   
   What version of CouchDB are you using?
   
   Here are some parameters to try to adjust:
   
   If you suspect your documents, or attachments are rather large, try increasing
   ```
   [httpd] max_httpd_request_size = <bytes>
   ```
   In a few previous CouchDB version that was set at 64Mb so if you have anything large (doc + attachment size) it might fail. In 2.3.x it is set to 4Gb so if your version is 2.3.x the default is hopefully ok.
   
   The other limits are
   
   ```
   [couchdb]
   max_document_size = <bytes>
   max_attachment_size = <bytes>
   ```
   
   Though the defaults for those should be infinity by default. But you can try to increase them if you've already configured them.
   
   For the fabric timeout error. Can try increasing
   ```
   [fabric]
   request_timeout = <msec>
   ```
   The default is 60000 so can try to make it 120000 perhaps.
   
   There are some replication parameters such as `worker_processes` and `connection_timeout` that might help as well.
   
   

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


With regards,
Apache Git Services