golangã§æ¸ããããã°ã©ã ãDockerã§åããOOMãçºçããéã«ãªãã¹ãæ å ±ãæ®ãã¦æ®ºãããæ¹æ³ãç´¹ä»ãã¾ãã 2020/08/16追è¨: ãã®è¨äºã®å 容ã¯golangã«é¢ãã¦ã¯ããç¾å®çã§ã¯ãªããªã£ã¦ãã¾ãã¾ããã 詳ããã¯ç¶ç·¨ãåç §ãã¦ãã ããã TL;DR golang製ã®ããã°ã©ã ã¯ä»®æ³ã¡ã¢ãª(VSZ)ã®ç¢ºä¿ã«å¤±æããã¨goroutineã®ãã³ããåãã¦æ»ã¬ Dockerã®OOMã¯RSSãã¼ã¹ã§æ¤åºæã«SIGKILLãæãã¦ãã Dockerå©ç¨æã«VSZã§å¶éããããã¹ã¯ãªãããæ¸ãã golang製ã®ããã°ã©ã ã¯linux-amd64ã«ããã¦æä½ã§ã101MBã®VSZãè¦æ±ãã VSZã®å¶éãããããå°ããã¨å½ç¶èµ·åã§ããªã å®éã®RSSã¯3MBç¨åº¦ã§èµ·åãã Background ã³ã³ããå ã§åãã¦ãããããã¯ã·ã§ã³ä¸ã®golang製ã®ããã°ã©ã ãæã OOMã«æ®ºããã¦
{{#tags}}- {{label}}
{{/tags}}