Open odeke-em opened 1 year ago
I am not able to find an obvious leak there. Tends to believe the leak may be inside upstream caddy.
I tried transfer this to coredns/caddy but that repo doesn't have issues enabled - and I don't have admin privs, so I cannot enable them.
coredns/caddy is a fork of caddy v1 and the issue is not under active maintenance. Let's keep the issue here to make sure it can be addressed.
Reported by Static Major from Orijtech Inc, we can see this
which translates to https://github.com/coredns/coredns/blob/2f24b512d3999e9687ffbfaf8f8226c64185dca1/coremain/run.go#L56-L60 and after instance.Wait() returns, that file will be unclosed hence leak.
Kindly FYI-ing @willpoint @jhusdero @elias-orijtech @kirbyquerby