Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
sysctl -p 执行错误: sysctl: cannot stat /proc/sys/m/max_map_count: 没...
Experiences and Insight
147
views ·
1
replies ·
To
floor
Go
zhkchi
deepin
2019-09-23 06:03
Author
在安装elasticsearch,启动的时候报错:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
根据网上的解决方案:
vi /etc/sysctl.conf
添加下面配置:
vm.max_map_count=655360
并执行命令:
sysctl -p
报错如题。。。有人知道怎么解决么?
Reply
Like 0
Favorite
View the author
All Replies
funtoo
deepin
2019-09-23 18:29
#1
你在配置文件里面少打了开头的v。直接用
# sysctl vm.max_map_count==262144
Copy the Code
控制内核参数也是可以临时生效的。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
What is the purpose of UOS AI?
Cannot upgrade "Deepin 25.0.10"
chrome browser
Feature Request: Adding an option for a "Floating Dock" mode in DDE
[Feature Request] Drop-down grid panel for window snap layouts
Popular Events
More
在安装elasticsearch,启动的时候报错:
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
根据网上的解决方案:
vi /etc/sysctl.conf
添加下面配置: vm.max_map_count=655360
并执行命令: sysctl -p
报错如题。。。有人知道怎么解决么?