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

Fanout panic on closing channel #32

Closed
alitvak69 opened this issue Jan 6, 2021 · 1 comment · Fixed by #33
Closed

Fanout panic on closing channel #32

alitvak69 opened this issue Jan 6, 2021 · 1 comment · Fixed by #33
Assignees
Labels
bug Something isn't working

Comments

@alitvak69
Copy link

Coredns died. Below are logs and configuration.

2021-01-06T10:12:50.856608991-08:00 coredns-mserver-pbxsm-staging 143 panic: send on closed channel
2021-01-06T10:12:50.856637258-08:00 coredns-mserver-pbxsm-staging 143
2021-01-06T10:12:50.856647131-08:00 coredns-mserver-pbxsm-staging 143 goroutine 115942 [running]:
2021-01-06T10:12:50.856656343-08:00 coredns-mserver-pbxsm-staging 143 github.com/networkservicemesh/fanout.(*Fanout).ServeDNS.func1(0x3, 0xc00060e870, 0xc000c1c300)
2021-01-06T10:12:50.856677605-08:00 coredns-mserver-pbxsm-staging 143 /go/pkg/mod/github.com/networkservicemesh/fanout@v0.0.0-20201216200329-84902c6419cb/fanout.go:86 +0x65
2021-01-06T10:12:50.85668812-08:00 coredns-mserver-pbxsm-staging 143 created by github.com/networkservicemesh/fanout.(*Fanout).ServeDNS
2021-01-06T10:12:50.856699111-08:00 coredns-mserver-pbxsm-staging 143 /go/pkg/mod/github.com/networkservicemesh/fanout@v0.0.0-20201216200329-84902c6419cb/fanout.go:83 +0x1e5
2021-01-06T10:12:50.861503396-08:00 coredns-mserver-pbxsm-staging exited with error: exit status 2

. {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.1.51.210:53 10.1.51.211:53 10.1.51.212:53
#forward . 10.1.51.210:53 10.1.51.211:53 10.1.51.212:53
errors
cache {
success 10000 3600 5
denial 10000 3600 5
}
}

consul {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.1.73.1:53 10.1.73.2:53 10.1.73.3:53
errors
cache {
success 10000 5 5
denial 10000 5 5
}
}

la.consul {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.0.73.43:53 10.0.73.40:53 10.0.73.28:53
errors
cache {
success 10000 5 5
denial 10000 5 5
}
}

la-prod-la2.consul {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.0.74.17:53 10.0.74.18:53 10.0.74.19:53
errors
cache {
success 10000 5 5
denial 10000 5 5
}
}

chi-pbx.consul {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.1.73.1:53 10.1.73.2:53 10.1.73.3:53
errors
cache {
success 10000 5 5
denial 10000 5 5
}
}

chi-prod-xcast.consul {
bind 127.0.0.1
log {
class denial
class error
}
fanout . 10.1.73.23:53 10.1.73.22:53 10.1.73.15:53
errors
cache {
success 10000 5 5
denial 10000 5 5
}
}

@denis-tingaikin denis-tingaikin self-assigned this Jan 20, 2021
@denis-tingaikin denis-tingaikin added the bug Something isn't working label Jan 20, 2021
@denis-tingaikin
Copy link
Member

@alitvak69 Thanks for the issue reported! The problem should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants