openbsd-ports/databases/riak/pkg
2014-02-05 11:22:51 +00:00
..
DESCR
PFRAG.shared update to riak 1.4.7 2014-02-05 11:22:51 +00:00
PLIST update to riak 1.4.7 2014-02-05 11:22:51 +00:00
README update to riak 1.4.2 2013-10-27 11:24:05 +00:00
riak.rc Add a @comment as to why _riak requires a valid homedir and shell. 2012-08-28 05:46:41 +00:00

$OpenBSD: README,v 1.4 2013/10/27 11:24:06 jmatthew Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
+-----------------------------------------------------------------------

Setting up a Riak cluster
=========================

See http://wiki.basho.com/Adding-and-Removing-Nodes.html for information
on setting up a new Riak cluster.

File descriptor limits
======================

Riak requires a large number of open files to run reliably.  See 
http://wiki.basho.com/Open-Files-Limit.html and
http://wiki.basho.com/LevelDB.html for more information.

To raise the open file descriptor limit for riak, add the following to
the login.conf(5) file:

	riak:\
		:openfiles=4096:\
		:tc=daemon:

Rebuild the login.conf.db file if necessary:

	# [ -f /etc/login.conf.db ] && cap_mkdb /etc/login.conf

And assign the _riak user to the riak login class:

	# usermod -L riak _riak