I'm trying to create an elasticcluster. the nodes are setup in two seperate servers. my network and transport details are as follows:
network.host: 10.198.22.161
http.port: 9200
transport.host: 10.198.22.161
transport.tcp.port: 9300
when i try to start the node, it is displaying the following error.
ERROR: [2] bootstrap checks failed. You must address the points described in the following [2] lines before starting Elasticsearch.
bootstrap check failure [1] of [2]: max file descriptors [65335] for elasticsearch process is too low, increase to
at least [65535]
bootstrap check failure [2] of [2]: max virtual memory areas vm.max_map_count [262114] is too low, increase to at least [262144]
Im using Linux and Elasticversion 7.17. Not sure why this issue happens even though the criteria is met for bootstrapping.