From 18b4b8f982b3c8c58ac141a515f0c0f6e8f6bd33 Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Fri, 21 Feb 2014 11:09:59 -0600 Subject: [PATCH] Adding warning about big table caches This isn't the ideal fix, but at least the warning is there. Many thanks to @ywarnier for pointing this out to me on GitHub. ;) Fixes #36. --- mysqltuner.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mysqltuner.pl b/mysqltuner.pl index 2535cb9..10b1481 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -870,6 +870,7 @@ sub mysql_stats { push(@adjvars,"table_cache (> ".$myvar{'table_cache'}.")"); } push(@generalrec,"Increase table_cache gradually to avoid file descriptor limits"); + push(@generalrec,"Read this before increasing table_cache over 64: http://bit.ly/1mi7c4C"); } else { goodprint "Table cache hit rate: $mycalc{'table_cache_hit_rate'}% (".hr_num($mystat{'Open_tables'})." open / ".hr_num($mystat{'Opened_tables'})." opened)\n"; }