发表于 2019-1-27 06:31:44

有关open_files_limit的值修改

  1、open_files_limit:文档里说的范围是0-65535,其实它的上限是ulimit -n的值
  2、open_files_limit的取值:open_files_limit,max_connections*5,
  10+max_connections+table_cache_size*2,ulimit -n中的最大值。
  3、有1个硬限制,仅当以root用户身份启动mysqld_safe或mysqld时才能覆盖它

  4、修改步骤:先在root环境下启动然后在普通用户下启动,可以覆盖。
  




页: [1]
查看完整版本: 有关open_files_limit的值修改