LINUX.ORG.RU

История изменений

Исправление try20, (текущая версия) :

@goingUp

в journalctl -r последняя запись - это systemd[1]: Started MariaDB database server.

Когда БД падает, здесь ничего не отображается.

в dmesg вообще пусто.

В /var/log/mariadb/mariadb.log последние записи ниже. последняя запись - shutdown complete. Откуда можно узнать, кто шатдаун БД делает?

200114 11:14:26 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:26 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:26 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:26 [Note] Event Scheduler: Loaded 0 events
200114 11:14:26 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server
200114 11:14:26 mysqld_safe Number of processes running now: 0
200114 11:14:26 mysqld_safe mysqld restarted
200114 11:14:26 [Note] /usr/libexec/mysqld (mysqld 5.5.64-MariaDB) starting as process 2249 …
200114 11:14:26 InnoDB: The InnoDB memory heap is disabled
200114 11:14:26 InnoDB: Mutexes and rw_locks use GCC atomic builtins
200114 11:14:26 InnoDB: Compressed tables use zlib 1.2.7
200114 11:14:26 InnoDB: Using Linux native AIO
200114 11:14:26 InnoDB: Initializing buffer pool, size = 128.0M
200114 11:14:27 InnoDB: Completed initialization of buffer pool
200114 11:14:27 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
InnoDB: Restoring possible half-written data pages from the doublewrite buffer…
200114 11:14:27 InnoDB: Waiting for the background threads to start
200114 11:14:28 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:28 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:28 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:28 [Note] Event Scheduler: Loaded 0 events
200114 11:14:28 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server 200114 11:45:44 [Note] /usr/libexec/mysqld: Normal shutdown
200114 11:45:44 [Note] Event Scheduler: Purging the queue. 0 events
200114 11:45:44 InnoDB: Starting shutdown…
200114 11:45:47 InnoDB: Shutdown completed; log sequence number 422337435
200114 11:45:47 [Note] /usr/libexec/mysqld: Shutdown complete

Исправление try20, :

@goingUp

в journalctl -r последняя запись - это systemd[1]: Started MariaDB database server.

Когда БД падает, здесь ничего не отображается.

В /var/log/mariadb/mariadb.log последние записи ниже. последняя запись - shutdown complete. Откуда можно узнать, кто шатдаун БД делает?

200114 11:14:26 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:26 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:26 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:26 [Note] Event Scheduler: Loaded 0 events
200114 11:14:26 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server
200114 11:14:26 mysqld_safe Number of processes running now: 0
200114 11:14:26 mysqld_safe mysqld restarted
200114 11:14:26 [Note] /usr/libexec/mysqld (mysqld 5.5.64-MariaDB) starting as process 2249 …
200114 11:14:26 InnoDB: The InnoDB memory heap is disabled
200114 11:14:26 InnoDB: Mutexes and rw_locks use GCC atomic builtins
200114 11:14:26 InnoDB: Compressed tables use zlib 1.2.7
200114 11:14:26 InnoDB: Using Linux native AIO
200114 11:14:26 InnoDB: Initializing buffer pool, size = 128.0M
200114 11:14:27 InnoDB: Completed initialization of buffer pool
200114 11:14:27 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
InnoDB: Restoring possible half-written data pages from the doublewrite buffer…
200114 11:14:27 InnoDB: Waiting for the background threads to start
200114 11:14:28 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:28 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:28 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:28 [Note] Event Scheduler: Loaded 0 events
200114 11:14:28 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server 200114 11:45:44 [Note] /usr/libexec/mysqld: Normal shutdown
200114 11:45:44 [Note] Event Scheduler: Purging the queue. 0 events
200114 11:45:44 InnoDB: Starting shutdown…
200114 11:45:47 InnoDB: Shutdown completed; log sequence number 422337435
200114 11:45:47 [Note] /usr/libexec/mysqld: Shutdown complete

Исходная версия try20, :

@goingUp

в journalctl -r последняя запись - это systemd[1]: Started MariaDB database server.

Когда БД падает, здесь ничего не отображается.

В /var/log/mariadb/mariadb.log последние записи ниже. Откуда можно узнать, кто шатдаун БД делает?

200114 11:14:26 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:26 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:26 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:26 [Note] Event Scheduler: Loaded 0 events
200114 11:14:26 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server
200114 11:14:26 mysqld_safe Number of processes running now: 0
200114 11:14:26 mysqld_safe mysqld restarted
200114 11:14:26 [Note] /usr/libexec/mysqld (mysqld 5.5.64-MariaDB) starting as process 2249 …
200114 11:14:26 InnoDB: The InnoDB memory heap is disabled
200114 11:14:26 InnoDB: Mutexes and rw_locks use GCC atomic builtins
200114 11:14:26 InnoDB: Compressed tables use zlib 1.2.7
200114 11:14:26 InnoDB: Using Linux native AIO
200114 11:14:26 InnoDB: Initializing buffer pool, size = 128.0M
200114 11:14:27 InnoDB: Completed initialization of buffer pool
200114 11:14:27 InnoDB: highest supported file format is Barracuda.
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
InnoDB: Restoring possible half-written data pages from the doublewrite buffer…
200114 11:14:27 InnoDB: Waiting for the background threads to start
200114 11:14:28 Percona XtraDB (http://www.percona.com) 5.5.61-MariaDB-38.13 started; log sequence number 422333049
200114 11:14:28 [Note] Plugin ‘FEEDBACK’ is disabled.
200114 11:14:28 [Note] Server socket created on IP: ‘0.0.0.0’.
200114 11:14:28 [Note] Event Scheduler: Loaded 0 events
200114 11:14:28 [Note] /usr/libexec/mysqld: ready for connections.
Version: ‘5.5.64-MariaDB’ socket: ‘/var/lib/mysql/mysql.sock’ port: 3306 MariaDB Server 200114 11:45:44 [Note] /usr/libexec/mysqld: Normal shutdown
200114 11:45:44 [Note] Event Scheduler: Purging the queue. 0 events
200114 11:45:44 InnoDB: Starting shutdown…
200114 11:45:47 InnoDB: Shutdown completed; log sequence number 422337435
200114 11:45:47 [Note] /usr/libexec/mysqld: Shutdown complete