Galera/MySQL doesn't delete old gcache.page files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
Critical
|
Oleksiy Molchanov |
Bug Description
MOS: 9.2 (build 603)
Packages:
mysql-client-5.6 5.6.39-
mysql-common 5.5.59-
mysql-server-
mysql-server-
mysql-wsrep-
mysql-wsrep-
galera-3 25.3.10-
(the following fix is in place: https:/
A lot of gcache.page files have been creating for several days.
None of them were removed. The result is consuming 100% of disk space and the cic node therefore the database stop operating properly.
root@cic-
total 41G
-rw-rw---- 1 mysql mysql 45 Sep 11 12:48 xtrabackup_
-rw-rw---- 1 mysql mysql 574 Sep 11 12:48 xtrabackup_info
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 performance_schema
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 cinder
drwx------ 2 mysql mysql 12K Sep 11 12:49 zabbix
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 keystone
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 watchmen
drwx------ 2 mysql mysql 28K Sep 11 12:49 neutron
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 lost+found
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 glance
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 cmha
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 nova_api
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 aodh
drwx------ 2 mysql mysql 4.0K Sep 11 12:49 mysql
drwx------ 2 mysql mysql 16K Sep 11 12:49 nova
-rw-rw---- 1 mysql mysql 56 Sep 11 12:49 auto.cnf
-rw-rw---- 1 mysql mysql 264 Sep 11 12:49 gvwstate.dat
-rw-rw---- 1 mysql mysql 111 Sep 11 12:49 grastate.dat
-rw------- 1 mysql mysql 513M Sep 11 14:37 galera.cache
-rw------- 1 mysql mysql 128M Sep 11 14:55 gcache.page.000000
-rw------- 1 mysql mysql 128M Sep 11 15:25 gcache.page.000001
-rw------- 1 mysql mysql 128M Sep 11 15:53 gcache.page.000002
-rw------- 1 mysql mysql 128M Sep 11 16:13 gcache.page.000003
-rw------- 1 mysql mysql 128M Sep 11 16:44 gcache.page.000004
-rw------- 1 mysql mysql 128M Sep 11 17:02 gcache.page.000005
...omitted...
-rw------- 1 mysql mysql 128M Sep 16 17:01 gcache.page.000300
-rw------- 1 mysql mysql 128M Sep 16 17:29 gcache.page.000301
-rw------- 1 mysql mysql 128M Sep 16 17:30 gcache.page.000302
-rw-rw---- 1 mysql mysql 886M Sep 21 11:47 ib_logfile0
-rw-rw---- 1 mysql mysql 886M Sep 16 16:56 ib_logfile1
-rw-rw---- 1 mysql mysql 204M Sep 21 11:47 ibdata1
-rw------- 1 mysql root 0 Sep 21 11:47 wsrep_recovery.fail
The current settings related to gcache (according to mysql -e "SHOW VARIABLES LIKE 'wsrep_
gcache.dir = /var/lib/mysql/
gcache.
gcache.mem_size = 0
gcache.name = /var/lib/
gcache.page_size = 128M
gcache.size = 512M
The log files are from the customer's environment, so I can provide them directly.
Changed in mos: | |
milestone: | 9.x-updates → 9.2-mu-9 |
status: | New → Confirmed |
Changed in mos: | |
assignee: | MOS Maintenance (mos-maintenance) → Oleksiy Molchanov (omolchanov) |
sla1 for 9.0-updates