Coder Social home page Coder Social logo

Comments (2)

jrwesolo avatar jrwesolo commented on June 15, 2024

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.

Joseph-R avatar Joseph-R commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.