You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Matthew Slade <ma...@moonlight42.com> on 2011/09/08 17:55:50 UTC

View Compaction Failure

Hi All

My production environment's view compaction seems to be failing with
the following error in the log: http://pastebin.com/1RuJfD4i

I'm at a bit of a dead end here as to the cause since the error is
incredibly unhelpful :/

Any help would be greatly appreciated.

Thanks

Matthew

Re: View Compaction Failure

Posted by Matthew Slade <ma...@moonlight42.com>.
Hi

Tried restarting and rerunning the view compaction and I receive the
same failure and resulting error.

Matthew

On Thu, Sep 8, 2011 at 6:44 PM, Robert Newson <rn...@apache.org> wrote:
> I'd try restarting couchdb and seeing if it still happens. I can't
> (yet) see a path in the code that leads here, but there clearly must
> be one.
>
> B.
>
> On 8 September 2011 17:22, Matthew Slade <ma...@moonlight42.com> wrote:
>> Hi Rob
>>
>> It does happen every time I try to do it
>> Couchdb version is 1.1.0
>> Compiled from source
>> I haven't installed over an existing installation.
>> I did the "textbook" install from source for ubuntu on the couchdb
>> wiki and did not go near installing from the package manager.
>>
>> Would deleting the view files and reindexing my views possibly fix the
>> problem? (Not my first choice at a solution, but if it has to be done
>> it can be)
>>
>> Thanks
>>
>> Matthew
>>
>>
>>
>> On Thu, Sep 8, 2011 at 6:10 PM, Robert Newson <rn...@apache.org> wrote:
>>> Or incredibly helpful if you can read it. :)
>>>
>>> It seems couchdb is trying to close 'nil', the placeholder value for
>>> when we don't have a file descriptor. Not sure how you got into this
>>> state though.
>>>
>>> Does it happen every time? What version of CouchDB is this? Do you
>>> install from source or a package? Have you ever installed a version of
>>> CouchDB over an existing installation?
>>>
>>> B.
>>>
>>> On 8 September 2011 16:55, Matthew Slade <ma...@moonlight42.com> wrote:
>>>> Hi All
>>>>
>>>> My production environment's view compaction seems to be failing with
>>>> the following error in the log: http://pastebin.com/1RuJfD4i
>>>>
>>>> I'm at a bit of a dead end here as to the cause since the error is
>>>> incredibly unhelpful :/
>>>>
>>>> Any help would be greatly appreciated.
>>>>
>>>> Thanks
>>>>
>>>> Matthew
>>>>
>>>
>>
>>
>>

Re: View Compaction Failure

Posted by Robert Newson <rn...@apache.org>.
I'd try restarting couchdb and seeing if it still happens. I can't
(yet) see a path in the code that leads here, but there clearly must
be one.

B.

On 8 September 2011 17:22, Matthew Slade <ma...@moonlight42.com> wrote:
> Hi Rob
>
> It does happen every time I try to do it
> Couchdb version is 1.1.0
> Compiled from source
> I haven't installed over an existing installation.
> I did the "textbook" install from source for ubuntu on the couchdb
> wiki and did not go near installing from the package manager.
>
> Would deleting the view files and reindexing my views possibly fix the
> problem? (Not my first choice at a solution, but if it has to be done
> it can be)
>
> Thanks
>
> Matthew
>
>
>
> On Thu, Sep 8, 2011 at 6:10 PM, Robert Newson <rn...@apache.org> wrote:
>> Or incredibly helpful if you can read it. :)
>>
>> It seems couchdb is trying to close 'nil', the placeholder value for
>> when we don't have a file descriptor. Not sure how you got into this
>> state though.
>>
>> Does it happen every time? What version of CouchDB is this? Do you
>> install from source or a package? Have you ever installed a version of
>> CouchDB over an existing installation?
>>
>> B.
>>
>> On 8 September 2011 16:55, Matthew Slade <ma...@moonlight42.com> wrote:
>>> Hi All
>>>
>>> My production environment's view compaction seems to be failing with
>>> the following error in the log: http://pastebin.com/1RuJfD4i
>>>
>>> I'm at a bit of a dead end here as to the cause since the error is
>>> incredibly unhelpful :/
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks
>>>
>>> Matthew
>>>
>>
>
>
>
> --
> Matthew Slade
> Senior Developer
> Moonlight42
> (C) +27 72 655 4910
> (W) +27 21 551 2409
>

Re: View Compaction Failure

Posted by Matthew Slade <ma...@moonlight42.com>.
fyi here's a more cleaned up version of the original pastebin. I
removed any other logging that wasn't error related

http://pastebin.com/64r2ep1E

On Thu, Sep 8, 2011 at 6:22 PM, Matthew Slade
<ma...@moonlight42.com> wrote:
> Hi Rob
>
> It does happen every time I try to do it
> Couchdb version is 1.1.0
> Compiled from source
> I haven't installed over an existing installation.
> I did the "textbook" install from source for ubuntu on the couchdb
> wiki and did not go near installing from the package manager.
>
> Would deleting the view files and reindexing my views possibly fix the
> problem? (Not my first choice at a solution, but if it has to be done
> it can be)
>
> Thanks
>
> Matthew
>
>
>
> On Thu, Sep 8, 2011 at 6:10 PM, Robert Newson <rn...@apache.org> wrote:
>> Or incredibly helpful if you can read it. :)
>>
>> It seems couchdb is trying to close 'nil', the placeholder value for
>> when we don't have a file descriptor. Not sure how you got into this
>> state though.
>>
>> Does it happen every time? What version of CouchDB is this? Do you
>> install from source or a package? Have you ever installed a version of
>> CouchDB over an existing installation?
>>
>> B.
>>
>> On 8 September 2011 16:55, Matthew Slade <ma...@moonlight42.com> wrote:
>>> Hi All
>>>
>>> My production environment's view compaction seems to be failing with
>>> the following error in the log: http://pastebin.com/1RuJfD4i
>>>
>>> I'm at a bit of a dead end here as to the cause since the error is
>>> incredibly unhelpful :/
>>>
>>> Any help would be greatly appreciated.
>>>
>>> Thanks
>>>
>>> Matthew
>>>
>>
>
>
>
> --
> Matthew Slade
> Senior Developer
> Moonlight42
> (C) +27 72 655 4910
> (W) +27 21 551 2409
>



-- 
Matthew Slade
Senior Developer
Moonlight42
(C) +27 72 655 4910
(W) +27 21 551 2409

Re: View Compaction Failure

Posted by Matthew Slade <ma...@moonlight42.com>.
Hi Rob

It does happen every time I try to do it
Couchdb version is 1.1.0
Compiled from source
I haven't installed over an existing installation.
I did the "textbook" install from source for ubuntu on the couchdb
wiki and did not go near installing from the package manager.

Would deleting the view files and reindexing my views possibly fix the
problem? (Not my first choice at a solution, but if it has to be done
it can be)

Thanks

Matthew



On Thu, Sep 8, 2011 at 6:10 PM, Robert Newson <rn...@apache.org> wrote:
> Or incredibly helpful if you can read it. :)
>
> It seems couchdb is trying to close 'nil', the placeholder value for
> when we don't have a file descriptor. Not sure how you got into this
> state though.
>
> Does it happen every time? What version of CouchDB is this? Do you
> install from source or a package? Have you ever installed a version of
> CouchDB over an existing installation?
>
> B.
>
> On 8 September 2011 16:55, Matthew Slade <ma...@moonlight42.com> wrote:
>> Hi All
>>
>> My production environment's view compaction seems to be failing with
>> the following error in the log: http://pastebin.com/1RuJfD4i
>>
>> I'm at a bit of a dead end here as to the cause since the error is
>> incredibly unhelpful :/
>>
>> Any help would be greatly appreciated.
>>
>> Thanks
>>
>> Matthew
>>
>



-- 
Matthew Slade
Senior Developer
Moonlight42
(C) +27 72 655 4910
(W) +27 21 551 2409

Re: View Compaction Failure

Posted by Robert Newson <rn...@apache.org>.
Or incredibly helpful if you can read it. :)

It seems couchdb is trying to close 'nil', the placeholder value for
when we don't have a file descriptor. Not sure how you got into this
state though.

Does it happen every time? What version of CouchDB is this? Do you
install from source or a package? Have you ever installed a version of
CouchDB over an existing installation?

B.

On 8 September 2011 16:55, Matthew Slade <ma...@moonlight42.com> wrote:
> Hi All
>
> My production environment's view compaction seems to be failing with
> the following error in the log: http://pastebin.com/1RuJfD4i
>
> I'm at a bit of a dead end here as to the cause since the error is
> incredibly unhelpful :/
>
> Any help would be greatly appreciated.
>
> Thanks
>
> Matthew
>