openbsd-ports/databases/riak/pkg
2012-12-19 01:47:25 +00:00
..
DESCR
PFRAG.shared
PLIST update riak to work with erlang r15b02, prodded by dlg@ and looked at 2012-12-19 01:47:25 +00:00
README
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.2 2012/08/25 06:33:14 ajacoutot 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-cur=2048:\
		: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