Skip to content
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

请教大佬Centos8部署falcon-agent启动后报错。无法启动采集agent。日志报错内容如下,网上看有人遇到同样问题,说不支持centos8 #952

Open
zjj353533004 opened this issue Feb 26, 2022 · 4 comments

Comments

@zjj353533004
Copy link

2022/02/26 17:01:37 cfg.go:142: read config file: cfg.json successfully
2022/02/26 17:01:37 http.go:88: listening :1988
panic: runtime error: index out of range

goroutine 15 [running]:
github.com/open-falcon/falcon-plus/vendor/github.com/toolkits/nux.SocketStatSummary(0xc000030000, 0x50, 0x48)
/home/work/gopath/src/github.com/open-falcon/falcon-plus/vendor/github.com/toolkits/nux/ss_s.go:49 +0x766
github.com/open-falcon/falcon-plus/modules/agent/funcs.SocketStatSummaryMetrics(0x0, 0x0, 0x0)
/home/work/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/funcs/sockstat.go:24 +0x37
github.com/open-falcon/falcon-plus/modules/agent/cron.collect(0x3c, 0xc0000fe1c0, 0x2, 0x2)
/home/work/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/cron/collector.go:63 +0x14d
created by github.com/open-falcon/falcon-plus/modules/agent/cron.Collect
/home/work/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/cron/collector.go:44 +0xbf

@kingte11056
Copy link

同问 目前的主机是 Ubuntu20.04

@kingte11056
Copy link

主机版本回退到 ubuntu-18.04 可以运行了 就是和主机相关的bug

@zjj353533004
Copy link
Author

已经升级到n9e夜莺监控系统了,使用telegraf采集,也挺好用的

@signmem
Copy link

signmem commented Nov 11, 2024

  • 尝试用 go-1.18 编译, 我没有遇到问题
  • 另外 vendor/github.com/toolkits/nux/ss_s.go 这个代码有问题的
  • 当服务器 slab 过大时候,这个 ss_s.go 搜集数据时会导致服务器卡顿问题的。。必须重构

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants