Use new table_open_cache directive for MySQl 5.6+ http://virtualmin.com/node/33623