$OpenBSD: $

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

By default, the processes run by the _i2pd user run in the login(1)
class of "daemon". The default limits on file descriptors are
insufficient to run _i2pd unless you are operating a very small node.
You you should put the _i2pd user and processes in their own login(1)
class with tuned resources.

After changing the login class of the _i2pd user to i2pd, you may add
a block like this to the login.conf(5) file:

	i2pd:\
		:openfiles=2560:\
		:tc=daemon:

Rebuild the login.conf.db file if necessary:

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

For larger servers these numbers and memory limits may also need to be
increased. When running a big floodfill node that is well integrated in
the i2p network, i2pd may consume file descriptors by the thousands. If
you intend to use more than the maximum amount of file descriptors
allowed by the OpenBSD operating system, you may need to rise the
systemwide limit.

	# sysctl kern.maxfiles=10240
