Added open_files_limit=9208 to mysql config.