Skip to content

Commit

Permalink
docs: file descriptor and mysql optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Jul 25, 2024
1 parent 042274f commit 90faad1
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 90faad1

Please sign in to comment.