mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-14 21:26:17 +00:00
* Limit the number of simultanious http connections.
* Added max_open_http to the man page. git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@840 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
+15
-5
@@ -845,8 +845,9 @@ be nessesary in case of filesystem bugs like NFS in linux ~2.6.13.
|
||||
<term>max_open_files = <replaceable>value</replaceable></term>
|
||||
<listitem><para>
|
||||
|
||||
Number of files to simultaneously keep open. Libtorrent dynamically
|
||||
opens and closes files when mapping files to memory. Defaults to 128.
|
||||
Number of files to simultaneously keep open. LibTorrent dynamically
|
||||
opens and closes files as necessary when mapping files to
|
||||
memory. Default is based on sysconf(_SC_OPEN_MAX).
|
||||
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
@@ -855,9 +856,18 @@ opens and closes files when mapping files to memory. Defaults to 128.
|
||||
<term>max_open_sockets = <replaceable>value</replaceable></term>
|
||||
<listitem><para>
|
||||
|
||||
Number of sockets to simultaneously keep open. This value is set to be
|
||||
<emphasis>sysconf(_SC_OPEN_MAX) - 256</emphasis> at startup. This
|
||||
gives the client 128 sockets to use as it wishes.
|
||||
Number of network sockets to simultaneously keep open. This value is
|
||||
set to a reasonable value based on <emphasis>sysconf(_SC_OPEN_MAX)</emphasis>.
|
||||
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term>max_open_http = <replaceable>value</replaceable></term>
|
||||
<listitem><para>
|
||||
|
||||
Number of sockets to simultaneously keep open. This value is set
|
||||
to <emphasis>32</emphasis> by default.
|
||||
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
||||
Reference in New Issue
Block a user