couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paolo Negri <>
Subject timeout hitting a database url after launching compaction
Date Fri, 14 Oct 2011 08:41:28 GMT
Dear list,

We have a script that does the following (strictly sequentially)

1) update 300K docs in a db
2) launch compaction of the db
3) poll at a 30 sec frequency to know
when compaction completed

Last night we got a timeout error during 3, we think that this might
be because the first polling (GET is
done right after triggering compaction

I thought the dev team might be interested in knowing that this is happening

There's no other activity on the couchdb instance other than what
described in this email.

ERROR unexpectd response checking compaction db: {ok,"500",

"CouchDB/1.3.0a-74613f5-git (Erlang OTP/R14B04)"},
                                                  "Fri, 14 Oct 2011
01:46:37 GMT"},
                                                  "text/plain; charset=utf-8"},

  [couch_server,\\n     {open,<<\\\"backup\\\">>,\\n
[{user_ctx,\\n              {user_ctx,null,\\n
[<<\\\"_admin\\\">>],\\n                  <<\\\"{couch_httpd_auth,
default_authentication_handler}\\\">>}}]},\\n     infinity]}\"}\n">>}



View raw message