-
-
Notifications
You must be signed in to change notification settings - Fork 599
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approaches for ulimit setting #425
Comments
Hi @davidski -- we figured there are lots of Chef cookbooks out there to set ulimit, and the packaged init scripts also do it now: And if you'd rather use Chef, here are some cookbooks: |
Thanks for the detailed response, @martinb3! That was super helpful. In testing, I've found that AWS Linux supplies a Is having this limit set to the package desired default of 65,535 on AWS Linux something you'd care for this cookbook to do? Again, it's easy enough for me to drop a file in that directory via my cookbook leveraging the elasticsearch resources, so no offense taken if that's something you'd rather not do, though it may be worth a note in the docs for folks on this platform. |
I found the |
It's all good! I prefer noise over silence! :D |
With #319 now in play, is there a suggested way to properly adjust ulimits to useful values? Working towards using the 2.x branches of both this cookbook and ES in general, I've found my ES nodes on AWS Linux are coming up with only 30K
nofiles
available while older ES 1.x/coobook 0.13.x nodes have 64k courtesy of the10-cookbook.conf
file.Mocking up a new template for
/etc/security/limit.d
is easy enough, but I don't want to go reinventing a bad wheel if that's been determined to be a bad practice.The text was updated successfully, but these errors were encountered: