zhangjingcat commented on issue #5094: URL: https://github.com/apache/couchdb/issues/5094#issuecomment-2180603334
Hi @rnewson ,thanks a lot for the hints! Now I tried the "curl https://FQDN/sw360changelogs/_changes" several times and it took about 4minutes to respond as our sw360changelogs database is too huge and have 1818337 docs inside. We may try to increase the connect time out for replicator label in .ini first. It confused me is that when we reduce case to use very simple .ini file like below we do not face the replicator issue for sw360changelogs, but if we change back to use the complex .ini file for db setup then the timeout issue would appear. <img width="814" alt="Screenshot 2024-06-20 at 20 41 18" src="https://github.com/apache/couchdb/assets/17232084/90163964-46e4-4116-b933-7c0e763e3b2c"> <img width="1635" alt="Screenshot 2024-06-20 at 20 52 06" src="https://github.com/apache/couchdb/assets/17232084/e0f699de-7b90-42f9-afc7-7c1348062f92"> The simple .ini file that works. ``` [admins] xxx = xxx [couchdb] uuid = 9cfc779d1c23054f8e515f92042695c0 max_document_size = 4294967296 ; bytes database_dir = ./data view_index_dir = ./data file_compression = snappy os_process_timeout = 7000 ; 7 seconds. for view servers. max_dbs_open = 500 attachment_stream_buffer_size = 8192 [couch_httpd_auth] secret = fdccaf1f00c36ea9550a84b423b2e755 [chttpd] bind_address = 0.0.0.0 port = 5984 max_http_request_size = 4294967296 ; 4 GB [httpd] max_http_request_size = 4294967296 ; 4 GB server_options = [{backlog, 1024}, {acceptor_pool_size, 16}, {max, 8192}] [cluster] n = 1 [replicator] max_jobs = 500 interval = 60000 max_churn = 20 max_history = 20 worker_batch_size = 500 worker_processes = 8 http_connections = 20 retries_per_request = 5 connection_timeout = 30000 socket_options = [{keepalive, true}, {nodelay, false}] checkpoint_interval = 5000 use_checkpoints = true use_bulk_get = true valid_socket_options = buffer,keepalive,nodelay,priority,recbuf,sndbuf [prometheus] additional_port = true bind_address = 0.0.0.0 port = 9985 ``` -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
