Bug 1771994 - unbounded memory usage in collectd when it's not configured with any write plugin
Summary: unbounded memory usage in collectd when it's not configured with any write pl...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: collectd
Version: 15.0 (Stein)
Hardware: All
OS: Linux
medium
low
Target Milestone: z3
: 15.0 (Stein)
Assignee: Ryan McCabe
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks: 1790928
TreeView+ depends on / blocked
 
Reported: 2019-11-13 11:19 UTC by Jaison Raju
Modified: 2020-10-14 12:32 UTC (History)
10 users (show)

Fixed In Version: collectd-5.8.1-8.el8ost.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-30 20:02:15 UTC
Target Upstream Version:
Embargoed:
mrunge: needinfo-


Attachments (Terms of Use)

Description Jaison Raju 2019-11-13 11:19:33 UTC
Description of problem:
If overcloud is deployed with collectd but when collectd is not configured to use any write plugin or any destination collectd server it can send data, memory leak is noticed.
Collectd processes Resident memory increases to 20GB in few hours.
During every cycle collectd collects data, the process visibly grows in memory usage.

Collectd should have some configuration to discard collected data rather than storing it in memory when it is not configured with destination collectd server or write plugin.

Version-Release number of selected component (if applicable):
RHOS15z1

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 10 Chris Sibbitt 2020-02-11 20:51:10 UTC
This has been lowered to medium since it only affects already-broken installations. Fixes are required upstream and they won't happen in time for 15z2; adjusting milestone accordingly.

Comment 11 Ryan McCabe 2020-03-26 16:45:10 UTC
I've been hammering on collectd with WriteQueueLimitHigh and WriteQueueLimitLow set (and I believe Matthias has, also), and those seem sufficient to control the memory usage. We may want to set some reasonable defaults to the collectd container's default collectd params.

Comment 13 stchen 2020-09-30 20:02:15 UTC
Closing EOL, OSP 15 has been retired as of Sept 19, 2020


Note You need to log in before you can comment on or make changes to this bug.