Error when inserting lots of records

Daniel Gerep daniel at planobe.com.br
Mon Jan 21 14:27:25 EST 2013


I can't find the file /etc/security/limits.conf

Inside my /etc I have this:

*app.config  cert.pem  key.pem  vm.args*


On 21 January 2013 17:22, Evan Vigil-McClanahan <emcclanahan at basho.com>wrote:

> 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 <daniel at planobe.com.br>
> wrote:
> > Can you tell me how? I have no idea and thanks for your answer.
> >
> >
> > On 21 January 2013 16:13, Evan Vigil-McClanahan <emcclanahan at basho.com>
> > 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 <daniel at planobe.com.br>
> >> 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
> >> > riak-users at lists.basho.com
> >> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> >> >
> >
> >
> >
> >
> > --
> >
> > Att
> > Daniel Gerep
> >
> > Live long and prosper
>



-- 
*
*
*Att*
*Daniel Gerep*
*
*
Live long and prosper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130121/30423718/attachment.html>


More information about the riak-users mailing list