couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Re: CouchDB crashing at random times
Date Sat, 24 Aug 2013 17:31:52 GMT
cc dev@

FWIW, I have seen CouchDB crash with variations of either a database not
being “fully” created when trying to delete it again, or trying to create
a database that should have been deleted but is somehow still around. I
could never find a source reason for that, but these seem to surface in
test suites more than real life application code.

Some of the ephemeral failures in the test suites are of this nature
as well (which ones elude me at the moment (which reminds me, we should
really keep track of them in JIRA, I’ll add them when I get to to it,
if no one beats me to it)).

I had created an etap test* in the past to see if it surfaces anything,
but I can’t get it fail. We should see if we can expand this and have it
go through HTTP.


If memory serves correctly, I did a bit of a dive into the internals
with Bob on IRC once but couldn’t find anything conclusive other than
“maybe a race condition in couch_server or in the interaction of
couch_server and couch_httpd*” or “wonky file descriptors”.


On Aug 24, 2013, at 01:31 , "Chung, Yang" <> wrote:

> Hi Dave,
> Thank you so much for your reply!
> I have downloaded and installed CouchDB 1.3.1 and tried again. The same
> errors occurred. I don't know if you can tell, but we start each test with
> empty database by issuing CouchDB_handle.recreate! (CouchRest method) on
> three databases 
> (
> -instance_method).
> The following is two new crash logs.
> Thank you!
> -Yang
> On 8/23/13 4:10 PM, "Dave Cottlehuber" <> wrote:
>> Hi Yang,
>>                   "/Users/yangtheman/Library/Application
>> Support/CouchbaseServer/testgears_test.couch",
>> This isn't Apache CouchDB, it's Couchbase Server -- from
>> which we can't offer support for -- different
>> product/company etc.
>> Having said that, at this point in time, I think there was not much
>> difference between versions, but the version numbers also don't line
>> up and we don't have the equivalent source either so it's hard to tell
>> for sure.
>> Could you re-test this with a "pure" Apache CouchDB release from
>> and see if this issue is still
>> present? I think 1.3.1 should not be too different for you, and
>> includes fixes for some possible causes.
>> A+
>> Dave
>> On 24 August 2013 00:15, Chung, Yang <> wrote:
>>> Hey guys,
>>> I am really about to throw my hands up because I can't really figure out
>>> why CouchDB keeps during Rails rspec tests.
>>> I set the log level to "debug" to get more error messages, but I don't
>>> think there is any clue (at least not to me) why server is crashing. The
>>> following is the link to the error output message.
>>> 10
>>> 41cc86e32df2/gistfile1.txt#
>>> Any help would be much, much appreciated.
>>> Thank you!
>>> -Yang
>>> E-mail confidentiality.
>>> --------------------------------
>>> This e-mail contains confidential and / or privileged information
>>> belonging to Spirent Communications plc, its affiliates and / or
>>> subsidiaries. If you are not the intended recipient, you are hereby
>>> notified that any disclosure, copying, distribution and / or the taking
>>> of any action based upon reliance on the contents of this transmission
>>> is strictly forbidden. If you have received this message in error please
>>> notify the sender by return e-mail and delete it from your system.
>>> Spirent Communications plc
>>> Northwood Park, Gatwick Road, Crawley, West Sussex, RH10 9XN, United
>>> Kingdom.
>>> Tel No. +44 (0) 1293 767676
>>> Fax No. +44 (0) 1293 767677
>>> Registered in England Number 470893
>>> Registered at Northwood Park, Gatwick Road, Crawley, West Sussex, RH10
>>> 9XN, United Kingdom.
>>> Or if within the US,
>>> Spirent Communications,
>>> 26750 Agoura Road, Calabasas, CA, 91302, USA.
>>> Tel No. 1-818-676- 2300

View raw message