Bobcares

Disable MySQL InnoDB free tablespace alert

by | Oct 17, 2021

MySQL InnoDB free tablespace alert giving you trouble? Learn how our Support Engineers disable this alert without too much ado.

The MySQL InnoDB free tablespace alert can be disregarded easily. Our Support Team is here to help you say goodbye to this alert without having to worry about the consequences.

What causes MySQL InnoDB free tablespace alert?

If you have been getting the “MySQL InnoDB free tablespace” alert one too many times, you have come to the right place.

The alert is caused by the way the tablespace for InnoDB is handled by Munin in comparison to how to is handled by MySQL.

In fact, Munin gives a warning when there is 2 GB free tablespace, followed by a critical alert when only 1 GB free tablespace is available. On the other hand, MySQL deals with this by creating an auto-expandable 12 MB tablespace.

You can verify the tablespace with the following:

# mysql -e "SHOW VARIABLES LIKE 'innodb_data_file_path'"
+-----------------------+------------------------+
| Variable_name | Value |
+-----------------------+------------------------+
| innodb_data_file_path | ibdata1:12M:autoextend |
+-----------------------+------------------------+

This tablespace is configured to auto-extend. In other words, although the InnoDB will show a warning when there is less than 12 MB free tablespace, it will seamlessly auto-extend when required.

The only limit in this configuration would be the partition where the /var/lib/myql is stored. In fact, this actually rendered the free tablespace ineffectual in the auto-extend configuration.

How to remove MySQL InnoDB free tablespace alert?

According to our Support Team, the only way to resolve this specific alert would be to disable the InnoDB monitoring plugin. let’s take a look at how it is done:

  1. First, run the following command:
    rm -i /etc/munin/plugins/mysql_innodb
  2. This will prompt you to remove the symlink. However, you need to ensure that symbolic link is mentioned as seen below:
    # rm -i /etc/munin/plugins/mysql_innodb
    rm: remove symbolic link ‘/etc/munin/plugins/mysql_innodb’? y
  3. After that, apply the new configuration with the following commands:
    systemctl restart munin-node
    sudo -u munin /usr/local/cpanel/3rdparty/perl/532/bin/munin-cron

[Is Server Management turning out to be difficult? We are just a click away.]

Conclusion

In brief, the Support Team at Bobcares illustrated how to disable the free tablespace alert without too much trouble.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.