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

./solr start

报错

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

 

 

 怎么办?

查看系统限制

 ulimit -a

 

 

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

 

 

现在需要更改系统限制,登录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 operational disruption.

 

 然后找到文件  /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 operational disruption.

 

 

 

 

修改后重新登录生效

 

相关文章:

  • 2022-01-07
  • 2021-08-24
  • 2021-10-30
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
猜你喜欢
  • 2021-12-17
  • 2021-08-10
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2022-01-24
  • 2021-07-20
相关资源
相似解决方案