-
-
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
Changing nofile attribute is not idempotent #101
Comments
Strange, should be covered by this |
@kamaradclimber Actually not strange at all -- the |
kamaradclimber
added a commit
to kamaradclimber/cookbook-elasticsearch
that referenced
this issue
Jun 25, 2013
kamaradclimber
added a commit
to kamaradclimber/cookbook-elasticsearch
that referenced
this issue
Jun 25, 2013
kamaradclimber
added a commit
to kamaradclimber/cookbook-elasticsearch
that referenced
this issue
Jun 25, 2013
kamaradclimber
added a commit
to kamaradclimber/cookbook-elasticsearch
that referenced
this issue
Jun 28, 2013
karmi
pushed a commit
that referenced
this issue
Aug 1, 2013
…limits.d is ignored This follows the conventions in the official .deb and .rpm packages from elastic/elasticsearch#2059. See: * https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch#L148-L154 * https://github.com/elasticsearch/elasticsearch/blob/master/src/rpm/init.d/elasticsearch#L75-L83 This is part of a larger changeset by @chrisroberts in #103. Closes: #103 Closes: #109 Related: #101 Related: #102
thoughtcroft
pushed a commit
to ninefold/chef-elasticsearch
that referenced
this issue
Jan 30, 2015
While reading the recommendations found [here](http://asquera.de/opensource/2012/11/25/elasticsearch-pre-flight-checklist/#file-descriptors) I thought that it would be a good idea to use `limits.d` instead of hacking the `limits.conf` file directly. This way Chef handles the idempotency itself and we can drop the custom (and hard to read) `not_if` magic. The "chef-ulimit" cookbook uses the same approach: https://github.com/bmhatfield/chef-ulimit/blob/master/definitions/user_ulimit.rb#L13 Tested on Vagrant with Debian 6 and Ubuntu Precise. Closes sous-chefs#101 Closes sous-chefs#118 Fixes sous-chefs#102
thoughtcroft
pushed a commit
to ninefold/chef-elasticsearch
that referenced
this issue
Jan 30, 2015
…limits.d is ignored This follows the conventions in the official .deb and .rpm packages from elastic/elasticsearch#2059. See: * https://github.com/elasticsearch/elasticsearch/blob/master/src/deb/init.d/elasticsearch#L148-L154 * https://github.com/elasticsearch/elasticsearch/blob/master/src/rpm/init.d/elasticsearch#L75-L83 This is part of a larger changeset by @chrisroberts in sous-chefs#103. Closes: sous-chefs#103 Closes: sous-chefs#109 Related: sous-chefs#101 Related: sous-chefs#102
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Changing the nofile attribute leads to duplicate line in /etc/security/limits.conf such as:
The text was updated successfully, but these errors were encountered: