[ 
https://issues.apache.org/jira/browse/COUCHDB-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13912889#comment-13912889
 ] 

Nick North commented on COUCHDB-1986:
-------------------------------------

It may have absolutely no bearing on the problem, but there are a few places in 
the attachment handling code that specify fixed or default chunk sizes as well.

couch_httpd_db:receive_request_data/2 receives data in chunks up 4096.
couch_db:flush_att/2 uses attachment_stream_buffer_size from the config file, 
defaulting to 4096.
couch_db:write_streamed_attachment/3 writes in chunks of 16#2000.

I don't know if any of these interact badly with RECBUF value, but I've 
stumbled across them in work on issue 1956, so mention them in case they are 
important.


> 04-replication-large-atts.t times out
> -------------------------------------
>
>                 Key: COUCHDB-1986
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1986
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.5.0
>            Reporter: Jan Lehnardt
>
> 04-replication-large-atts.t gets stuck around 558, sometimes a little earlier 
> or later, but it times out eventually, regardless of the timeout. I tried 
> doubling and such.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to