Hey Abdul,

Check out the specifics on "Enabling PAM Based limits..." Give that a shot
and let us know if it doesn't solve the issue.

http://docs.basho.com/riak/latest/ops/tuning/open-files-limit/#Linux
(you'll need to scroll down a bit.)

Mark


On Wed, Aug 21, 2013 at 11:53 PM, Abdul Hamed <[email protected]>wrote:

> hello,
>          thank you so much, as you said change ulimit -n 40000 but it
> showing same error it is not restarting Riak services.
>
> openstack2@openstack2:~$ sudo riak start
> [sudo] password for openstack2:
> !!!!
> !!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
> !!!!
> riak failed to start within 15 seconds,
> see the output of 'riak console' for more information.
> If you want to wait longer, set the environment variable
> WAIT_FOR_ERLANG to the number of seconds to wait.
>
> openstack2@openstack2:~$ sudo riak console
> Node '[email protected]' not responding to pings.
> config is OK
> !!!!
> !!!! WARNING: ulimit -n is 1024; 4096 is the recommended minimum.
> !!!!
> Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot
> /usr/lib/riak/releases/1.4.1/riak              -config
> /etc/riak/app.config             -pa
> /usr/lib/riak/lib/basho-patches             -args_file /etc/riak/vm.args --
> console
> Root: /usr/lib/riak
> Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:1:1] [async-threads:64]
> [kernel-poll:true]
>
> /usr/lib/riak/lib/os_mon-2.2.9/priv/bin/memsup: Erlang has closed.
>                                                                    Erlang
> has closed
>     {"Kernel pid
> terminated",application_controller,"{application_start_failure,riak_core,{shutdown,{riak_core_app,start,[normal,[]]}}}"}
>
> Crash dump was written to: /var/log/riak/erl_crash.dump
> Kernel pid terminated (application_controller)
> ({application_start_failure,riak_core,{shutdown,{riak_core_app,start,[normal,[]]}}})
>
> i am not getting where i did wrong...
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to