<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div>Based on the output this is likely the issue but why are the epmd processes going down in the first place? Usually the first one keeps running and no new ones are created, so this issue of reaping doesn't come up.<br></div><div><br></div><div>Another option is to not use epmd when running in kubernetes. There aren't port issues in k8s so it isn't needed.<br></div><div><br></div><div>Checkout <a href="https://github.com/oltarasenko/epmdless">https://github.com/oltarasenko/epmdless</a> for this. <br></div><div><br></div><div>The only catch is you need to set the env var `<span class="blob-code-inner"><span class="pl-s">EPMDLESS_REMSH_PORT` to the port used for distribution so that remote_console works the same as before.</span></span><br></div><div><br></div><div>I'll get something written up about using this in kubernetes soon.<br></div><div><br></div><div><span class="blob-code-inner"><span class="pl-s">Tristan</span></span><br></div><div><br></div><div>On Fri, Aug 9, 2019, at 04:35, Bryan Hunt wrote:<br></div><blockquote type="cite" id="qt"><div>I bet it’s zombie processes - the epmd process is not being reaped.<br></div><div class="qt-"><br></div><div class="qt-"><a class="qt-" href="https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/">https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/</a><br></div><div class="qt-"><br></div><div class="qt-">The epmd will be cleaned up when the pod terminates. <br></div><div class="qt-"><br></div><div class="qt-">Docker fixed this by adding an —init option which runs the tini init process<br></div><div class="qt-"><br></div><div class="qt-"><a class="qt-" href="https://stackoverflow.com/a/50819443/9958902">https://stackoverflow.com/a/50819443/9958902</a><br></div><div class="qt-"><br></div><div class="qt-">Kubernetes does not start docker containers with this option <br></div><div class="qt-"><br></div><div class="qt-">You can use tini as a tiny init process to solve this issue - it’s already an alpine package.<br></div><div class="qt-"><br></div><div class="qt-"><br></div><div class="qt-"><a class="qt-" href="https://github.com/krallin/tini">https://github.com/krallin/tini</a><br></div><div class="qt-"><br></div><div class="qt-"><br></div><div class="qt-"><br></div><div class="qt-"><br></div><div><br></div><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><b><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size">Code Sync & Erlang Solutions Conferences</span></span></b></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66scls"><span style="background-color:transparent" class="highlight">Code BEAM Lite BD</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"> - Budapest: 20 September 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66scvd"><span style="background-color:transparent" class="highlight">Code BEAM Lite NYC</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"> - NYC: 01 October 2019</span></span></span></span></span><br></p><p style="margin-top:0pt;margin-bottom:0pt;line-height:1.38;" dir="ltr"><span style="color:rgb(68, 68, 68)" class="colour"><span style="background-color:white" class="highlight"><span style="color:rgb(51, 51, 51)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a href="https://codesync.global/conferences/code-beam-lite-berlin-2019/">Code BEAM Lite</a> - Berlin: 11 October 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66sd8l"><span style="background-color:transparent" class="highlight">RabbitMQ Summit</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"> - London: 4 November 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66sd8x"><span style="background-color:transparent" class="highlight">Code Mesh LDN</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(153, 153, 153)" class="colour"> </span></span><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour">- London: 7-8 November 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a href="https://codesync.global/conferences/code-beam-lite-bangalore/">Code BEAM Lite India</a> - Bangalore: 14 November 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66sdbs"><span style="background-color:transparent" class="highlight">Code BEAM Lite AMS</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"> - Amsterdam: 28 November 2019</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size"><a style="color:rgb(17, 85, 204);" href="https://www2.erlang-solutions.com/l/23452/2019-06-24/66sdcd"><span style="background-color:transparent" class="highlight">Lambda Days</span></a><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"> - Kraków: 13-14 February 2020</span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"><span style="font-family:Arial" class="font"><span style="font-size:13px" class="size">Code BEAM SF - San Francisco: 5-6 March 202</span></span><span style="font-size:16px" class="size">0</span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial, Helvetica, sans-serif" class="font"><span style="font-size:small" class="size"><span style="background-color:transparent" class="highlight"><span style="color:rgb(68, 68, 68)" class="colour"><span style="font-family:"Helvetica Neue", sans-serif" class="font"></span></span></span></span></span></span><br></p><p style="margin-top: 0pt; margin-bottom: 0pt; line-height: 1.38;" dir="ltr"><span style="background-color:rgb(255, 255, 255)" class="highlight"><span style="font-family:Arial, Helvetica, sans-serif" class="font"><span style="font-size:small" class="size"><b><span style="font-family:Arial" class="font"><span style="color:rgb(34, 34, 34)" class="colour"><span style="font-family:arial, helvetica, sans-serif" class="font"><span style="font-size:12px" class="size"><i>Erlang Solutions cares about your data and privacy; please find all details about the basis for communicating with you and the way we process your data in our </i></span></span></span><a style="color:rgb(17, 85, 204);font-weight:400;white-space:normal;font-family:arial, helvetica, sans-serif;font-size:12px;" href="https://www.erlang-solutions.com/privacy-policy.html"><i>Privacy Policy</i></a><span style="color:rgb(34, 34, 34)" class="colour"><span style="font-family:arial, helvetica, sans-serif" class="font"><span style="font-size:12px" class="size"><i>.You can update your email preferences or opt-out from receiving Marketing emails <a style="color:rgb(17, 85, 204);" href="http://www2.erlang-solutions.com/emailpreference">here</a>.</i></span></span></span></span></b></span></span></span><br></p><div>_______________________________________________<br></div><div>erlang-questions mailing list<br></div><div>erlang-questions@erlang.org<br></div><div>http://erlang.org/mailman/listinfo/erlang-questions<br></div><div><br></div></blockquote><div><br></div></body></html>