[MDEV-4832] mariadb crash on disk full with mysqld got signal 11 Created: 2013-08-01 Updated: 2018-10-30 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.32 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Daniel | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | upstream | ||
| Environment: |
Linux mysql55 2.6.32-358.el6.x86_64 |
||
| Issue Links: |
|
||||||||
| Description |
|
I have had ramdisk for "tmpdir". While temporary table use more space than available on tmpdir and query is killed, mysql will crash with "mysqld got signal 11" For example, generic testing table:
Now, free space is exhausted and i have got:
Now, i killed query by ctrl+c and everything seems ok. But, exactly one minutes after space exhaustion, db crashed with trace:
This was purely testing environment with almost empty config file, but on production environment on 5.5.31 is the same problem. |
| Comments |
| Comment by Elena Stepanova [ 2013-08-01 ] | ||||||||||||||||
|
Hi Daniel, Did you free the space before or after killing the query, or did you continue running with the full disk? Thanks. | ||||||||||||||||
| Comment by Daniel [ 2013-08-02 ] | ||||||||||||||||
|
Hi Elena, I didn't touch any files during whole test, so space was still exhausted, because i tryied to reproduce production failure which occured. Mysql client canceled query because of timeout, i tryied to cancel query by ctrl+c. Result is the same. processlist after exhaustion, but before cancel
processlist after cancelation
| ||||||||||||||||
| Comment by Elena Stepanova [ 2013-08-05 ] | ||||||||||||||||
|
Debug assertion failure: mysqld: 5.5/mysys/mf_keycache.c:3800: flush_cached_blocks: Assertion `(block->status & ~(512 | 128)) == (2 | 16 | 32 | 64)' failed. #5 0x00007f74200b8b8b in __GI_abort () at abort.c:91 | ||||||||||||||||
| Comment by Elena Stepanova [ 2013-08-05 ] | ||||||||||||||||
|
The scenario is as initially described:
130805 3:32:19 [Warning] mysqld: Disk is full writing '/data/smalldisk/#sqlb62_2_0.MYI' (Errcode: 28). Waiting for someone to free space... (Expect up to 60 secs delay for server to continue after freeing disk space)
| ||||||||||||||||
| Comment by Elena Stepanova [ 2013-08-05 ] | ||||||||||||||||
|
Also reproducible on MySQL 5.1, 5.6 (on 5.6 the assertion is slightly different, but otherwise the result is the same). So, it's an upstream bug. Are you willing to file it at bugs.mysql.com? | ||||||||||||||||
| Comment by Daniel [ 2013-08-05 ] | ||||||||||||||||
|
fill in at http://bugs.mysql.com/bug.php?id=69926 |