From 8439a11fa882f23b8dfbdd59d18df83b38f9fcaa Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Thu, 25 Jul 2024 14:33:43 +0200 Subject: [PATCH] sweep: #7736 docs: file descriptor and mysql optimization --- .../ServerInstallations/scalingAndLimitations.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/source/AdministratorGuide/ServerInstallations/scalingAndLimitations.rst b/docs/source/AdministratorGuide/ServerInstallations/scalingAndLimitations.rst index a9cedd60482..7c0a12fd2b4 100644 --- a/docs/source/AdministratorGuide/ServerInstallations/scalingAndLimitations.rst +++ b/docs/source/AdministratorGuide/ServerInstallations/scalingAndLimitations.rst @@ -52,6 +52,16 @@ When you servers are heavily loaded, you may want to tune some kernel parameters net.core.somaxconn net.core.netdev_max_backlog +You can also adjust the limit of opened files descriptors in the ``Service`` section of the ``/usr/lib/systemd/system/runsvdir-start.service`` file:: + + LimitNOFILE=500000 + + +Databases +========= + +Every now and then, it is interesting to look at the fragmentation status of your database. This is done by using the ``analyze table`` statement (https://dev.mysql.com/doc/refman/8.4/en/analyze-table.html) possibly followed by the ``optimize table`` statement (https://dev.mysql.com/doc/refman/8.4/en/optimize-table.html). + Duplications ============