XtraDB Cluster crashes when creating temp files for temp table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Expired
|
Undecided
|
Unassigned |
Bug Description
Operating System: Debian Linux 7.8 (wheezy)
Kernel Version: 3.2.0-4-amd64
'innodb_version', '5.6.22-72.0'
'protocol_version', '10'
'slave_
'version', '5.6.22-
'version_comment', 'Percona XtraDB Cluster (GPL), Release rel72.0, Revision 978, WSREP version 25.8, wsrep_25.8.r4150'
'version_
'version_
MySQL error log output:
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
01:01:09 UTC - mysqld got signal 11 ;
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=1502
thread_count=790
connection_
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: 0x7fd69ba48220
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...
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:09 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:09 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:10 12982 [ERROR] /usr/sbin/mysqld: Incorrect key file for table '/tmp/#
2017-06-13 11:01:10 12982 [ERROR] Got an error from unknown thread, /mnt/workspace/
2017-06-13 11:01:10 7fd71012a700 InnoDB: Error: Write to file /tmp/#sql32b6_
InnoDB: 65536 bytes should have been written, only 0 were written.
InnoDB: Operating system error number 28.
InnoDB: Check that your OS and file system support files of this size.
InnoDB: Check also that the disk is not full or a disk quota exceeded.
InnoDB: Error number 28 means 'No space left on device'.
InnoDB: Some operating system error numbers are described at
InnoDB: http://
2017-06-13 11:01:10 7fd71012a700 InnoDB: Warning: cannot create table `tmp`.`
2017-06-13 11:01:10 12982 [ERROR] /usr/sbin/mysqld: The table 'product_
stack_bottom = 7fd6fe019e50 thread_stack 0x30000
/usr/sbin/
/usr/sbin/
/lib/x86_
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/x86_
/lib/x86_
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (8a12000): CREATE TEMPORARY TABLE Product_
SELECT DISTINCT
Product_
Product_
Product_
Product_
Product_
Product_
Product_
IF(
Product_
Product_
Product_
Product_
Product_
CAST(
ROUND(
ROUND(
ROUND(
ROUND(
CONCAT(
Prod
Connection ID (thread ID): 6029346
Status: NOT_KILLED
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.
170613 11:01:13 mysqld_safe Number of processes running now: 0
170613 11:01:13 mysqld_safe WSREP: not restarting wsrep node automatically
170613 11:01:13 mysqld_safe mysqld from pid file /var/run/
1. Can you re-try your workload with latest version of PXC. (Since 5.6.22 there are multiple minor/major bug fixes and we haven't seen this error)
2. If error still persist you can share
* configuration
* test-case to reproduce.