Functionbeat will reach End of Support on October 18, 2023. You should consider
moving your deployments to the more versatile and efficient Elastic Serverless
Forwarder.
High RSS memory usage due to MADV settings
editHigh RSS memory usage due to MADV settings
editIn versions of Functionbeat prior to 7.10.2, the go runtime defaults to MADV_FREE
by default.
In some cases, this can lead to high RSS memory usage while the kernel waits to reclaim any pages assigned to Functionbeat.
On versions prior to 7.10.2, set the GODEBUG="madvdontneed=1"
environment variable if you run into RSS usage issues.