summaryrefslogtreecommitdiff
path: root/doc/manual-src/en/aria2c.rst
diff options
context:
space:
mode:
authorNils Maier <maierman@web.de>2014-07-15 08:16:13 +0200
committerNils Maier <maierman@web.de>2014-07-22 21:58:31 +0200
commit8732a244335488e672cf6dcdddf23d6b7454ce8d (patch)
tree0dd5fc3f1286aca39c49ce7be4005598fc49221c /doc/manual-src/en/aria2c.rst
parent70a80b1455e11e5572eac4bd4b7ca647c45bbf81 (diff)
Try to set sane limits for RLIMIT_NO_FILE
E.g. on OSX the default is 256, which isn't exactly compatible with torrent downloads. Closes GH-257
Diffstat (limited to 'doc/manual-src/en/aria2c.rst')
-rw-r--r--doc/manual-src/en/aria2c.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index e0ad416e..6d07e951 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -1186,6 +1186,20 @@ Advanced Options
you take commonly used values from RFC, network vendors'
documentation, Wikipedia or any other source, use them as they are.
+.. option:: --rlimit-nofile=NUM
+
+ Set the soft limit of open file descriptors.
+ This open will only have effect when:
+
+ a) The system supports it (posix)
+ b) The limit does not exceed the hard limit.
+ c) The specified limit is larger than the current soft limit.
+
+ This is equivalent to setting nofile via ulimit,
+ except that it will never decrease the limit.
+
+ This option is only available on systems supporting the rlimit API.
+
.. option:: --enable-color[=true|false]
Enable color output for a terminal.