Hi, I'm happy to see that net/i2pd has been updated recently, thanks to everyone involved! I find the README file a very good addition; It could have spared me a few hours of tinkering and a GitHub ticket [1], had I found it earlier.
I think a few slight improvements could be made to the README: 1. Use "openfiles" instead of setting "openfiles-cur" and "openfiles-max" to the same value in /etc/login.conf. 2. Provide the command for changing the login class of the _i2pd user. 3. Use either spaces or tab for indentation (it's mixed right now) [1] https://github.com/PurpleI2P/i2pd/issues/1537 Index: net/i2pd/pkg/README =================================================================== RCS file: /cvs/ports/net/i2pd/pkg/README,v retrieving revision 1.1 diff -u -p -u -r1.1 README --- net/i2pd/pkg/README 28 May 2020 20:57:30 -0000 1.1 +++ net/i2pd/pkg/README 24 Jun 2020 18:07:30 -0000 @@ -15,12 +15,15 @@ also raise the system-wide maxfiles limi 1. Configure i2pd login class in the login.conf(5) file: - i2pd:\ - :openfiles-cur=8192:\ - :openfiles-max=8192:\ - :tc=daemon: + i2pd:\ + :openfiles=8192:\ + :tc=daemon: -2. Adjust kern.maxfiles, if needed: +2. Assign the i2pd login class to the _i2pd user: + + # usermod -L i2pd _i2pd + +3. Adjust kern.maxfiles, if needed: # sysctl kern.maxfiles=16000 # echo "kern.maxfiles=16000" >> /etc/sysctl.conf