[MDEV-10276] Crash signal 11 during logrotate Created: 2016-06-23 Updated: 2020-08-25 Resolved: 2017-12-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, Replication |
| Affects Version/s: | 10.1.13 |
| Fix Version/s: | 10.1.30 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Maciej Radzikowski | Assignee: | Sachin Setiya (Inactive) |
| Resolution: | Duplicate | Votes: | 2 |
| Labels: | None | ||
| Environment: |
Debian 8 |
||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
We have Galera multi-master cluster with 3 nodes. We are experiencing random crashes of mysqld process on some nodes when logrotate is executed. Daily logrotate is executed at 6:25. At exactly this time database sometimes crashes. After update from 10.0 to 10.1.13 for few days everything was ok. Then database crashed on Node1 two times in a row, day after day. At this time I've disabled logrotate for mysql for a few days on Node1 and there were no crashes. I've separated this node from others, disabled replication and executed logrotate manually few times. Nothing happend. I've restored node back to the cluster and enabled logrotate. Next day crash happend, but on Node2. Next day - nothing. Day after that - another crash, but on both Node1 and Node2. On similar testing environment those errors don't occure. Logs are configured to go to /var/log/mysql/mariadb-error.log and /var/log/mysql/mariadb-slow.log. General query log is not enabled and cannot be. /etc/logrotate.d/mysql-server content:
(standard except logs location, but those files exists and paths are correct) I don't know if it's related to Galera or not. Logs after restoration from crash:
|
| Comments |
| Comment by Reto [ 2016-09-20 ] |
|
Hi guys, we have the same issue with version 10.1.12. Is this issue in a future release aready fixed? We have exactly the same setup. |
| Comment by Mark Anstice [ 2017-02-07 ] |
|
Hi, we have the same issue with 10.1.13 but with Ubuntu 14.04.4 LTS, the same node of our three node Galera cluster has crashed 3 times roughly 3 weeks apart. |
| Comment by Patrick Rono [ 2017-02-17 ] |
|
Experiencing the same issue on 10.1.17 running on red-hat RHEL 6.6. The stack: 170216 0:00:01 [ERROR] mysqld got signal 11 ; To report this bug, see https://mariadb.com/kb/en/reporting-bugs We will try our best to scrape up some info that will hopefully help Server version: 10.1.17-MariaDB Thread pointer: 0x0x7f52f0bb4008 Trying to get some variables. Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=off The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains |
| Comment by Daniel Black [ 2017-03-01 ] |
|
Folks, In light of the number of log-rotation based stalls, crashes I created the workaround in If you have any issues with this patch please note it on the github PR or in |
| Comment by Andrei Elkin [ 2017-12-13 ] |
|
Fixed by |