You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Rajkumar S <ra...@gmail.com> on 2011/09/26 09:02:55 UTC

Random OS Process Error

Hi,

I am using CouchDB 1.1.0 on a Debian Lenny server with a database of
around 1GB. It contains about 130973 docs with each about 1k in size.
The DB contains about 5 views. I was running 0.11.0 since it's
release, but couple of weeks back I started getting timeout errors.

[Wed, 07 Sep 2011 06:41:15 GMT] [error] [<0.13030.70>] Uncaught error
in HTTP request: {exit,
                                 {timeout,
                                  {gen_server,call,
                                   [couch_view,
                                    {get_group_server,<<"cdb_201108">>,
                                     {group,
                                      <<196,228,155,127,61,89,135,231,11,81,
                                        162,8,104,14,145,192>>,
                                      nil,nil,<<"_design/processing">>,
                                      <<"javascript">>,[],
                                      [{view,0,
                                        [<<"unprocessed">>],
                                        <<"function(doc) {}">>,
                                        nil,[],[]}],
                                      nil,0,0,nil,nil}}]}}}

[Wed, 07 Sep 2011 06:41:15 GMT] [info] [<0.13030.70>] Stacktrace:
[{gen_server,call,2},
             {couch_view,get_group_server,2},
             {couch_view,get_group,3},
             {couch_view,get_map_view,4},
             {couch_httpd_view,design_doc_view,5},
             {couch_httpd_db,do_db_req,2},
             {couch_httpd,handle_request_int,5},
             {mochiweb_http,headers,5}]

There was no change in the environment I could remember to which I
could attribute such an error. So I thought I will upgrade the CouchDB
and check if that resolves this issue. Even after upgrading (for which
there was some issues due to old libraries being present, but finally
I was able to get every thing running) I am getting random OS Process
Error in the logs and views fail. These error do not happen every
time, but once it happens I restart the CouchDB and every thing runs
fine for about half hour of so. I have pasted (some what sanitised)
logs at http://pastebin.ca/2082939

A Google search does not bring up any similar error situation from
this list or any other sources and hence this mail to the list.  Pl
let me know if any additional information is required to pinpoint this
issue. Any help to resolve this will be much appreciated.

with regards,

raj

Re: Random OS Process Error

Posted by Rajkumar S <ra...@gmail.com>.
Hi,

Some more updates to the problem:

I have applied the patch at https://issues.apache.org/jira/browse/COUCHDB-893

I have also removed all views (the .mxbridge_201109_design directory)
and regenerated the views again.

But the error persists.

One more observation is that the view stalls for quite some time
before giving the error. for example I have started indexing two views
together. the reports view will exit with error after some time, while
reports_new is getting indexed.

View Group Indexer	cdb_201109
_design/reports_new	<0.10750.0>	Processed 8894 of 99069 changes (8%)
View Group Indexer	cdb_201109 _design/reports	<0.16701.0>	Processed 0
of 29758 changes (0%)

with regards,

raj

On Mon, Sep 26, 2011 at 12:32 PM, Rajkumar S <ra...@gmail.com> wrote:
> Hi,
>
> I am using CouchDB 1.1.0 on a Debian Lenny server with a database of
> around 1GB. It contains about 130973 docs with each about 1k in size.
> The DB contains about 5 views. I was running 0.11.0 since it's
> release, but couple of weeks back I started getting timeout errors.
>
> [Wed, 07 Sep 2011 06:41:15 GMT] [error] [<0.13030.70>] Uncaught error
> in HTTP request: {exit,
>                                 {timeout,
>                                  {gen_server,call,
>                                   [couch_view,
>                                    {get_group_server,<<"cdb_201108">>,
>                                     {group,
>                                      <<196,228,155,127,61,89,135,231,11,81,
>                                        162,8,104,14,145,192>>,
>                                      nil,nil,<<"_design/processing">>,
>                                      <<"javascript">>,[],
>                                      [{view,0,
>                                        [<<"unprocessed">>],
>                                        <<"function(doc) {}">>,
>                                        nil,[],[]}],
>                                      nil,0,0,nil,nil}}]}}}
>
> [Wed, 07 Sep 2011 06:41:15 GMT] [info] [<0.13030.70>] Stacktrace:
> [{gen_server,call,2},
>             {couch_view,get_group_server,2},
>             {couch_view,get_group,3},
>             {couch_view,get_map_view,4},
>             {couch_httpd_view,design_doc_view,5},
>             {couch_httpd_db,do_db_req,2},
>             {couch_httpd,handle_request_int,5},
>             {mochiweb_http,headers,5}]
>
> There was no change in the environment I could remember to which I
> could attribute such an error. So I thought I will upgrade the CouchDB
> and check if that resolves this issue. Even after upgrading (for which
> there was some issues due to old libraries being present, but finally
> I was able to get every thing running) I am getting random OS Process
> Error in the logs and views fail. These error do not happen every
> time, but once it happens I restart the CouchDB and every thing runs
> fine for about half hour of so. I have pasted (some what sanitised)
> logs at http://pastebin.ca/2082939
>
> A Google search does not bring up any similar error situation from
> this list or any other sources and hence this mail to the list.  Pl
> let me know if any additional information is required to pinpoint this
> issue. Any help to resolve this will be much appreciated.
>
> with regards,
>
> raj
>