From 36141f6d6c0e755c3786709fcc0c4af5dea85468 Mon Sep 17 00:00:00 2001 From: Jari Sundell Date: Tue, 14 Jul 2026 20:44:14 +0900 Subject: [PATCH] Updated Socket Manager and Resource Allocation (markdown) --- Socket-Manager-and-Resource-Allocation.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Socket-Manager-and-Resource-Allocation.md b/Socket-Manager-and-Resource-Allocation.md index 60f6ecc..3253c6d 100644 --- a/Socket-Manager-and-Resource-Allocation.md +++ b/Socket-Manager-and-Resource-Allocation.md @@ -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.