Bug 1240561
| Summary: | [RFE] Add a parameter to the rabbitmq agent to control the file_descriptors limit | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Lee Yarwood <lyarwood> |
| Component: | resource-agents | Assignee: | Peter Lemenkov <plemenko> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | agk, cfeist, cluster-maint, fdinitto, gfidente, oalbrigt, oblaut |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-05-29 09:38:16 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: | 1240587, 1241628, 1296673 | ||
|
Description
Lee Yarwood
2015-07-07 08:59:23 UTC
FYI, by default in a 3 node cluster using the rabbitmq resource agent we see the following fd limits used :
# pcs resource show rabbitmq
Resource: rabbitmq (class=ocf provider=heartbeat type=rabbitmq-cluster)
Attributes: set_policy="ha-all ^(?!amq\.).* {"ha-mode":"all"}"
Operations: start interval=0s timeout=100 (rabbitmq-start-timeout-100)
stop interval=0s timeout=90 (rabbitmq-stop-timeout-90)
monitor interval=10 timeout=40 (rabbitmq-monitor-interval-10)
# rabbitmqctl report | grep -A3 file_descriptors
{file_descriptors,[{total_limit,924},
{total_used,3},
{sockets_limit,829},
{sockets_used,1}]},
--
{file_descriptors,[{total_limit,924},
{total_used,3},
{sockets_limit,829},
{sockets_used,1}]},
--
{file_descriptors,[{total_limit,924},
{total_used,152},
{sockets_limit,829},
{sockets_used,150}]},
There is a trivial workaround for this feature. https://bugzilla.redhat.com/show_bug.cgi?id=1240587#c4 If the installer can take advantage of the rabbitmq-enf.conf file, we should not consider this issue a blocker and lower the priority of the OCF agent feature request. (In reply to David Vossel from comment #3) > There is a trivial workaround for this feature. > https://bugzilla.redhat.com/show_bug.cgi?id=1240587#c4 > > If the installer can take advantage of the rabbitmq-enf.conf file, we should > not consider this issue a blocker and lower the priority of the OCF agent > feature request. ACK, thanks for the workaround David, I'm lowering this to medium and asking the director team to follow up in BZ#1240587. I've got a patch (not yet ustreamed) which add this functionality. I just need to know if anyone is still interested in this feature? If the answer is yes, then I'll continue as usual (propose to upstream, edit PR if necessary, do a RPM build, etc). If not, then I'll keep this open until someone wants this. |