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

reload error #60

Closed
tanxiao1990 opened this issue Jun 29, 2022 · 2 comments
Closed

reload error #60

tanxiao1990 opened this issue Jun 29, 2022 · 2 comments

Comments

@tanxiao1990
Copy link
Contributor

重载的时候,偶尔会出现中断,进程直接退出

2022/06/28 20:44:42 agent.go:69: I! agent stopping
panic: send on closed channel

goroutine 1 [running]:
flashcat.cloud/categraf/agent.(*Agent).Stop(0xc000143df0?)
/home/runner/work/categraf/categraf/agent/agent.go:73 +0xdf
flashcat.cloud/categraf/agent.(*Agent).Reload(0xc000143e70?)
/home/runner/work/categraf/categraf/agent/agent.go:84 +0x53
main.handleSignal(0xc0002d7020?)
/home/runner/work/categraf/categraf/main.go:94 +0x206
main.runAgent(0x0?)
/home/runner/work/categraf/categraf/main_posix.go:12 +0x28
main.main()
/home/runner/work/categraf/categraf/main.go:69 +0x17d

@kongfei605
Copy link
Collaborator

复现步骤就是不停的reload ? 可以按照bug report模板提供一些更详细的信息

@kongfei605
Copy link
Collaborator

#477
#478

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

2 participants