Comments (3)
Run COllectD 5.11 on Centos7 and valgrind
collectd-wr5.log
All leakage in that Valgrind log is from Bash, not collectd?
from collectd.
thank you for checking @eero-t . Yes, to me it looks like the leaks were from bash.
from collectd.
While it's possible that collectd process had increased memory usage when POD running collectd gets killed due to OOM, it's impossible to say either way, as the attached file was about Bash.
There was also no log of the actual OOM event; was it e.g. whole system OOM, or just result of collectd POD spec specifying too low memory limits for such a long running process. Kernel OOM info does not state whether something leaks, it just states how much memory processes used, and which one of them was killed as result of the OOM situation. Unless processes are prioritized differently, killed process is the one taking most memory in given cgroup.
And even if collectd process memory usage would increase over time, it's not necessarily a leak, or from collectd itself. It could be from a system library, and/or due to data it handles just increasing over time for some valid reason.
PS. Small leaks are very hard to catch, unless they happen right from the beginning (so that something like Valgrind can be used to catch them). Most memory tools have such large overheads that you cannot run them in production, you need special tools to track them [1]. It may be easier just to increase memory limits a bit and/or restart processes at suitable intervals.
[1] Used in Maemo/MeeGo: https://github.com/maemo-tools-old/functracer
(Nowadays similar functionality could probably be written on top of kernel uprobes.)
from collectd.
Related Issues (20)
- How to configure collectd.conf for Dell Data Domain DD6400? HOT 1
- Is there any plans to have python3 as the default for collectd python plugin? HOT 3
- [collectd 6] one thread per write plugin breaks write_http (and write_prometheus) behavior HOT 7
- The collectd_virt_if_errors_rx_total, collectd_virt_if_errors_tx_total metrics of Virt plugin are not collected HOT 6
- mqtt plugin: Unknown type: HOT 2
- collectd 5.9.0 keep reporting the "virt plugin: Array index out of bounds: tag_index = 11/12" HOT 5
- Processes Plugin missing mnl_socket_bind symbol. HOT 4
- Upon starting, collectd sends OK notifications for all the values which have thresholds defined HOT 3
- "uc_update: Value too old flood" in log HOT 3
- There are no "intel_rdt" related metrics in types.db file HOT 1
- turbostat: missing Skylake Cstates HOT 2
- turbostat plugin failed to open msr HOT 1
- smart plugin causes "num_err_log_entries" to increase on a Seagate FireCuda 530 NVMe drive
- conntrack plugin: per-state metrics HOT 4
- MySQL: Bad DS types for WSREP/Galera variables HOT 2
- Swap plugin sends usage data twice HOT 3
- collectdctl return error "Connection refused" HOT 2
- Plugin hddtemp not working under Debian Bookworm HOT 1
- write_prometheus fails to bind when the host has no non-loopback IP addresses HOT 2
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 collectd.