<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>That's true, I don't need 134217727 processes to be running, but
it is not substantial. It is just counter intuitive for me to have
a beam process with only kernel+stdlib that must take 5-10 minutes
to shutdown.</p>
<p>If you are right and this indeed happens because of 1,5Gb
allocated (btw does this mean that each of 134217727 potential
processes is pre-created?), I would say that setting an upper
bound of something I don't expect immediate actions. Out of
curiosity, I wonder what should be cleaned up in the system
immediately after the clean boot, and did this behaviour exist
earlier or was introduced recently (maybe as an optimization) with
Erlang/OTP 19 or 20?<br>
</p>
Vyacheslav<br>
<br>
<div class="moz-cite-prefix">On 25.09.2017 23:46, Vyacheslav
Levytskyy wrote:<br>
</div>
<blockquote type="cite"
cite="mid:790f788b-f140-712b-fe58-bfccafdde0cb@yahoo.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre style="white-space: pre-wrap; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;">I checked and running erl with that +P 134217727 results in a beam
process using 1.517g of memory. So cleaning that up is probably what is
taking so much time on shutdown :)
134217727 certainly seems excessive... What size system would even be
able to handle dealing with that many processes?
--
Tristan Sloughter
"I am not a crackpot" - Abe Simpson
<img src="http://erlang.org/pipermail/erlang-questions/emailaddrs/ema-8162.png" moz-do-not-send="true" border="0"></pre>
</blockquote>
<br>
</body>
</html>