From f8ba5b8c634f30f8e440a2063423cf9709f35f6e Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 1 Jan 2023 11:23:11 +0000 Subject: [PATCH] increase nofile limit in service Signed-off-by: R4SAS --- contrib/i2pd.service | 2 +- debian/i2pd.default | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/i2pd.service b/contrib/i2pd.service index 45fe4cc6..79bf15c8 100644 --- a/contrib/i2pd.service +++ b/contrib/i2pd.service @@ -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 diff --git a/debian/i2pd.default b/debian/i2pd.default index bd1d073f..90392ede 100644 --- a/debian/i2pd.default +++ b/debian/i2pd.default @@ -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