Package: mysqltuner
Version: 2.6.0-1
Severity: wishlist
Dear Maintainer,
Just running mysqltuner against mariadb it crash with:
...
[--] InnoDB is enabled.
[OK] InnoDB File per table is activated
[OK] InnoDB Buffer Pool size ( 2.0G ) under limit for 64 bits architecture:
(17179869184.0G )
[OK] InnoDB buffer pool / data size: 2.0G / 41.8M
[OK] Ratio InnoDB log file size / InnoDB Buffer pool size: 512.0M * 1/2.0G
should be equal to 25%
Illegal division by zero at /usr/bin/mysqltuner line 6547 (#1)
(F) You tried to divide a number by 0. Either something was wrong in
your logic, or you need to put a conditional in to guard against
meaningless input.
Uncaught exception from user code:
Illegal division by zero at /usr/bin/mysqltuner line 6547.
main::mysql_innodb() called at /usr/bin/mysqltuner line 7414
this seems due to division by innodb_buffer_pool_chunk_size value that's 0 by
default in mariadb
Regards
Simone
-- System Information:
Debian Release: 13.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.101+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mysqltuner depends on:
ii perl 5.40.1-6
Versions of packages mysqltuner recommends:
ii libjson-perl 4.10000-1
ii libtext-template-perl 1.61-1
ii mariadb-server [virtual-mysql-server] 1:11.8.6-0+deb13u1
ii procps 2:4.0.4-9
mysqltuner suggests no packages.
-- no debconf information