windows categraf 占用内存达到567.9M

Viewed 83

image.png

windows categraf 占用内存达到567.9M 使用的默认配置,没有开启其他插件
版本:categraf-v0.3.45-windows-amd64
系统:windows server 2016

日志中有大量的
2024/01/31 04:00:41 heartbeat.go:125: E! failed to collect system info: not connected to the network
2024/01/31 04:00:51 meta.go:39: W! collectSystemInfo error: not connected to the network
2024/01/31 04:00:51 heartbeat.go:125: E! failed to collect system info: not connected to the network
2024/01/31 04:01:01 heartbeat.go:125: E! failed to collect system info: not connected to the network
2024/01/31 04:01:01 meta.go:39: W! collectSystemInfo error: not connected to the network
2024/01/31 04:01:11 heartbeat.go:125: E! failed to collect system info: not connected to the network
2024/01/31 04:01:11 meta.go:39: W! collectSystemInfo error: not connected to the network

1 Answers

windows 获取网络信息错误,要不先关闭心跳观察试试

[heartbeat]
enable = false

它这个内存占用是逐渐上涨的,大概过了半个月,涨到了现在这样,我现在关闭心跳,重启后在观察一段时间