From f3a20d67452a64f9084de5f8323ccb7c9665f2cf Mon Sep 17 00:00:00 2001 From: Binbin Date: Wed, 3 Dec 2025 17:36:57 +0800 Subject: [PATCH] Update maxclients example in clients.md Signed-off-by: Binbin --- topics/clients.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/topics/clients.md b/topics/clients.md index 48de35dd..860a7d95 100644 --- a/topics/clients.md +++ b/topics/clients.md @@ -54,7 +54,9 @@ When `maxclients` is set to a number greater than Valkey can support, a message ``` $ ./valkey-server --maxclients 100000 -[41422] 23 Jan 11:28:33.179 # Unable to set the max number of files limit to 100032 (Invalid argument), setting the max clients configuration to 10112. +41422:M 03 Dec 2025 17:00:00.000 # You requested maxclients of 100000 requiring at least 100032 max file descriptors. +41422:M 03 Dec 2025 17:00:00.000 # Server can't set maximum open files to 100032 because of OS error: Operation not permitted. +41422:M 03 Dec 2025 17:00:00.000 # Current maximum open files is 10000. maxclients has been reduced to 9968 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'. ``` When Valkey is configured in order to handle a specific number of clients it