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.
This commit is contained in:
Major Hayden 2014-02-21 11:09:59 -06:00
parent 47e3dd2350
commit 18b4b8f982

View file

@ -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";
}