[MDEV-9692] Develop failsafe response for "out of diskspace" Created: 2016-03-07 Updated: 2016-03-07 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Shimon Doodkin | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
the idea is to kill all queries if space is too low it is painful to recover from out of disk space. it is not fast and without good status. strace: pread(6</var/lib/mysql/ibdata1>, "\365\365\205'\0\30\332\240\0\0\0\0\0\0\0\0\0\0\0\301\207\221\312q\0\2\0\0\0\0\0\0"..., 16384, 26686783488) = 16384 the recovery took about 10 minute of unknown time and confusing errors like /etc/init.d/mysql[30463]: error: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111 "Connection refused")' and |