several crashes on my dev machine

Sean Cribbs sean at basho.com
Mon Nov 15 16:26:35 EST 2010


Yes, that looks like you don't have enough available file handles.  What's the `ulimit -n` output in the shell where you start Riak?

Sean Cribbs <sean at basho.com>
Developer Advocate
Basho Technologies, Inc.
http://basho.com/

On Nov 15, 2010, at 3:22 PM, Andrea Campolonghi wrote:

> probably this is more usefull:
> 
> =ERROR REPORT==== 15-Nov-2010::21:01:03 ===
> ** Generic server memsup terminating 
> ** Last message in was {'EXIT',<0.746.0>,
>                            {emfile,
>                                [{erlang,open_port,
>                                     [{spawn,"/bin/sh -s unix:cmd 2>&1"},
>                                      [stream]]},
>                                 {os,start_port_srv_loop,2}]}}
> ** When Server state == [{data,[{"Timeout",60000}]},
>                          {items,{"Memory Usage",
>                                  [{"Allocated",3034040000},
>                                   {"Total",3703892000}]}},
>                          {items,{"Worst Memory User",
>                                  [{"Pid",<0.7.0>},{"Memory",230504}]}}]
> ** Reason for termination == 
> ** {emfile,[{erlang,open_port,[{spawn,"/bin/sh -s unix:cmd 2>&1"},[stream]]},
>             {os,start_port_srv_loop,2}]}
> 
> =INFO REPORT==== 15-Nov-2010::21:01:03 ===
>     alarm_handler: {clear,system_memory_high_watermark}
> 
> =ERROR REPORT==== 15-Nov-2010::21:01:03 ===
> ** Generic server memsup terminating 
> ** Last message in was {'EXIT',<0.749.0>,
>                            {emfile,
>                                [{erlang,open_port,
>                                     [{spawn,"/bin/sh -s unix:cmd 2>&1"},
>                                      [stream]]},
>                                 {os,start_port_srv_loop,2}]}}
> ** When Server state == {state,{unix,darwin},
>                                false,undefined,undefined,false,60000,30000,
>                                0.8,0.05,<0.749.0>,#Ref<0.0.0.2299>,undefined,
>                                [reg],
>                                []}
> ** Reason for termination == 
> ** {emfile,[{erlang,open_port,[{spawn,"/bin/sh -s unix:cmd 2>&1"},[stream]]},
>             {os,start_port_srv_loop,2}]}
> 
> =ERROR REPORT==== 15-Nov-2010::21:01:03 ===
> ** Generic server memsup terminating 
> ** Last message in was {'EXIT',<0.752.0>,
>                            {emfile,
>                                [{erlang,open_port,
>                                     [{spawn,"/bin/sh -s unix:cmd 2>&1"},
>                                      [stream]]},
>                                 {os,start_port_srv_loop,2}]}}
> ** When Server state == {state,{unix,darwin},
>                                false,undefined,undefined,false,60000,30000,
>                                0.8,0.05,<0.752.0>,#Ref<0.0.0.2304>,undefined,
>                                [reg],
>                                []}
> ** Reason for termination == 
> ** {emfile,[{erlang,open_port,[{spawn,"/bin/sh -s unix:cmd 2>&1"},[stream]]},
>             {os,start_port_srv_loop,2}]}
> 
> =ERROR REPORT==== 15-Nov-2010::21:01:03 ===
> ** Generic server memsup terminating 
> ** Last message in was {'EXIT',<0.755.0>,
>                            {emfile,
>                                [{erlang,open_port,
>                                     [{spawn,"/bin/sh -s unix:cmd 2>&1"},
>                                      [stream]]},
>                                 {os,start_port_srv_loop,2}]}}
> ** When Server state == {state,{unix,darwin},
>                                false,undefined,undefined,false,60000,30000,
>                                0.8,0.05,<0.755.0>,#Ref<0.0.0.2310>,undefined,
>                                [reg],
>                                []}
> ** Reason for termination == 
> ** {emfile,[{erlang,open_port,[{spawn,"/bin/sh -s unix:cmd 2>&1"},[stream]]},
>             {os,start_port_srv_loop,2}]}
> 
> =ERROR REPORT==== 15-Nov-2010::21:01:03 ===
> ** Generic server memsup terminating 
> ** Last message in was {'EXIT',<0.758.0>,
>                            {emfile,
>                                [{erlang,open_port,
>                                     [{spawn,"/bin/sh -s unix:cmd 2>&1"},
>                                      [stream]]},
>                                 {os,start_port_srv_loop,2}]}}
> ** When Server state == {state,{unix,darwin},
>                                false,undefined,undefined,false,60000,30000,
>                                0.8,0.05,<0.758.0>,#Ref<0.0.0.2315>,undefined,
>                                [reg],
>                                []}
> ** Reason for termination == 
> ** {emfile,[{erlang,open_port,[{spawn,"/bin/sh -s unix:cmd 2>&1"},[stream]]},
>             {os,start_port_srv_loop,2}]}
> 
> =INFO REPORT==== 15-Nov-2010::21:01:03 ===
>     application: os_mon
>     exited: shutdown
>     type: permanent
> {"Kernel pid terminated",application_controller,"{application_terminated,os_mon,shutdown}"}
> 
> 
> 
> Crash dump was written to: erl_crash.dump
> 
> Kernel pid terminated (application_controller) ({application_terminated,os_mon,shutdown})
> 
> 
> Andrea
> 
> 2010/11/15 Sean Cribbs <sean at basho.com>
> It would be more useful to see the erlang.log.* file(s) where the crash occurred.
> 
> Sean Cribbs <sean at basho.com>
> Developer Advocate
> Basho Technologies, Inc.
> http://basho.com/
> 
> On Nov 15, 2010, at 3:06 PM, Andrea Campolonghi wrote:
> 
>> I am using riak on my dev machine ( OSX ) an d I am getting several crashes.
>> I attach the crash file report.
>> 
>> Any suggestion?
>> So I probably need to increase riak allocated memory?
>> 
>> 
>> 
>> -- 
>> Andrea Campolonghi
>> 
>> Cell : +39 347 2298435
>> acampolonghi at gmail.com
>> andrea at andreacfm.com
>> http://www.andreacfm.com
>> 
>> Railo Team
>> andrea at getrailo.org
>> http://getrailo.org
>> 
>> 
>> <erl_crash.dump>_______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> 
> 
> -- 
> Andrea Campolonghi
> 
> Cell : +39 347 2298435
> acampolonghi at gmail.com
> andrea at andreacfm.com
> http://www.andreacfm.com
> 
> Railo Team
> andrea at getrailo.org
> http://getrailo.org
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20101115/2261bda3/attachment.html>


More information about the riak-users mailing list