On linux, add the lines riak soft core unlimited riak hard core unlimited riak soft nofile 65536 riak hard nofile 65536
to the file /etc/security/limits.conf (cores aren't totally germane to your question, but it's a good idea, since they tend to be disabled by default on modern linux systems). You may also want to raise the ERL_MAX_PORTS value in your vm.args On Mon, Jan 21, 2013 at 12:14 PM, Daniel Gerep <[email protected]> wrote: > Can you tell me how? I have no idea and thanks for your answer. > > > On 21 January 2013 16:13, Evan Vigil-McClanahan <[email protected]> > wrote: >> >> Daniel, >> >> You need to raise the number of file handles that riak is allowed to use. >> >> On Mon, Jan 21, 2013 at 11:03 AM, Daniel Gerep <[email protected]> >> wrote: >> > Hi all. >> > >> > I'm inserting 2.000 values at a time. >> > >> > It inserts something around 730 - 783 record and start showing this >> > error on >> > riak console >> > >> > I have checked the file several times and there are no errors, no >> > special >> > characters, no spaces, the file is 100% correct. >> > >> > Any ideas? >> > >> > >> > 15:56:48.013 [error] CRASH REPORT Process <0.4470.0> with 0 neighbours >> > crashed with reason: {error,accept_failed} >> > >> > 15:56:48.291 [error] >> > {mochiweb_socket_server,310,{acceptor_error,{error,accept_failed}}} >> > >> > 15:57:22.363 [error] application: mochiweb, "Accept failed error", >> > "{error,emfile}" >> > >> > -- >> > >> > Att >> > Daniel Gerep >> > >> > Live long and prosper >> > >> > _______________________________________________ >> > riak-users mailing list >> > [email protected] >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> > > > > > > -- > > Att > Daniel Gerep > > Live long and prosper _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
