WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manua
生活随笔
收集整理的這篇文章主要介紹了
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manua
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
When you restart your service you’ll notice this warning:
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.To fix this, edit this file
sudo nano /etc/security/limits.confand add these two entries:
root soft nofile 40000 root hard nofile 40000 neo4j soft nofile 40000 neo4j hard nofile 40000 panos soft nofile 40000 panos hard nofile 40000I add an entry for all three users?root,?neo4j?and?panos, but you actually just need the one that you’ll use when you restart the service. Then edit
sudo nano /etc/pam.d/suuncomment this line
session required pam_limits.soand restart your server (your machine not the service). //改完要重啟機器
Now if you do
sudo service neo4j-service restartthe warning should have disappeared.
轉載于:https://my.oschina.net/sunyouling/blog/886051
總結
以上是生活随笔為你收集整理的WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manua的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 编写脚本自动部署反向代理、web、nfs
- 下一篇: 起航,第一个程序——还是LED灯