Galera crash on gcache.page. file creation when disk space filled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Invalid
|
Undecided
|
Unassigned |
Bug Description
This bug is same one reported here:
https:/
and still based on:
https:/
It is marked as fixed, but this is the log from a user with 5.6.29 (after hundred of lines of new created pages):
2016-08-25 02:15:42 19036 [Note] WSREP: Created page /mysql/
2016-08-25 02:33:42 19036 [Note] WSREP: Created page /mysql/
2016-08-25 02:58:08 19036 [Note] WSREP: Created page /mysql/
2016-08-25 03:21:46 19036 [Note] WSREP: Created page /mysql/
2016-08-25 03:45:57 19036 [Note] WSREP: Created page /mysql/
01:52:04 UTC - mysqld got signal 7 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Please help us make Percona XtraDB Cluster better by reporting any
bugs at https:/
key_buffer_
read_buffer_
max_used_
max_threads=502
thread_count=9
connection_count=4
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0 thread_stack 0x40000
/usr/sbin/
/usr/sbin/
/lib64/
/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/lib64/
/lib64/
You may download the Percona XtraDB Cluster operations manual by visiting
http://
in the manual which will help you identify the cause of the crash.
160825 03:52:05 mysqld_safe Number of processes running now: 0
Changed in percona-xtradb-cluster: | |
status: | New → Invalid |
I haven't tested so many pages created (over 300 reported) due to limited time and disk space, but I wasn't able to repeat the hard crash on PXC 5.6.32, instead, I have this abort only message:
(...) mysql/gcache. page.000018 of size 134217728 bytes mysql/gcache. page.000019 of size 134217728 bytes mysql/gcache. page.000020 of size 134217728 bytes mysql/gcache. page.000021 of size 134217728 bytes mysql/gcache. page.000022 of size 134217728 bytes mysql/gcache. page.000023' exceeds available storage space 121303040: 28 (No space left on device) src/gu_ fdesc.cpp: FileDescriptor( ):101 gcs_defrag. cpp:gcs_ defrag_ handle_ frag(): 113: Could not allocate memory for new action of size: 52829111 gcs_core. cpp:core_ handle_ act_msg( ):642: Failed to handle action fragment: -12 (Cannot allocate memory) id(NON_ PRIM,2538ad47, 1049) memb { mysql/percona1. pid ended
2016-10-10 16:25:49 21192 [Note] WSREP: Created page /var/lib/
2016-10-10 16:26:12 21192 [Note] WSREP: Created page /var/lib/
2016-10-10 16:26:34 21192 [Note] WSREP: Created page /var/lib/
2016-10-10 16:26:56 21192 [Note] WSREP: Created page /var/lib/
2016-10-10 16:27:20 21192 [Note] WSREP: Created page /var/lib/
2016-10-10 16:28:25 21192 [ERROR] WSREP: Cannot create new cache page: Requested size 134217728 for '/var/lib/
at galerautils/
2016-10-10 16:28:25 21192 [ERROR] WSREP: gcs/src/
2016-10-10 16:28:25 21192 [ERROR] WSREP: gcs/src/
2016-10-10 16:28:25 21192 [Note] WSREP: gcomm: terminating thread
2016-10-10 16:28:25 21192 [Note] WSREP: gcomm: joining thread
2016-10-10 16:28:25 21192 [Note] WSREP: gcomm: closing backend
2016-10-10 16:28:25 21192 [Note] WSREP: view(view_
2538ad47,1
} joined {
} left {
} partitioned {
86349c69,0
c39e5108,1
})
2016-10-10 16:28:25 21192 [Note] WSREP: view((empty))
2016-10-10 16:28:25 21192 [Warning] WSREP: 0x1cfaf98 down context(s) not set
2016-10-10 16:28:25 21192 [Warning] WSREP: Send action {(nil), 52829111, TORDERED} returned -107 (Transport endpoint is not connected)
2016-10-10 16:28:25 21192 [Note] WSREP: gcomm: closed
2016-10-10 16:28:25 21192 [Note] WSREP: /usr/sbin/mysqld: Terminated.
161010 16:28:26 mysqld_safe Number of processes running now: 0
161010 16:28:26 mysqld_safe WSREP: not restarting wsrep node automatically
161010 16:28:26 mysqld_safe mysqld from pid file /var/lib/