couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1986) 04-replication-large-atts.t times out
Date Wed, 29 Jan 2014 10:36:09 GMT


Alexander Shorin commented on COUCHDB-1986:

Repost from dev@ ML with small fixes.

I added a bit more logging to ibrowse and couch_replicator and it seems that it takes ~120
secs to transfer single document with 9MB attachment in case remote->local where remote
is the same localhost. Here is the output:

[info] [<0.342.0>] <0.336.0>: requesting post ""

[info] [<0.342.0>] <0.336.0>: got response in 0 sec
[info] [<0.342.0>] <0.336.0>: requesting put ""
[info] [<0.342.0>] <0.336.0>: got response in 120 sec
[info] [<0.342.0>] <0.336.0>: requesting post ""

[info] [<0.342.0>] <0.336.0>: got response in 0 sec

the test fails with timeout during transferring of the third document.

And here is more interesting logs:
I added logging around gen_tcp:send call at:

do_send/2 >>> - before gen_tcp:send call
do_send/2 <<< - after gen_tcp:send call

Note how the timings rapidly starts but very soon it hits some limitation and transfer goes
by very short chunks which are split by the gen_tcp:send call and timeout lasts always around
200 milliseconds. Also sometimes the next message arrives from ibrowse tracing:
2014-1-29_9:6:25:259 -- ( - Inactivity timeout triggered. Shutting down connection

Any ideas?

> 04-replication-large-atts.t times out
> -------------------------------------
>                 Key: COUCHDB-1986
>                 URL:
>             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

View raw message