Created
April 1, 2013 23:46
-
-
Save KartikTalwar/5288753 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Name of the riak node | |
-name [email protected] | |
## Cookie for distributed erlang. All nodes in the same cluster | |
## should use the same cookie or they will not be able to communicate. | |
-setcookie riak | |
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive | |
## (Disabled by default..use with caution!) | |
##-heart | |
## Enable kernel poll and a few async threads | |
+K true | |
+A 64 | |
## Treat error_logger warnings as warnings | |
+W w | |
## Increase number of concurrent ports/sockets | |
-env ERL_MAX_PORTS 4096 | |
## Tweak GC to run more often | |
-env ERL_FULLSWEEP_AFTER 0 | |
## Set the location of crash dumps | |
-env ERL_CRASH_DUMP /var/log/riak/erl_crash.dump | |
## Raise the ETS table limit | |
-env ERL_MAX_ETS_TABLES 8192 | |
## Force the erlang VM to use SMP | |
-smp enable | |
## Begin SSL distribution items, DO NOT DELETE OR EDIT THIS COMMENT | |
## To enable SSL encryption of the Erlang intra-cluster communication, | |
## un-comment the three lines below and make certain that the paths | |
## point to correct PEM data files. See docs TODO for details. | |
## -proto_dist inet_ssl | |
## -ssl_dist_opt client_certfile "/etc/riak/erlclient.pem" | |
## -ssl_dist_opt server_certfile "/etc/riak/erlserver.pem" | |
## End SSL distribution items, DO NOT DELETE OR EDIT THIS COMMENT | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment