diff options
| author | Nils Maier <maierman@web.de> | 2014-07-15 08:16:13 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-07-22 21:58:31 +0200 |
| commit | 8732a244335488e672cf6dcdddf23d6b7454ce8d (patch) | |
| tree | 0dd5fc3f1286aca39c49ce7be4005598fc49221c /doc/manual-src/en/aria2c.rst | |
| parent | 70a80b1455e11e5572eac4bd4b7ca647c45bbf81 (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.rst | 14 |
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. |
