[MDEV-6464] MariaDB 10.0.12 crash while using Zabbix Created: 2014-07-20 Updated: 2015-06-04 Resolved: 2015-06-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Partitioning |
| Affects Version/s: | 10.0.12 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Sergii | Assignee: | Elena Stepanova |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Oracle Linux 6.5; mysqld PHP 5.4.30 (cli) (built: Jun 27 2014 11:59:31) CPU 2x8 Xeon, 4 HDDx10k - RAID10, 64Gb RAM; |
||
| Attachments: |
|
||||||||
| Issue Links: |
|
||||||||
| Description |
|
|
| Comments |
| Comment by Elena Stepanova [ 2014-07-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Is it reproducible? | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergii [ 2014-07-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi I think that I can't reproduce this situation again. up to now, the error is not repeated more. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-07-20 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Please be aware that if the problem is not easily reproducible, enabling the general log can be expensive, especially if you have a high-traffic server. It logs every query that goes to the server, so it might affect performance and will also grow big. It would be great if you could do it and catch the offending query this way, but most people can't afford it in production unless it's just for very short time. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-08-24 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Closing for now as Incomplete, if you have new information, please comment to re-open the report. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergii [ 2014-10-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Elena. Again there was a crash. I assume that this is due to partitioning that occurs at 4 am. Part of a log file after the crush:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Sergii, What exactly do you mean by "partitioning that occurs at 4 am"? What is being partitioned, and how? Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergii [ 2014-10-06 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
We are using partitioning for some tables. Partitioning is started by event scheduler at 4 am. Procedure that we use, you can see following the link: https://www.zabbix.org/wiki/Docs/howto/mysql_partitioning | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2014-10-14 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi Sergii, Do you have some other activity on the server at this time? Maybe some kind of monitoring, statistics, analytics,...? Are there active external connections? Obviously, the fact that both times it happened at 04:00:0x cannot be a coincidence; but I don't see right away what in the described partitioned procedure could cause a crash like that, there aren't so many SELECTs in there. Besides, if it were just the partitioning, it would be probably happening more often. So, something else might be playing a role. Would you be able to provide a structure of the schema (better still, the full dump if possible, but at least the structures)? And btw, which of the described partitioning procedures are you using – the one via the event/SPs, or via an external script? Thanks. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergii [ 2014-10-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Elena. Unfortunately, we can't reproduce this situation again due to the fact that now we use MariaDB v10.0.13 with galera cluster. We are using one via the event. See attachment. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergii [ 2014-10-15 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Config and schema. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-06-04 ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Since I re-attached the cnf and schema.sql to |