Bug 858038
| Summary: | Installer sets 2 thin processes no matter what | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jeff Weiss <jweiss> |
| Component: | Installation | Assignee: | Lukas Zapletal <lzap> |
| Status: | CLOSED ERRATA | QA Contact: | Og Maciel <omaciel> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.0 | CC: | achan, asettle, dajohnso, dmacpher, omaciel |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
The System Engine installer chose two thin processes regardless of memory and hardware available. This was due to System Engine dividing the string number of processes by a pre-considered algorithm that set the number of thin worker processes. This fix converts the string value to a floating point. This sets the optimal number of thin processes.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-12-04 19:55:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jeff Weiss
2012-09-17 20:35:52 UTC
Ack, taking. Good idea putting the error message there, Jeff :-) Okay, looks like a regression in the code: notice: Scope(Class[Katello::Params]): Thin processes recommendation: 3 notice: Scope(Class[Katello::Params]): Total memory: 1846835937.28 notice: Scope(Class[Katello::Params]): Thin consumes: 230000000 notice: Scope(Class[Katello::Params]): Reserve: 2000000000 notice: Scope(Class[Katello::Params]): Portion: 0.5 notice: Scope(Class[Katello::Params]): Error when calculating: String can't be coerced into Float, using 2 Fixing the string->float conversion and I am also going to add new katello-configure parameters --katello-web-workers and --foreman-web-workers so users can override this. # grep "cpu count" -nriI /var/log/katello/katello-configure/* /var/log/katello/katello-configure/main.log:5:121002-16:56:08 notice: Scope(Class[Katello::Params]): CPU count: 4 /var/log/katello/katello-configure/main.log:13:121002-16:56:08 notice: Scope(Class[Katello::Params]): CPU count: 4 # grep server /etc/katello/thin.yml # stop katello prior changing servers option servers: 5 # ps -ef | grep [t]hin | wc -l 5 Verified using: * candlepin-0.7.8-1.el6cf.noarch * candlepin-selinux-0.7.8-1.el6cf.noarch * candlepin-tomcat6-0.7.8-1.el6cf.noarch * katello-1.1.12-12.el6cf.noarch * katello-all-1.1.12-12.el6cf.noarch * katello-candlepin-cert-key-pair-1.0-1.noarch * katello-certs-tools-1.1.8-1.el6cf.noarch * katello-cli-1.1.8-6.el6cf.noarch * katello-cli-common-1.1.8-6.el6cf.noarch * katello-common-1.1.12-12.el6cf.noarch * katello-configure-1.1.9-6.el6cf.noarch * katello-glue-candlepin-1.1.12-12.el6cf.noarch * katello-glue-pulp-1.1.12-12.el6cf.noarch * katello-qpid-broker-key-pair-1.0-1.noarch * katello-qpid-client-key-pair-1.0-1.noarch * katello-selinux-1.1.1-1.el6cf.noarch * pulp-1.1.12-1.el6cf.noarch * pulp-common-1.1.12-1.el6cf.noarch * pulp-selinux-server-1.1.12-1.el6cf.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2012-1543.html |