ERROR: [1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch. bootstrap check failure [1] of [1]: memory locking requested for elasticsearch process but memory is not locked ERROR: Elas
时间: 2024-03-27 08:38:17 浏览: 116
elasticsearch 启动报错
ticsearch requires memory locking in order to ensure that the Java Virtual Machine (JVM) can manage memory effectively. In order to address this error, you need to increase the maximum memory map count value of your system.
To do this, you can modify the /etc/sysctl.conf file and add the following lines:
```
vm.max_map_count=262144
```
After adding this line, you can run the following command to apply the changes:
```
sudo sysctl -p
```
This should resolve the memory locking issue and allow you to start Elasticsearch.
阅读全文