aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lewman <andrew@torproject.org>2006-07-26 21:50:27 +0000
committerAndrew Lewman <andrew@torproject.org>2006-07-26 21:50:27 +0000
commita815225683840d82a6d252978e4d34af42c7cff8 (patch)
tree362fe2920dc2aaa7a4a511f30fd0980af3a1fd45
parentdd9a563a9eb356fb3ff0461931474e3f661d1221 (diff)
downloadtor-a815225683840d82a6d252978e4d34af42c7cff8.tar
tor-a815225683840d82a6d252978e4d34af42c7cff8.tar.gz
Set Soft & Hard resource limits to appease launchd.
svn:r6910
-rw-r--r--contrib/osx/net.freehaven.tor.plist.in30
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/osx/net.freehaven.tor.plist.in b/contrib/osx/net.freehaven.tor.plist.in
index bf31e1d3a..f2d4fa4c4 100644
--- a/contrib/osx/net.freehaven.tor.plist.in
+++ b/contrib/osx/net.freehaven.tor.plist.in
@@ -31,6 +31,36 @@
<key>LowPriorityIO</key>
<true/>
+ <key>SoftResourceLimits</key>
+ <dict>
+ <key>Core</key>
+ <integer>10000000000</integer>
+
+ <key>CPU</key>
+ <integer>10000000000</integer>
+
+ <key>Data</key>
+ <integer>10000000000</integer>
+
+ <key>FileSize</key>
+ <integer>10000000000</integer>
+
+ <key>MemoryLock</key>
+ <integer>10000000000</integer>
+
+ <key>NumberOfFiles</key>
+ <integer>8192</integer>
+
+ <key>NumberofProcesses</key>
+ <integer>150</integer>
+
+ <key>ResidentSetSize</key>
+ <integer>10000000000</integer>
+
+ <key>Stack</key>
+ <integer>10000000000</integer>
+ </dict>
+
<key>HardResourceLimits</key>
<dict>
<key>Core</key>