chikahiroba-OpenBSD/usr/ports/net/i2pd/pkg
84d47a1c67 Initial commit. 2022-12-25 14:20:34 +09:00
..
CVS Initial commit. 2022-12-25 14:20:34 +09:00
DESCR Initial commit. 2022-12-25 14:20:34 +09:00
PLIST Initial commit. 2022-12-25 14:20:34 +09:00
README Initial commit. 2022-12-25 14:20:34 +09:00
i2pd.rc Initial commit. 2022-12-25 14:20:34 +09:00

README

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

Resource Limits: File Descriptors
=================================

By default, the _i2pd user, and so the i2pd process runs in the login(1)
class of "daemon". The default limits on file descriptors are
insufficient to run i2pd; instead you should put the _i2pd user and
process in their own login(1) class with tuned resources. You should
also raise the system-wide maxfiles limit.

1. Configure i2pd login class in the login.conf(5) file:

        i2pd:\
                :openfiles-cur=8192:\
                :openfiles-max=8192:\
                :tc=daemon:

2. Adjust kern.maxfiles, if needed:

	# sysctl kern.maxfiles=16000
	# echo "kern.maxfiles=16000" >> /etc/sysctl.conf