-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
categraf v0.3.66 自定义配置文件hostname字段值,启动categraf后主机内存跑满,降级到在用的v0.3.43正常 #938
Comments
用普通用户启动的吗? |
使用root用户 |
哦哦,是的,我测了下,普通用户启动会报错 F! failed to init config: failed to get bios sn: exit status 1 |
空的,我的是虚拟机内。 [root@dev-master-1 ~]# |
哦哦,那难怪了。我也在虚拟机测得,还是能拿到bios,当时没想到 会有空的,我改下这段逻辑吧。 |
fix pr |
v0.3.67 已经release https://github.com/flashcatcloud/categraf/releases/tag/v0.3.67 |
@wudihechao @kongfei605 |
Relevant config.toml
Logs from categraf
System info
categraf v0.3.66 / CentOS Linux release 7.9.2009 (Core)
Docker
No response
Steps to reproduce
未启动categraf时内存
[root@dev-master-1 categraf]# free -h
total used free shared buff/cache available
Mem: 7.5G 1.4G 5.0G 13M 1.1G 5.9G
Swap: 0B 0B 0B
启动categraf后
total used free shared buff/cache available
Mem: 7.5G 6.1G 334M 13M 1.1G 1.2G
Swap: 0B 0B 0B
...
Expected behavior
其它v0.3.43机器正常categraf在100多M。
Actual behavior
内存暴涨,主机卡死,N9E上无法显示该target
Additional info
No response
The text was updated successfully, but these errors were encountered: