couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul jobs" <webjog...@gmail.com>
Subject Re: error on compaction - please give pointers to fix, as size is becoming huge 11Gig for 2million documents each just 4 or 5 elements dictionary
Date Thu, 18 Dec 2008 20:39:20 GMT
This is the error i have set all permissions properly now

[[{pid,<0.74.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.150>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.175>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1158}],
      []]}}

[Thu, 18 Dec 2008 20:35:26 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}

[Thu, 18 Dec 2008 20:35:26 GMT] [error] [<0.75.0>] {error_report,<0.22.0>,
    {<0.75.0>,crash_report,
     [[{pid,<0.75.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.150>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.176>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1158}],
      []]}}

[Thu, 18 Dec 2008 20:35:26 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./httpd_util.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./calendar.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./eval_bits.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./proplists.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./gen_tcp.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
              {<0.20.0>,std_error,
               "File operation error: eacces. Target: ./inet_tcp.beam.
Function: get_file. Process: code_server."}}

[Thu, 18 Dec 2008 20:37:37 GMT] [info] [<0.61.0>] Starting process for:
action

[Thu, 18 Dec 2008 20:37:51 GMT] [error] [<0.59.0>] {error_report,<0.22.0>,
    {<0.59.0>,crash_report,
     [[{pid,<0.59.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.152>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.157>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1234}],
      []]}}

[Thu, 18 Dec 2008 20:37:51 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}

[Thu, 18 Dec 2008 20:37:51 GMT] [error] [<0.63.0>] {error_report,<0.22.0>,
    {<0.63.0>,crash_report,
     [[{pid,<0.63.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.152>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.170>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1158}],
      []]}}

[Thu, 18 Dec 2008 20:37:51 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}

[Thu, 18 Dec 2008 20:37:54 GMT] [error] [<0.68.0>] {error_report,<0.22.0>,
    {<0.68.0>,crash_report,
     [[{pid,<0.68.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.152>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.171>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1158}],
      []]}}

[Thu, 18 Dec 2008 20:37:54 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}

[Thu, 18 Dec 2008 20:37:54 GMT] [error] [<0.69.0>] {error_report,<0.22.0>,
    {<0.69.0>,crash_report,
     [[{pid,<0.69.0>},
       {registered_name,[]},
       {error_info,
           {error,
               {badmatch,{ok,0}},
               [{couch_db,get_db_info,1},
                {couch_httpd_db,db_req,2},
                {couch_httpd_db,do_db_req,2},
                {couch_httpd,handle_request,3},
                {mochiweb_http,headers,4},
                {proc_lib,init_p,5}]}},
       {initial_call,
           {mochiweb_socket_server,acceptor_loop,
               [{<0.58.0>,#Port<0.152>,#Fun<mochiweb_http.1.62821608>}]}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.58.0>,#Port<0.172>]},
       {dictionary,[]},
       {trap_exit,false},
       {status,running},
       {heap_size,1597},
       {stack_size,23},
       {reductions,1158}],
      []]}}

[Thu, 18 Dec 2008 20:37:54 GMT] [error] [<0.58.0>] {error_report,<0.22.0>,
              {<0.58.0>,std_error,

{mochiweb_socket_server,235,{child_error,{badmatch,{ok,0}}}}}}



On 12/18/08, Chris Anderson <jchris@gmail.com> wrote:
>
> Paul,
>
> Sounds like a permissions problem. Make sure that you've followed the
> outline in the README to ensure that CouchDB has all the proper
> filesystem permissions it needs to operate.
>
> On Thu, Dec 18, 2008 at 11:48 AM, paul jobs <webjogger@gmail.com> wrote:
> >  sudo couchdb
> > Apache CouchDB 0.9.0a727800-incubating (LogLevel=info) is starting.
> > [info] [<0.62.0>] Starting process for: action
> > Apache CouchDB has started. Time to relax.
> >
> >
> >
> >
> > ^CSyntaxError: syntax error
> >
> > this is how i start couchdb is this right
> >
> > *if i start as daemon*
> >
> > tail -f /usr/local/var/log/couchdb/couch.log
> > [Thu, 18 Dec 2008 19:36:53 GMT] [info] [<0.27347.12>] 216.129.113.184 - -
> > "GET /facebookusers/653431905"
> > 200
> >
> > [Thu, 18 Dec 2008 19:36:53 GMT] [info] [<0.27347.12>] 216.129.113.184 - -
> > "PUT /facebookusers/653431905"
> > 201
> >
> > [Thu, 18 Dec 2008 19:36:53 GMT] [info] [<0.27347.12>] 216.129.113.184 - -
> > "GET /facebookusers/653751203"
> > 200
> >
> > [Thu, 18 Dec 2008 19:36:54 GMT] [info] [<0.62.0>] Starting process for:
> > action
> >
> > [Thu, 18 Dec 2008 19:37:41 GMT] [info] [<0.62.0>] Starting process for:
> > action
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./httpd_util.beam.
> > Function: get_file. Process:
> > code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./calendar.beam.
> > Function: get_file. Process:
> > code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./eval_bits.beam.
> > Function: get_file. Process:
> > code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./proplists.beam.
> > Function: get_file. Process: code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./gen_tcp.beam.
> > Function:get_file. Process: code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [error] [<0.20.0>] {error_report,<0.7.0>,
> >              {<0.20.0>,std_error,
> >               "File operation error: eacces. Target: ./inet_tcp.beam.
> > Function: get_file. Process: code_server."}}
> >
> > [Thu, 18 Dec 2008 19:46:44 GMT] [info] [<0.61.0>] Starting process for:
> > action
> >
> >
> >
> > On Thu, Dec 18, 2008 at 11:44 AM, Damien Katz <damien_katz@yahoo.com>
> wrote:
> >
> >> Try the user ml for upgrade help.
> >>
> >> -Damien
> >>
> >> On Dec 18, 2008, at 2:39 PM, paul jobs wrote:
> >>
> >>
> >>> [Thu, 18 Dec 2008 19:36:54 GMT] [info] [<0.62.0>] Starting process
for:
> >>> action
> >>>
> >>> [Thu, 18 Dec 2008 19:37:41 GMT] [info] [<0.62.0>] Starting process
for:
> >>> action
> >>>
> >>> in couchdb]$ tail -f /usr/local/var/log/couchdb/couch.log
> >>>
> >>> it just says this
> >>>
> >>> On Thu, Dec 18, 2008 at 11:32 AM, Damien Katz <damien_katz@yahoo.com>
>
> >>> wrote:
> >>> There are numerous compaction fixes in trunk. I suggest you upgrade to
> >>> trunk.
> >>>
> >>> -Damien
> >>>
> >>> On Dec 18, 2008, at 2:30 PM, paul jobs wrote:
> >>>
> >>> couchdb -V
> >>> couchdb - Apache CouchDB 0.8.1-incubating
> >>>
> >>> Licensed under the Apache License, Version 2.0 (the "License"); you may
> >>> not use
> >>> this file except in compliance with the License.  You may obtain a copy
> of
> >>> the
> >>> License at
> >>>
> >>>  http://www.apache.org/licenses/LICENSE-2.0
> >>>
> >>> Unless required by applicable law or agreed to in writing, software
> >>> distributed
> >>> under the License is distributed on an "AS IS" BASIS, WITHOUT
> WARRANTIES
> >>> OR
> >>> CONDITIONS OF ANY KIND, either express or implied.  See the License for
> >>> the
> >>> specific language governing permissions and limitations under the
> License.
> >>>
> >>>
> >>>
> >>> On Wed, Dec 17, 2008 at 8:48 PM, Damien Katz <damien_katz@yahoo.com>
> >>> wrote:
> >>> What version of CouchDB are you using?
> >>>
> >>> -Damien
> >>>
> >>>
> >>>
> >>> On Dec 17, 2008, at 11:10 PM, paul jobs wrote:
> >>>
> >>>
> >>>
> >>> facebookusers
> >>> 11.0 GB
> >>> 2184050
> >>>
> >>> [Thu, 18 Dec 2008 04:07:56 GMT] [error] [emulator] Error in process
> >>> <0.140.0> with exit value:
> >>>
> {function_clause,[{couch_db,'-copy_docs/3-fun-0-',[not_found,<0.114.0>,{stream,<0.142.0>,<0.141.0>},<0.141.0>]},{lists,map,2},{lists,map,2},{couch_db,copy_docs,3},{couch_db,'-copy_compact_docs/2-fun-0-',4},{couch_btree,stream_kv_node2,7},{couch_btree,stream_kp_node...
> >>>
> >>>
> >>>
> >>> [Thu, 18 Dec 2008 04:07:56 GMT] [error] [<0.47.0>]
> {error_report,<0.22.0>,
> >>>  {<0.47.0>,supervisor_report,
> >>>   [{supervisor,{local,couch_server_sup}},
> >>>    {errorContext,child_terminated},
> >>>    {reason,
> >>>        {function_clause,
> >>>            [{couch_db,'-copy_docs/3-fun-0-',
> >>>                 [not_found,<0.114.0>,
> >>>                  {stream,<0.142.0>,<0.141.0>},
> >>>                  <0.141.0>]},
> >>>             {lists,map,2},
> >>>             {lists,map,2},
> >>>             {couch_db,copy_docs,3},
> >>>             {couch_db,'-copy_compact_docs/2-fun-0-',4},
> >>>             {couch_btree,stream_kv_node2,7},
> >>>             {couch_btree,stream_kp_node,6},
> >>>             {couch_btree,stream_kp_node,7}]}},
> >>>    {offender,
> >>>        [{pid,<0.115.0>},
> >>>         {name,"facebookusers"},
> >>>         {mfa,
> >>>             {couch_db,open,
> >>>                 ["facebookusers",
> >>>                  "/usr/local/var/lib/couchdb/facebookusers.couch"]}},
> >>>         {restart_type,transient},
> >>>         {shutdown,infinity},
> >>>         {child_type,supervisor}]}]}}
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
>
>
>
>
> --
> Chris Anderson
> http://jchris.mfdz.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message