Updated Socket Manager and Resource Allocation (markdown)

Jari Sundell
2026-07-14 20:44:14 +09:00
parent ab6410cb92
commit 36141f6d6c
+8 -4
@@ -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.