[MDEV-619] LP:896439 - Server started with skip-innodb crashes on SELECT * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS Created: 2011-11-25 Updated: 2013-03-11 Resolved: 2013-03-11 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Łukasz Muchlado (Inactive) | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
System: Ubuntu 10.04 server with all updates running on Linode VPS innodb is disabled (skip-innodb in config) After installing automysqlbackup from repo and running it manualy, MariaDB crashes and is restarted while backing up information_schema. Problem is repeatable. Syslog fragment: Nov 25 22:52:26 s3 mysqld: 111125 22:52:26 [ERROR] mysqld got signal 11 ; |
| Comments |
| Comment by Vladislav Vaintroub [ 2011-11-25 ] |
|
Re: Crash and restart of MariaDB 5.2.9 after running automysqlbackup on ubuntu 10.04 check what plugins you use with "show plugins", you probably did not disabled everything. there are ~10 information schema for innodb plugins (among them | INNODB_TABLE_STATS) that not likely to function, or just useless if you disable the storage engine. You can see them with 'show plugins'. I guess everything will be back to normal if you disable the rest of INNODB_XXX plugins as well. |
| Comment by Łukasz Muchlado (Inactive) [ 2011-11-26 ] |
|
Re: Crash and restart of MariaDB 5.2.9 after running automysqlbackup on ubuntu 10.04 > What is the point of disabling innodb and running SELECT * FROM `INNODB_TABLE_STATS` ? That query was run by backup application, not strictly by user Workaround for my automysqlbackup problem is to exclude "information_schema" from autogenerated list of databases to backup. (Everything else is backed up without crashing mysqld). But for me it don't feel right that simply querying: Can I put in mariadb config something like "skip-innodb-table-stats" to feel safe from such crashing queries? (Or only method would be manualy disabling plugins by querying mariadb)? > check what plugins you use with "show plugins", you probably did not disabled everything I didn't disabled any plugins except disabling innodb storage engine by puting in config "show plugins" shows that everything (except disabled InnoDB STORAGE ENGINE) is enabled. |
| Comment by Vladislav Vaintroub [ 2011-11-26 ] |
|
Re: Crash and restart of MariaDB 5.2.9 after running automysqlbackup on ubuntu 10.04 >But for me it don't feel right that simply querying: I agree it does not feel right, and needs to be fixed. By also take into account that disabling innodb is not something people do often, in contrary overwhelming majority runs innodb all the time. If you would like to remove all trace of Innodb/XtraDB, and do not like to switch off all information schema plugins individually, use "ignore-builtin-innodb". The documentation of this variable here http://dev.mysql.com/doc/refman/5.1/en/innodb-parameters.html is rather sparse, but it does disable all of innodb. |
| Comment by Elena Stepanova [ 2012-04-13 ] |
|
Re: Server started with skip-innodb crashes on SELECT * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS #4 <signal handler called> #15 0x081af93f in dispatch_command (command=COM_QUERY, thd=0x8a6a978, Reproducible on Percona Server 5.1.61, 5.5.21, MariaDB 5.1.62, 5.2.12, 5.3.6, 5.5.23. To reproduce,
|
| Comment by Elena Stepanova [ 2012-08-25 ] |
|
Re: Server started with skip-innodb crashes on SELECT * FROM INNODB_TABLE_STATS or INNODB_INDEX_STATS |
| Comment by Rasmus Johansson (Inactive) [ 2012-08-25 ] |
|
Launchpad bug id: 896439 |
| Comment by Elena Stepanova [ 2013-03-11 ] |
|
Fixed in 5.1.66, 5.2.12, 5.3.10, 5.5.27 |