falcon-plus icon indicating copy to clipboard operation
falcon-plus copied to clipboard

Limit the memory size of falcon-agent and the number of metric pushed

Open apriltommy0525 opened this issue 4 years ago • 2 comments

The limit of falcon-agent process memory is added. If the agent memory exceeds the threshold, metric will not be pushed. And when the number of metric pushed at one time reaches the limit, also the request will not be processed

apriltommy0525 avatar Dec 03 '20 15:12 apriltommy0525

使用 cgroup 来限制资源使用量,是不是更为合适? @apriltommy0525

laiwei avatar Dec 09 '20 00:12 laiwei

@laiwei 您好,关于cgroup控制agent内存问题,我的想法是如果agent内存超过设置被系统杀死然后自动重启,这样正在的处理的http请求会全失败,这样的损失相对agent拒绝一些请求,等下内存下降是不是更大点,

apriltommy0525 avatar Jan 03 '21 16:01 apriltommy0525