在zk模板配置文件中有: # the maximum number of client connections. # increase this if you need to handle more clients maxClientCnxns=60 这个配置的作用就是:一个ip所对应的客户机,只能和zk服务器维持60个连接. 以NIOServerCnxnFactory为例: public abstract class ServerCnxnFactory { //存放zk所有连接 protect
配置了 sudo vim /etc/security/limits.conf * soft nofile * hard nofile 单独起进程没问题, 放到supervisor下监管启动,则报错 max file descriptors [4096] for elasticsearch process is too low, increase to at least [65536] 原因: 应该是supervisor监管的进程配置来自于supervisor所在环境配置, supervi