Coder Social home page Coder Social logo

Comments (3)

sawanoboly avatar sawanoboly commented on September 27, 2024 1

If the error message is correct, there may be too many files in the recipe. If your environment is macos, try the following command to check the maxfiles.

$ ulimit -n
2560

If this value is a low number, such as 256, which is the default, try temporarily increasing the limit with the following command and try again.

$ ulimit -n NUMBER

from knife-zero.

hendych avatar hendych commented on September 27, 2024 1

Hi @sawanoboly thanks for the suggestion.
I ran knife zero converge "name:mynode*" -C 5 -x my_user -P my_password it throws error

ERROR: NoMethodErrorundefined method `send_as_needed' for nil:NilClass
ERROR: /Users/xxx/.gem/gems/knife-zero-2.4.1/lib/knife-zero/net_ssh_multi_patch.rb:94:in `keepalive_if_needed'
     /Users/xxx/.gem/gems/knife-zero-2.4.1/lib/knife-zero/net_ssh_multi_patch.rb:117:in `block in process'
     /Users/xxx/.gem/gems/net-ssh-multi-1.2.1/lib/net/ssh/multi/server_list.rb

however after I ran ulimit -n NUMBER knife able to run on all my nodes.

Environment

  • Knife 2.4.1
  • Chef 17.7.29

from knife-zero.

sawanoboly avatar sawanoboly commented on September 27, 2024

To identify the problem, I need some information.

  • Workstation environment
  • Number of nodes you want to run simultaneously

Also try to limit the number of concurrent executions with the -C, --concurrency NUM option.

http://knife-zero.github.io/30_subcommands/#converge

from knife-zero.

Related Issues (20)

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.