From d9939f1b1b843618ad55d1133813cbf5cdb15a5a Mon Sep 17 00:00:00 2001 From: Rinkana <39345772+MrRinkana@users.noreply.github.com> Date: Sat, 3 Oct 2026 14:13:21 +0200 Subject: [PATCH] correct unit in server memory recommendations ps -o rss reports values in kikibytes, not kilobytes: https://man7.org/linux/man-pages/man1/ps.1.html The command iself then uses 1024 to convert to MiB As the section is about memory estimations, accuracy is important Signed-off-by: Rinkana <39345772+MrRinkana@users.noreply.github.com> --- admin_manual/installation/server_tuning.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin_manual/installation/server_tuning.rst b/admin_manual/installation/server_tuning.rst index 354195de369..cc89e1a6cd2 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -180,9 +180,9 @@ Key parameters Measure the average RSS of a running pool:: - ps --no-headers -o rss -C php-fpm | awk '{sum+=$1; count++} END {if (count>0) print sum/count/1024 " MB"; else print "No php-fpm processes found"}' + ps --no-headers -o rss -C php-fpm | awk '{sum+=$1; count++} END {if (count>0) print sum/count/1024 " MiB"; else print "No php-fpm processes found"}' - A typical Nextcloud worker uses **50–100 MB** (more if Imagick or LDAP is loaded). + A typical Nextcloud worker uses **50–100 MiB** (more if Imagick or LDAP is loaded). Leave headroom for the OS, web server, database, and cache. Setting ``pm.max_children`` too high causes swapping, which is worse than queuing.