MariaDB连接超时

时间:2017-12-02 22:32:53

标签: mysql mariadb minecraft

我有一个MariaDB服务器,对于一个与服务器有多个连接的网络,MariaDB完全停止接收请求,这对我来说确实是一个问题。

以下是运行“service mysql status”

的状态
root@vmi127180:/etc/mysql# service mysql status
* mariadb.service - MariaDB database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           `-migrated-from-my.cnf-settings.conf
   Active: active (running) since Sat 2017-12-02 14:52:12 GMT; 1h 44min ago
  Process: 16751 ExecStartPost=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 16747 ExecStartPost=/etc/mysql/debian-start (code=exited, status=0/SUCCESS)
  Process: 16554 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= ||   VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ]   && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
  Process: 16547 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 16544 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
 Main PID: 16711 (mysqld)
   Status: "Taking your SQL requests now..."
    Tasks: 133
   Memory: 253.9M
      CPU: 36.248s
   CGroup: /system.slice/mariadb.service
           `-16711 /usr/sbin/mysqld

Dec 02 15:35:10 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:35:10 139905436653312 [Warning] Aborted connection 223 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:43:07 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:43:07 139906144388864 [Warning] Aborted connection 227 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:45:07 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:45:07 139905436653312 [Warning] Aborted connection 230 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:45:07 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:45:07 139905439901440 [Warning] Aborted connection 248 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:45:07 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:45:07 139905437259520 [Warning] Aborted connection 247 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:46:41 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:46:41 139905435137792 [Warning] Aborted connection 249 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:59:29 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:59:29 139905433925376 [Warning] Aborted connection 252 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:59:29 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:59:29 139905438385920 [Warning] Aborted connection 121 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 15:59:29 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 15:59:29 139905447479040 [Warning] Aborted connection 80 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)
Dec 02 16:00:15 vmi127180.contaboserver.net mysqld[16711]: 2017-12-02 16:00:15 139905438385920 [Warning] Aborted connection 360 to db: 'mc_dropper' user: 'mcserv_dropper' host: 'localhost' (Got an error reading communication packets)

如果您需要任何其他信息,请随时询问:)

0 个答案:

没有答案