From 1d8101c7fc35c40428f66d63678cc20f797c1742 Mon Sep 17 00:00:00 2001 From: Christophe Haen Date: Thu, 25 Jul 2024 13:21:51 +0200 Subject: [PATCH] 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 5c25fc215da..91d78261d77 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 ============