I have big problem with my server. I am using Ubuntu linux version 22.04. The problem is in the write / read disk (light for the disk is all the time ON) when I have turn on apache (PHP) and MYSQL. Here is the picture (CPU process):
https://i.stack.imgur.com/kzv7h.jpg
My setting in mysqlc.cnf are
character-set-server = utf8mb4
collation-server = utf8mb4_slovenian_ci
user = mysql
bind-address = 127.0.0.1
mysqlx-bind-address = 127.0.0.1
key_buffer_size = 44M
max_connections = 300
max_allowed_packet = 32M
myisam-recover-options = BACKUP
log_error = /var/log/mysql/error.log
max_binlog_size = 100M