Comments (5)
You've summarized the issue correctly. This bottleneck was introduced when we switched back from the pure erlang implementation of the dependency solver feature to using the Ruby/Gecode-based solver that shipped with Chef 10. The Chef Server keeps a pool of depsolver processes running and waiting for requests. When this pool is exhausted, the API returns 503, for Service Unavailable. It is not recommended that this pool size exceed the number of CPUs that you have on your Chef Server, as this is a compute-constrained resource.
Chef 12 ships with a new version of the pooler library (the library that handles said pooling) that now allows for requests to the pool to queue up when no workers are available. This hasn't yet been exposed in Chef 12 for the dependency solver, but it wouldn't take a lot of work to add that ability.
from chef-server.
Coming back to this issue again, the conclusion still stands that we should add queuing to the depsolver workers. I'll add the accepted-minor
tag to this card, indicating that we should do this and that it's a minor issue.
We should also include upgrading to the newest dep_selector
gem if we haven't done so already. @danielsdeleo made some great improvements there to optimize the Ruby portion of the code so that it doesn't have to do as much work building up redundant objects.
from chef-server.
Hi, why is it a minor issue? We have 25 nodes and they all constantly fail to run chef-client.
from chef-server.
You can work around it by raising the number of dependency solvers. The
default is very conservative.
On Mon, Jul 11, 2016, 17:24 Alexander S. [email protected] wrote:
Hi, why is it a minor issue? We have 25 nodes and they all constantly fail
to run chef-client.—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#36 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAICBonIjLU9HVIuzBwzuZBqnIUDbpylks5qUm4igaJpZM4DEOqD
.
from chef-server.
Yeah, thank you, looking into that now.
from chef-server.
Related Issues (20)
- /cookbook_versions endpoint sometimes returns 'busy' as body response under heavy load
- Installing chef-manage via chef-server-ctl is not working HOT 1
- chef-server-ctl user-create with prompt for password is broken HOT 1
- Upgrade to rails 7 and ruby 3+ in oc-id HOT 2
- OCID: profile email update is throwing error
- New nodes aren't indexed but are known to Chef-Server (Version 14) HOT 7
- Update the version of Chef server in Automate HOT 1
- Unable to upload/delete cookbook with Chef Admin account
- Chef Automate 2022-01 failing chef-server-ctl test HOT 1
- Chef Client Range Search Unexpected Results HOT 4
- API Endpoints to update client certs not accessible PUT HOT 1
- Cookbook parsing fails on restore knife ec backup/restore. HOT 1
- embedded knife commands show warnings HOT 1
- Incorrect metadata in a cookbook causes all client runs on nodes in that org to fail, irrespective of them using the cookbook in question. HOT 1
- Update External Opensearch documentation with the user permissions required for Chef to work correctly with Opensearch. HOT 1
- chef-server-ctl test in failing in FIPS enabled Amazon Linux 2 system. HOT 1
- Chef server install fails at "add internal user to opensearch security plugin" on local proxmox host but not AWS HOT 2
- Unable to `chef-server-ctl reconfigure` a new 15.3.2 install on Ubuntu 22.04 HOT 8
- Cookbook with invalid dependencies causes ALL Chef client runs to begin failing (even on nodes that do not use the cookbook in question) HOT 4
- New OpenSSL requirements in RHEL 9 in fips mode [RHSA-2023:3722-01], cannot connect to Chef Server anymore with no EMS support
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 chef-server.