openbsd-ports/databases/riak/pkg/README
ajacoutot d682cf0b3e Don't hardcode gmake, use ${MAKE_PROGRAM}.
Tighten LIB_DEPENDS.
Don't hardcode /usr/local and /etc.

ok jmatthew@ (maintainer)
2012-08-25 06:33:14 +00:00

34 lines
947 B
Plaintext

$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