Linux Namespaces and Go Don't Mix
HN: Linux Namespaces and Go Don't Mix (weave.works)
reddit: https://www.reddit.com/r/golang/comments/6ew883/linux_namespaces_and_go_dont_mix/
Cause:
When ever things are blocking, go runtime will fork a M(physical thread) into spinning mode for new goroutine to run before every things are blocked.
However, go runtime will fork the thread with whatever Linux Namespace it's in with the same Linux Namespace scope, which causing problem.
HN: Linux Namespaces and Go Don't Mix (weave.works)
reddit: https://www.reddit.com/r/golang/comments/6ew883/linux_namespaces_and_go_dont_mix/
Cause:
When ever things are blocking, go runtime will fork a M(physical thread) into spinning mode for new goroutine to run before every things are blocked.
However, go runtime will fork the thread with whatever Linux Namespace it's in with the same Linux Namespace scope, which causing problem.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.