Browse Source

increase nofile limit in service

Signed-off-by: R4SAS <r4sas@i2pmail.org>
pull/1833/head
R4SAS 1 year ago
parent
commit
f8ba5b8c63
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      contrib/i2pd.service
  2. 2
      debian/i2pd.default

2
contrib/i2pd.service

@ -29,7 +29,7 @@ SendSIGKILL=yes @@ -29,7 +29,7 @@ SendSIGKILL=yes
#TimeoutStopSec=10m
# If you have problems with hanging i2pd, you can try increase this
LimitNOFILE=4096
LimitNOFILE=8192
# To enable write of coredump uncomment this
#LimitCORE=infinity

2
debian/i2pd.default vendored

@ -8,4 +8,4 @@ I2PD_ENABLED="yes" @@ -8,4 +8,4 @@ I2PD_ENABLED="yes"
DAEMON_OPTS=""
# If you have problems with hunging i2pd, you can try enable this
ulimit -n 4096
ulimit -n 8192

Loading…
Cancel
Save