Version: ‘5.6.22-72.0-log‘ socket: ‘/tmp/mysql.socket‘ port: 3306 Percona Server (GPL), Release 72.0, Revision 738 Sun Dec 27 06:18:58 2015 TokuFT file system space is low Sun Dec 27 06:22:58 2015 TokuFT file system space is low Sun Dec 27 06:26:43 2015 TokuFT file system space is low Sun Dec 27 06:30:48 2015 TokuFT file system space is low Sun Dec 27 06:34:48 2015 TokuFT file system space is low Sun Dec 27 06:38:43 2015 TokuFT file system space is low Fri Jan 1 03:57:56 2016 TokuFT file system space is really low and access is restricted Fri Jan 1 04:25:56 2016 TokuFT file system space is really low and access is restricted Fri Jan 1 05:52:07 2016 TokuFT file system space is really low and access is restricted Fri Jan 1 07:33:47 2016 TokuFT file system space is really low and access is restricted
variable tokudb_fs_reserve_percent This variable controls the percentage of the file system that must be available for inserts to be allowed. By default, this is set to 5. We recommend that this reserve be at least half the size of your physical memory. See Full Disks for more information.
Details about the disk system: There is a free-space reserve requirement, which is a user-configurable parameter given as a percentage of the total space in the file system. The default reserve is five percent. This value is available in the global variable tokudb_fs_reserve_percent. We recommend that this reserve be at least half the size of your physical memory. TokuDB polls the file system every five seconds to determine how much free space is available. If the free space dips below the reserve, then further table inserts are prohibited. Any transaction that attempts to insert rows will be aborted. Inserts are re-enabled when twice the reserve is available in the file system (so freeing a small amount of disk storage will not be sufficient to resume inserts). Warning messages are sent to the system error log when free space dips below twice the reserve and again when free space dips below the reserve. Even with inserts prohibited it is still possible for the file system to become completely full. For example this can happen because another storage engine or another application consumes disk space. If the file system becomes completely full, then TokuDB will freeze. It will not crash, but it will not respond to most SQL commands until some disk space is made available. When TokuDB is frozen in this state, it will still respond to the following command:
mysql> set global tokudb_fs_reserve_percent=4; ERROR 1238 (HY000): Variable ‘tokudb_fs_reserve_percent‘ is a read only variable
原文:http://www.cnblogs.com/zuoxingyu/p/5103638.html