Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7736 from chaen/scalingDoc
Browse files Browse the repository at this point in the history
docs: file descriptor and mysql optimization
  • Loading branch information
andresailer authored Jul 25, 2024
2 parents 042274f + 1d8101c commit 1b904ba
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
============
Expand Down

0 comments on commit 1b904ba

Please sign in to comment.