2020年6月10日 星期三

Redis設定maxclients產生maximum open files錯誤的問題

12214:M 10 Jun 20:48:01.544 # You requested maxclients of 50000 requiring at least 50032 max file descriptors.
  3 12214:M 10 Jun 20:48:01.544 # Server can't set maximum open files to 50032 because of OS error: Operation not permitted.
  4 12214:M 10 Jun 20:48:01.544 # Current maximum open files is 10240. maxclients has been reduced to 10208 to compensate for low ulimit.     If you need higher maxclients increase 'ulimit -n'.

這問題真的是很瞎

因為已設定/etc/security/limits.conf無用