nickva commented on issue #1125: Very slow replication for some of databases 
URL: https://github.com/apache/couchdb/issues/1125#issuecomment-360167959
 
 
   
   Thanks for the report,  Sergey 
   
   You might be encountering this issue: 
https://github.com/apache/couchdb/issues/745
   
   A few questions to help narrow down the cause:
   
    * What is your exact version of CouchDB, is it 2.0.0, 2.1.1 or other
   
    * What is the size distribution of your documents (average, what are the 
largest ones)
   
    * What are the attachment sizes, what is their distribution (average, 
largest)
   
   * Are the databases which failed to replicate enough the ones with 
attachments? Do you have any that don't have attachments and those replicated 
fast enough?
   
   * If you can attach the contents of these config sections (but sanitize them 
to not contain database paths, username and other such things): `couchdb`, 
`replicator`, `chttpd` and `cluster`. It's easy to get those via the node local 
port (5986 one) and the _config section:
   
   Here is an example of my config from the `replicator` section (jq part is 
the json pretty printer)
   ```
   curl -s http://<adminuser>:<adminpas>@localhost:15986/_config/replicator | 
jq '.'
   {
     "startup_jitter": "5000",
     "connection_timeout": "30000",
     "max_churn": "20",
     "interval": "60000",
     "retries_per_request": "5",
     "max_jobs": "500",
     "verify_ssl_certificates": "false",
     "http_connections": "20",
     "ssl_certificate_max_depth": "3",
     "socket_options": "[{keepalive, true}, {nodelay, false}]",
     "worker_processes": "4",
     "worker_batch_size": "500"
   }
   ```
   

----------------------------------------------------------------
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