ports/net/i2pd/pkg
2023-08-16 22:26:55 +00:00
..
DESCR SecBSD's official ports repository 2023-08-16 22:26:55 +00:00
i2pd.rc SecBSD's official ports repository 2023-08-16 22:26:55 +00:00
PLIST SecBSD's official ports repository 2023-08-16 22:26:55 +00:00
README SecBSD's official ports repository 2023-08-16 22:26:55 +00:00

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

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

By default, 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