mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-10-04 21:29:21 +00:00
Updated Socket Manager and Resource Allocation (markdown)
@@ -1,4 +1,5 @@
|
||||
## Core Commands
|
||||
Core Commands
|
||||
-------------
|
||||
|
||||
* **`system.sockets.size`**
|
||||
Returns total open, managed socket descriptors.
|
||||
@@ -31,7 +32,8 @@
|
||||
Sets the maximum allocation ceiling parameter. Non-functional for index 0. Does not trigger immediate rebalance.
|
||||
|
||||
|
||||
## Categories
|
||||
Categories
|
||||
----------
|
||||
|
||||
* **`generic`**
|
||||
Peer connections and uncategorized connections. This category does not have `min/max_alloc` as it receives the remaining allocation.
|
||||
@@ -49,7 +51,8 @@
|
||||
File descriptors.
|
||||
|
||||
|
||||
## Default Allocation Constraints
|
||||
Default Allocation Constraints
|
||||
------------------------------
|
||||
|
||||
| open_max | generic minimum | reserved | http | internal | rpc | files |
|
||||
| :--- | :--- | :--- | :--- | :--- | :--- | :--- |
|
||||
@@ -64,7 +67,8 @@ The baseline descriptor limits for each socket category are auto-calculated at s
|
||||
Allocation to other categories result in `generic` receiving less than `generic minimum` an `internal_error` is thrown.
|
||||
|
||||
|
||||
## Examples
|
||||
Examples
|
||||
--------
|
||||
|
||||
```ini
|
||||
# Increase allocation to the files category, e.g. if max_open is 16k it would be 2048.
|
||||
|
||||
Reference in New Issue
Block a user