Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Elastic Search Error – max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

elastic-search-error-max-max-file-descriptors
Spread the Knowledge

Elastic Search Error – max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]

[2019-07-11T10:55:11,630][INFO ][o.e.t.TransportService   ] [es-client01] publish_address {172.31.11.126:9300}, bound_addresses {172.31.11.126:9300}
[2019-07-11T10:55:11,637][INFO ][o.e.b.BootstrapChecks    ] [es-client01] bound or publishing to a non-loopback address, enforcing bootstrap checks
ERROR: [2] bootstrap checks failed
[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]

Solution

Temporary to the current login session
To set ulimit value on a parameter use the below command.
$ ulimit -p 65535

Persistent limits can be set for a particular user – By editing the /etc/security/limits.conf file. To set the maximum number of open files for the elasticsearch user to 65,536, add the following line to the limits.conf file:

vi /etc/security/limits.conf
------
ec2-user  -  nofile  65535
----

#This change will only take effect the next time the ec2-user user opens a new session.
  • https://gerardnico.com/os/linux/limits.conf
  • https://www.thegeekdiary.com/understanding-etc-security-limits-conf-file-to-set-ulimit/
Facebook Notice for EU! You need to login to view and post FB Comments!
Rajesh Kumar