Bug 1663412
Summary: | Tuned takes too long to reload/start when "ulimit -n" is high. | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Jiří Mencák <jmencak> | |
Component: | tuned | Assignee: | Ondřej Lysoněk <olysonek> | |
Status: | CLOSED ERRATA | QA Contact: | Robin Hack <rhack> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 7.7-Alt | CC: | jeder, jmencak, jskarvad, olysonek, psklenar, rhack | |
Target Milestone: | rc | Keywords: | Patch, Upstream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | tuned-2.11.0-0.1.rc1.el7 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1666678 (view as bug list) | Environment: | ||
Last Closed: | 2019-08-06 13:04:46 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1666678 |
Description
Jiří Mencák
2019-01-04 08:42:30 UTC
(In reply to jmencak from comment #0) > Steps to Reproduce: > 1. systemctl stop tuned > 2. ulimit -Sn 1048576 > 3. tuned --debug Do you run tuned directly like this, or do you run it using 'systemctl start'? If you run it using systemd, we could just add 'LimitNOFILE=' to the systemd service. Would that work for you? To be clear, I still intend to change tuned not to execute sysctl for each setting, as discussed in the upstream issue. In fact, I've already implemented that: https://github.com/olysonek/tuned/commit/001d2a3c49a268ef9abb7d03a57ec22100266fdb At the moment tuned is run outside of systemd inside a pod. Currently using a workaround by lowering the number open files: https://github.com/openshift/openshift-tuned/blob/master/assets/bin/run#L13 (In reply to jmencak from comment #4) > At the moment tuned is run outside of systemd inside a pod. Currently using > a workaround by lowering the number open files: > https://github.com/openshift/openshift-tuned/blob/master/assets/bin/run#L13 Ok, given that you already have a workaround in place, I think it's not necessary to add more workarounds to Tuned. So we won't change the Tuned service. The underlying problem should be fixed in the following pull request: https://github.com/redhat-performance/tuned/pull/160 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. https://access.redhat.com/errata/RHBA-2019:2201 |