Comments (2)
Hello @Joseph-R! Absolutely. That is the intended design of this cookbook. If you take a look at the README.md you should see what your looking for. Are you using the set_limit
definition or the limits_config
LWRP in your code? Both have an attribute called use_system
. That defaults to false
so it should be creating the configs under the limits.d directory automatically. It should only be setting the limits.conf file if your are passing use_system true
.
from limits.
Ah, okay. I guess I didn't fully understand that from the README.md.
All of my code atm looks like this:
set_limit '*' do
type 'hard'
item 'nofile'
value 65536
use_system true
end
# Set soft and hard limits system-wide for the number of processes a user can run.
set_limit '*' do
type 'soft'
item 'nproc'
value 487503
use_system true
end
I'll drop the use_system
flag and run it through test kitchen. Thanks!
Regards,
Joe Reid
from limits.
Related Issues (10)
- does the lwrp honor notifies? HOT 2
- Validation Error HOT 1
- Chef 16.X support HOT 3
- Chef 16.2.x support HOT 1
- Cookbook file definitions/default.rb has a ruby syntax error HOT 4
- more examples
- Can't set system or user specific noproc settings for Centos 6.5? HOT 3
- Clarification in README for usage HOT 2
- Documentation request - what ulimits can cookbook set? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from limits.