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

open-falcon进程莫名退出 #893

Open
tbag2011 opened this issue Jul 11, 2020 · 0 comments
Open

open-falcon进程莫名退出 #893

tbag2011 opened this issue Jul 11, 2020 · 0 comments

Comments

@tbag2011
Copy link

tbag2011 commented Jul 11, 2020

在plugin目录中添加了一个脚本
发现open-falcon进程被退出了
以下是日志:
2020/07/11 18:02:02 scheduler.go:60: plugins/host/1_bj_mmp_cost.py running...
2020/07/11 18:02:02 scheduler.go:71: plugin started: plugins/host/1_bj_mmp_cost.py
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x72e5e3]

goroutine 39039369 [running]:
github.com/open-falcon/falcon-plus/vendor/github.com/toolkits/sys.CmdRunWithTimeout(0xc4207f82c0, 0x1dcd6500, 0x2, 0xc420344550, 0x0)
/home/dc2-user/gopath/src/github.com/open-falcon/falcon-plus/vendor/github.com/toolkits/sys/cmd.go:41 +0x43
github.com/open-falcon/falcon-plus/modules/agent/plugins.PluginRun(0xc42071ab40)
/home/dc2-user/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/plugins/scheduler.go:74 +0x276
github.com/open-falcon/falcon-plus/modules/agent/plugins.(*PluginScheduler).Schedule.func1(0xc42071b1c0)
/home/dc2-user/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/plugins/scheduler.go:35 +0xc4
created by github.com/open-falcon/falcon-plus/modules/agent/plugins.(*PluginScheduler).Schedule
/home/dc2-user/gopath/src/github.com/open-falcon/falcon-plus/modules/agent/plugins/scheduler.go:41 +0x3f

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

1 participant