You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Tim Hankins <ti...@gmail.com> on 2012/11/14 12:05:28 UTC

OS Process Error

Hi,

Can anyone suggest where I might begin looking in order to track down the
source of this error? Many thanks! Tim.

Machine:          Windows Server 2008 R2 SP1
CouchVersion:  Apache Couch DB 1.2.0
DB Size:          350MB
Number of files: 44020
Design docs:     2
Views:              Each design doc has about 25 views.
Documents:      About 20 different kinds of documents that range in
                        size from a few bytes to ~150KB or so.

The Error:

[error] [<0.123.0>] OS Process Error <0.950.0> :: {<<"list_error">>, <<"not
a row 'ddoc'">>}



The entire error is...

[Wed, 14 Nov 2012 07:03:05 GMT] [error] [<0.123.0>] OS Process Error
<0.950.0> :: {<<"list_error">>,
                                                   <<"not a row 'ddoc'">>}
[Wed, 14 Nov 2012 07:03:05 GMT] [error] [<0.950.0>] OS Process died with
status: -1
[Wed, 14 Nov 2012 07:03:05 GMT] [error] [<0.950.0>] ** Generic server
<0.950.0> terminating
** Last message in was {#Port<0.5384>,{exit_status,-1}}
** When Server state == {os_proc,"./couchjs.exe
../share/couchdb/server/main.js",
                                 #Port<0.5384>,
                                 #Fun<couch_os_process.2.55582190>,
                                 #Fun<couch_os_process.3.55582190>,60000}
** Reason for termination ==
** {exit_status,-1}

[Wed, 14 Nov 2012 07:03:06 GMT] [error] [<0.950.0>] {error_report,<0.34.0>,
                     {<0.950.0>,crash_report,

[[{initial_call,{couch_os_process,init,['Argument__1']}},
                        {pid,<0.950.0>},
                        {registered_name,[]},
                        {error_info,
                         {exit,
                          {exit_status,-1},
                          [{gen_server,terminate,6,
                            [{file,"gen_server.erl"},{line,737}]},
                           {proc_lib,init_p_do_apply,3,
                            [{file,"proc_lib.erl"},{line,227}]}]}},
                        {ancestors,
                         [couch_query_servers,couch_secondary_services,
                          couch_server_sup,<0.35.0>]},
                        {messages,[]},
                        {links,[<0.123.0>,<0.17715.0>]},
                        {dictionary,[]},
                        {trap_exit,false},
                        {status,running},
                        {heap_size,46368},
                        {stack_size,24},
                        {reductions,111945187}],
                       [{neighbour,
                         [{pid,<0.17715.0>},
                          {registered_name,[]},
                          {initial_call,
                           {mochiweb_acceptor,init,
                            ['Argument__1','Argument__2','Argument__3']}},
                          {current_function,{gen,do_call,4}},
                          {ancestors,
                           [couch_httpd,couch_secondary_services,
                            couch_server_sup,<0.35.0>]},
                          {messages,[]},
                          {links,[<0.129.0>,<0.950.0>,#Port<0.6015>]},
                          {dictionary,
                           [{mochiweb_request_body,undefined},
                            {mochiweb_request_qs,[{"key","120"}]},
                            {mochiweb_request_force_close,true},
                            {mochiweb_request_cookie,[]}]},
                          {trap_exit,false},
                          {status,waiting},
                          {heap_size,6765},
                          {stack_size,46},
                          {reductions,10995}]}]]}}

Re: OS Process Error

Posted by Dave Cottlehuber <dc...@jsonified.com>.
On 14 November 2012 12:05, Tim Hankins <ti...@gmail.com> wrote:
> Hi,
>
> Can anyone suggest where I might begin looking in order to track down the
> source of this error? Many thanks! Tim.
>
> Machine:          Windows Server 2008 R2 SP1
> CouchVersion:  Apache Couch DB 1.2.0
> DB Size:          350MB
> Number of files: 44020
> Design docs:     2
> Views:              Each design doc has about 25 views.
> Documents:      About 20 different kinds of documents that range in
>                         size from a few bytes to ~150KB or so.
>
> The Error:
>
> [error] [<0.123.0>] OS Process Error <0.950.0> :: {<<"list_error">>, <<"not
> a row 'ddoc'">>}

It's being thrown in the view server when passing data back to a list function:

https://github.com/apache/couchdb/blob/1.2.0/share/server/render.js#L169-187

So I'd start off with seeing what view was being queried (or built) at
that time. You can re-run stuff with [log] level = debug.

A+
Dave