Ja habe ich aber meinst du wirklich das es daran liegt?
Ich habe auf den Server ein Backup eingespielt bei dem es noch nicht Aktiv war und da war genau das selbe.
Ich habe mal in die /var/log/mysql/mysql.log geschaut,hier mal die letzten Zeilen.
170724 08:40:13 mysqld_safe mysqld from pid file /var/lib/mysql/localhost.localdomain.pid ended
170730 18:27:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-07-30 18:27:52 140226550052992 [Note] /usr/sbin/mysqld (mysqld 10.2.7-MariaDB) starting as process 1543 ...
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Uses event mutexes
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Compressed tables use zlib 1.2.7
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Using Linux native AIO
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Number of pools: 1
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Using SSE2 crc32 instructions
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-07-30 18:27:52 140226550052992 [Note] InnoDB: Completed initialization of buffer pool
2017-07-30 18:27:52 140225788282624 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-07-30 18:27:53 140226550052992 [Note] InnoDB: Highest supported file format is Barracuda.
2017-07-30 18:27:53 140226550052992 [Note] InnoDB: Starting crash recovery from checkpoint LSN=267902612
2017-07-30 18:27:55 140226550052992 [Note] InnoDB: Starting final batch to recover 3 pages from redo log.
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: 128 out of 128 rollback segments are active.
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: Waiting for purge to start
2017-07-30 18:27:58 140226550052992 [Note] InnoDB: 5.7.18 started; log sequence number 267903957
2017-07-30 18:27:58 140225489651456 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-07-30 18:27:58 140225489651456 [Note] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool' for reading: No such file or directory
2017-07-30 18:27:58 140226550052992 [Note] Plugin 'FEEDBACK' is disabled.
2017-07-30 18:27:58 140226550052992 [Note] Recovering after a crash using tc.log
2017-07-30 18:27:58 140226550052992 [Note] Starting crash recovery...
2017-07-30 18:27:58 140226550052992 [Note] Crash recovery finished.
2017-07-30 18:27:58 140226550052992 [Note] Server socket created on IP: '127.0.0.1'.
2017-07-30 18:27:58 140226550052992 [ERROR] Missing system table mysql.roles_mapping; please run mysql_upgrade to create it
2017-07-30 18:27:58 140226456299264 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1146: Table 'mysql.gtid_slave_pos' doesn't exist
2017-07-30 18:27:58 140226550052992 [Note] Reading of all Master_info entries succeded
2017-07-30 18:27:58 140226550052992 [Note] Added new Master_info '' to hash table
2017-07-30 18:27:58 140226550052992 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.2.7-MariaDB' socket: '/var/lib/mysql/mysql.sock' port: 3306 MariaDB Server
2017-07-30 18:27:59 140226455996160 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
2017-07-30 18:28:21 140226455996160 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found.
2017-07-30 19:37:41 140226455996160 [Warning] Aborted connection 34 to db: 'psa' user: 'admin' host: 'localhost' (Got an error reading communication packets)
2017-07-30 19:59:49 140226052421376 [Warning] Access denied for user 'web0'@'localhost' (using password: YES)
2017-07-31 3:39:53 140226053027584 [Warning] Aborted connection 1951 to db: 'psa' user: 'admin' host: 'localhost' (Got timeout reading communication packets)
Alles anzeigen
*EDIT*
Ich habe nun Folgendes über Google gefunden,das scheint etwas geholfen zu haben.
In der Datei /etc/my.cnf
die Sektion [mysqld]
finden und die Parameter ändern/ergänzen:
key_buffer = 2M
myisam_sort_buffer_size = 4M
read_buffer_size = 512K
read_rnd_buffer_size = 4M