Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
runtime: potential deadlock cycle caused by scavenge.lock [1.13 backport] #34150
Just in case.
It seems we were affected by this in https://github.com/gallir/smart-relayer It was in production and we were not able to debug/trace it properly but we found that most of the connections were blocked (every one is managed by one or several goroutines) and the RSS reached the instances RAM (32 GB) and were killed by the OOM.
We went back to a version compiled with 1.12 and didn't see the issue again:
$ ps axl| grep smart-relayer
As you can see, the runtime starts tens of threads: