ich habe letzte Woche ein Debian 11 auf 12 aktualisiert und dabei gleich wieder versucht, die Einstellungen in conf.d-Verzeichnisse auszulagern, damit die nächsten Upgrades die original Konfig-Dateien gleich überschreiben können. Leider ist seitdem die Performance des Systems unterirdisch, Mariadb rödelt wie blöd lesend auf der SSD rum (load average über 10) - allerdings nicht immer. Vor dem Upgrade lief es bestimmt ein Jahr sehr flott ohne Probleme. Ich habe die Einstellungen in die Datei /etc/mysql/mariadb.conf.d/70-einstellungen.cnf übertragen:
Code: Alles auswählen
[mariadb]
innodb_log_file_size = 256M
max_allowed_packet = 64M
bind-address = 0.0.0.0
Auf dem System läuft ein Znuny 6.5.5 mit Mariadb und Apache2 in einer VM auf Proxmox. Keine eigenen Spiegel, nur Pakete aus dem offiziellen Repo.
Hat jemand eine Idee wo ich hier ansetzen könnte? Leider finde ich zB. in journalctl -f -u mariadb bzw journalctl -f nichts brauchbares:
Code: Alles auswählen
Aug 12 17:11:03 example.org systemd[1]: Stopping mariadb.service - MariaDB 10.11.6 database server...
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] /usr/sbin/mariadbd (initiated by: unknown): Normal shutdown
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: FTS optimize thread exiting.
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Starting shutdown...
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Restricted to 2016 pages due to innodb_buf_pool_dump_pct=25
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Buffer pool(s) dump completed at 240812 17:11:03
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] InnoDB: Shutdown completed; log sequence number 341262223112; transaction id 816259193
Aug 12 17:11:03 example.org mariadbd[631]: 2024-08-12 17:11:03 0 [Note] /usr/sbin/mariadbd: Shutdown complete
Aug 12 17:11:03 example.org systemd[1]: mariadb.service: Deactivated successfully.
Aug 12 17:11:03 example.org systemd[1]: Stopped mariadb.service - MariaDB 10.11.6 database server.
Aug 12 17:11:03 example.org systemd[1]: mariadb.service: Consumed 3h 42min 43.094s CPU time.
Aug 12 17:11:17 example.org systemd[1]: Starting mariadb.service - MariaDB 10.11.6 database server...
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] Starting MariaDB 10.11.6-MariaDB-0+deb12u1 source revision as process 2627725
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Compressed tables use zlib 1.2.13
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Number of transaction pools: 1
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Using generic crc32 instructions
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Using liburing
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Initializing buffer pool, total size = 128.000MiB, chunk size = 2.000MiB
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Completed initialization of buffer pool
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: File system buffers for log disabled (block size=512 bytes)
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: End of log at LSN=341262223112
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: 128 rollback segments are active.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Setting file './ibtmp1' size to 12.000MiB. Physically writing the file full; Please wait ...
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: File './ibtmp1' size is now 12.000MiB.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: log sequence number 341262223112; transaction id 816259158
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] Plugin 'FEEDBACK' is disabled.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] Server socket created on IP: '0.0.0.0'.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] /usr/sbin/mariadbd: ready for connections.
Aug 12 17:11:17 example.org mariadbd[2627725]: Version: '10.11.6-MariaDB-0+deb12u1' socket: '/run/mysqld/mysqld.sock' port: 3306 Debian 12
Aug 12 17:11:17 example.org systemd[1]: Started mariadb.service - MariaDB 10.11.6 database server.
Aug 12 17:11:17 example.org /etc/mysql/debian-start[2627744]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Aug 12 17:11:17 example.org /etc/mysql/debian-start[2627752]: Checking for insecure root accounts.
Aug 12 17:11:17 example.org mariadbd[2627725]: 2024-08-12 17:11:17 0 [Note] InnoDB: Buffer pool(s) load completed at 240812 17:11:17