You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Boaz Citrin <bc...@gmail.com> on 2015/11/08 07:35:58 UTC

Stuck for very long time on bulk request

Hello,

We recently encounter a situation where after using database for a while it
starts hanging on bulk requests.
Even those with just a single doc, regardless of the result, being ok or
conflict, can sometimes take 2 minutes.

This is with version 1.6.1 on Windows.

No errors on log.
Enabled debug and couldn't see anything other than requests, except the
following:

[Thu, 05 Nov 2015 20:29:47 GMT] [debug] [<0.8648.0>] Stacktrace:
[{couch_db,update_doc,4,
                                   [{file,

 "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_db.erl"},
                                    {line,432}]},
                                  {couch_httpd_db,update_doc,6,
                                   [{file,

 "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd_db.erl"},
                                    {line,753}]},
                                  {couch_httpd_db,do_db_req,2,
                                   [{file,

 "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd_db.erl"},
                                    {line,234}]},
                                  {couch_httpd,handle_request_int,5,
                                   [{file,

 "c:/cygwin/relax/APACHE~2.1/src/couchdb/couch_httpd.erl"},
                                    {line,318}]},
                                  {mochiweb_http,headers,5,
                                   [{file,

 "c:/cygwin/relax/APACHE~2.1/src/mochiweb/mochiweb_http.erl"},
                                    {line,94}]},
                                  {proc_lib,init_p_do_apply,3,
                                   [{file,"proc_lib.erl"},{line,239}]}]

Any idea?

Thanks.

Boaz