From 595ad7abf96577f302f971782952f1307dbb254c Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Mar 01 2013 07:29:55 +0000 Subject: Increase LimitNOFILE to 32768 --- diff --git a/tor.spec b/tor.spec index f9fe858..2c2a096 100644 --- a/tor.spec +++ b/tor.spec @@ -7,7 +7,7 @@ Name: tor Version: 0.2.3.25 -Release: 1927%{?dist} +Release: 1928%{?dist} Group: System Environment/Daemons License: BSD Summary: Anonymizing overlay network for TCP (The onion router) @@ -130,6 +130,10 @@ exit 0 %changelog +* Fri Mar 01 2013 Jamie Nguyen 0.2.3.25-1928 +- increase LimitNOFILE in tor.service from 4096 to 32768, as advised by + upstream: https://trac.torproject.org/projects/tor/ticket/8368#comment:4 + * Thu Feb 28 2013 Jamie Nguyen 0.2.3.25-1927 - package should own the %%{_datadir}/tor directory diff --git a/tor.systemd.service b/tor.systemd.service index 3b3d3f2..ad77c67 100644 --- a/tor.systemd.service +++ b/tor.systemd.service @@ -9,7 +9,7 @@ ExecReload = /bin/kill -HUP ${MAINPID} ExecStop = /bin/kill -INT ${MAINPID} TimeoutSec = 30 Restart = on-failure -LimitNOFILE = 4096 +LimitNOFILE = 32768 [Install] WantedBy = multi-user.target