couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Macdonald <macfisher...@gmail.com>
Subject couchdb kills itself
Date Tue, 19 May 2009 22:31:50 GMT
Hi,
I'm trying to load 9 million documents. I get to around 900K+ and
couchdb decides it has had enough:

$ more couchdb.stderr

heart_beat_kill_pid = 7227
heart_beat_timeout = 11
heart: Tue May 19 18:11:33 2009: heart-beat time-out.
heart: Tue May 19 18:11:57 2009: Executed
"/home/couchdb/couchdb/bin/couchdb -k". Terminating.

The resulting database is 4Gigs.

The tail end of the log in var/log/couchdb shows this:

[Tue, 19 May 2009 22:09:59 GMT] [info] [<0.12575.0>] 127.0.0.1 - -
'POST' /activity/_bulk_docs 201

[Tue, 19 May 2009 22:10:14 GMT] [error] [<0.12575.0>] {error_report,<0.21.0>,
    {<0.12575.0>,crash_report,
     [[{pid,<0.12575.0>},
       {registered_name,[]},
       {error_info,
           {exit,
               {timeout,
                   {gen_server,call,
                       [couch_config,
                        {register,#Fun<couch_httpd.9.104562741>,
                            <0.12575.0>}]}},
               [{gen_server,call,2},
                {couch_httpd,handle_request,4},
                {mochiweb_http,headers,5},
                {proc_lib,init_p_do_apply,3}]}},
       {initial_call,{mochiweb_socket_server,acceptor_loop,['Argument__1']}},
       {ancestors,
           [couch_httpd,couch_secondary_services,couch_server_sup,<0.1.0>]},
       {messages,[]},
       {links,[<0.51.0>,#Port<0.1097>]},
       {dictionary,[{jsonp,undefined}]},
       {trap_exit,false},
       {status,running},
       {heap_size,4181},
       {stack_size,23},
       {reductions,2845177947}],
      []]}}

[Tue, 19 May 2009 22:10:14 GMT] [error] [<0.51.0>] {error_report,<0.21.0>,
    {<0.51.0>,std_error,
     {mochiweb_socket_server,235,
         {child_error,
             {timeout,
                 {gen_server,call,
                     [couch_config,
                      {register,#Fun<couch_httpd.9.104562741>,
                          <0.12575.0>}]}}}}}}

The last document looks perfectly fine (I'm using Net::CouchDB):

964979: $VAR1 = {
          'activity_time' => '20090120154136',
          'product_id' => '44-444-444',
          'email_id' => 'A@example.net',
          'categories' => [
                            'S1234'
                          ],
          'type' => 'b'
        };

I've tried this twice now. Any ideas?

$ bin/couchdb -V
couchdb - Apache CouchDB 0.10.0a776321


TIA

-- 
Jeff Macdonald
Ayer, MA

Mime
View raw message