Closed hktalent closed 2 years ago
i have the same issue with you, goroutine suddenly increasing to a million, this is involved with OOM
goroutine 9405091 [semacquire]: sync.runtime_SemacquireMutex(0xc000e5fd14, 0x0, 0x1) github.com/patrickmn/go-cache.(*janitor).Run(0xc000d646c0, 0xc000133140) created by github.com/patrickmn/go-cache.runJanitor
@binhbo12456 see https://github.com/hktalent/DNS_Server/blob/main/kvDb.go
code : https://github.com/hktalent/ScrapySite