Error Messages:
ERROR: [1] bootstrap checks failed [1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535] [2]: max number of threads [3795] for user [es] is too low, increase to at least [4096] [3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Problem Cause.
es higher versions of resource requirements, linux system default configuration can not meet its requirements, so it needs to be configured separately
Solution.
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
Modify the vi /etc/security/limits.conf file and add the configuration
* hard nofile 65535 # *can be es start user
* soft nofile 65535
[2]: max number of threads [3795] for user [es] is too low, increase to at least [4096]
Modify the vi /etc/security/limits.conf file and add the configuration
es - nproc 4096 # es is my start user
After the above two configuration items are changed, ES start the user and login again will take effect;
[3]: max virtual memory areas vm. max_map_count [65530] is too low, increase to at least [262144]
Modify /etc/sysctl.config file, add the following configuration
vi /etc/sysctl.conf
vm.max_map_count=262144
Execute the order with immediate effect
/sbin/sysctl -p
vm.max_map_count = 262144
Start successful
Read More:
- [Solved] ElasticSearch startup error: bootstrap checks failed
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- ES Startup error: ERROR: [2] bootstrap checks failed
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- [Solved] ElasticSearch Startup Error: error updating geoip database
- How to Solve elasticsearch-7.15.1 operation errors
- [Solved] elasticsearch Error: Failed: 1: this action would add [6] total shards, but this cluster currently has [2
- [Solved] Zabbix Error: Cannot parse list of active checks
- [Solved] Mycat Startup Error: ERROR Startup failed: Timed out waiting for a signal from the JVM
- How to Solve bootstrap.sh error during the construction of fabric environment
- How to Solve elasticsearch root user start Error
- How to Solve elasticSearch8.1.2 Install Error in Win10
- [Solved] JIRA startup error: JIRA startup failed, JIRA has been locked.
- [Elasticsearch Exception]Found interface org.elasticsearch.common.bytes.BytesReference
- [Solved] Elasticsearch Error: received plaintext http traffic on an https channel, closing connection…
- bazel Compile Error: absl/base/policy_checks.h:79:2: error: #error “C++ versions less than C++14 are not supported.”
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- [Solved] Elasticsearch error: cannot downgrade a node from version [7.xx.x] to version [7.xx.x]
- How to Solve elasticsearch and logstash Install Error
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘