Why redis can not set maximum open file

后端 未结 3 1908
长情又很酷
长情又很酷 2021-02-02 12:53
1167:M 26 Apr 13:00:34.666 # You requested maxclients of 10000 requiring at least 10032 max file descriptors.
1167:M 26 Apr 13:00:34.667 # Redis can\'t set maximum open files         


        
3条回答
  •  悲哀的现实
    2021-02-02 13:42

    Redis will never change the maximum open files.

    This is a OS configuration and it can be configured on a per user basis also. The error is descriptive and tells you: "increase 'ulimit -n'"

    You can refer to this blog post on how to increase the maximum open files descriptors: http://www.cyberciti.biz/faq/linux-increase-the-maximum-number-of-open-files/

提交回复
热议问题