linux - 启动solr 报错 Your Max Processes Limit is currently 31202. It should be set to 65000 to avoid

进入bin目录后 执行启动指定

./solr start

报错

linux - 启动solr 报错 Your Max Processes Limit is currently 31202.   It should be set to 65000 to avoid

 

 

 怎么办?

查看系统限制

 ulimit -a

 

 

linux - 启动solr 报错 Your Max Processes Limit is currently 31202.   It should be set to 65000 to avoid

 

 

现在需要更改系统限制,登录root账号

找到这个文件 /etc/security/limits.conf 最后添加下面两行 【有些系统是默认加了的】

* soft nofile 65535
* hard nofile 65535

linux - 启动solr 报错 Your Max Processes Limit is currently 31202.   It should be set to 65000 to avoid

 

 然后找到文件  /etc/security/limits.d/20-nproc.conf 

将4096改成65535

linux - 启动solr 报错 Your Max Processes Limit is currently 31202.   It should be set to 65000 to avoid

 

 

 

 

修改后重新登录生效

 

上一篇:CF710D Two Arithmetic Progressions


下一篇:前端HmlCSS万能找bug方法/使用几行css精准定位到是哪个元素出bug