couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Lofts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1630) CouchDB hangs sometimes (compacting views?)
Date Fri, 14 Dec 2012 21:10:13 GMT

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

Adam Lofts commented on COUCHDB-1630:
-------------------------------------

I'm on Ubuntu 12.10 R15B01. Still reproducing it with CouchDB 1.3.0a-7737b52-git. The script
comes from narrowing down a test case in the a python CouchDB library I use which was causing
the tests to hang.

When I run the script it does not finish. It does through maybe 2 iterations then just hangs.
After the hang 

Some more info: 

After running the crash script:

$ curl localhost:5984/_all_dbs
{"error":"timeout","reason":"{gen_server,call,[couch_server,get_server]}"}

The corresponding erlang log:

[error] [<0.177.0>] Uncaught error in HTTP request: {exit,
                                                     {timeout,
                                                      {gen_server,call,
                                                       [couch_server,
                                                        get_server]}}}
[info] [<0.177.0>] Stacktrace: [{gen_server,call,2,
                                    [{file,"gen_server.erl"},{line,180}]},
                                {couch_server,all_databases,2,
                                    [{file,"couch_server.erl"},{line,197}]},
                                {couch_server,all_databases,0,
                                    [{file,"couch_server.erl"},{line,192}]},
                                {couch_httpd_misc_handlers,
                                    handle_all_dbs_req,1,
                                    [{file,"couch_httpd_misc_handlers.erl"},
                                     {line,77}]},
                                {couch_httpd,handle_request_int,5,
                                    [{file,"couch_httpd.erl"},{line,329}]},
                                {mochiweb_http,headers,5,
                                    [{file,"mochiweb_http.erl"},{line,136}]},
                                {proc_lib,init_p_do_apply,3,
                                    [{file,"proc_lib.erl"},{line,227}]}]
[info] [<0.177.0>] 127.0.0.1 - - GET /_all_dbs 500
[error] [<0.177.0>] httpd 500 error response:
 {"error":"timeout","reason":"{gen_server,call,[couch_server,get_server]}"}

                
> CouchDB hangs sometimes (compacting views?)
> -------------------------------------------
>
>                 Key: COUCHDB-1630
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1630
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Database Core
>    Affects Versions: 1.3
>            Reporter: Adam Lofts
>         Attachments: crash.sh
>
>
> Running the attached script causes couchdb to stop responding to requests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message