<div dir="ltr">Also<div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">1> erlang:system_info(cpu_topology).
</span><br>[{processor,{logical,0}}]</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">2> erlang:system_info(logical_processors).
</span><br>1</span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">3> erlang:system_info(smp_support).
</span><br>false<br>
<br><br>Looks like the build has no smp support at all, thought it was configured with </span><span style="color:rgb(80,0,80);font-size:12.8px">--enable-smp-support</span></div><div><br></div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">uname -a
</span><br>Linux debian-512mb-ams2-01 3.2.0-4-amd64 #1 SMP Debian 3.2.81-1 x86_64 GNU/Linux<br>
<br></span><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-08-15 2:08 GMT+03:00 Steve Vinoski <span dir="ltr"><<a href="mailto:vinoski@ieee.org" target="_blank">vinoski@ieee.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Sun, Aug 14, 2016 at 6:38 PM, John Doe <span dir="ltr"><<a href="mailto:donpedrothird@gmail.com" target="_blank">donpedrothird@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi all,<div>got a very strange problem today on a Debian 7.11, gcc <span style="color:rgb(0,0,0);font-family:monospace">4.7.2 </span> VPS<span style="color:rgb(0,0,0);font-family:monospace"> </span>- all apps with dirty schedulers nifs fail with "{error, {bad_lib, xxx requires a runtime with dirty scheduler support."}}" </div><div><br></div><div>The erlang is built by</div><div>KERL_CONFIGURE_OPTIONS="--disa<wbr>ble-dynamic-ssl-lib --with-ssl=/usr/ --enable-smp-support --without-termcap --enable-dirty-schedulers --enable-builtin-zlib" ./kerl build git <a href="https://github.com/erlang/otp.git" target="_blank">https://github.com/erlang/otp.<wbr>git</a> OTP-19.0.4 OTP-19.0.4<br></div><div><br></div><div>This is not problem of the apps, all the apps fail with the same error, I tried <a href="https://github.com/vinoski/bitwise" target="_blank">https://github.com/vinoski/bit<wbr>wise</a> and a couple of other.</div><div><br></div><div>There are no problems altogether with the same apps and the same OTP built with the same command on my home box. Anyway, i tried to build erlang with other flags and with no kerl, nothing changed.</div><div><br></div><div>What could be the reason for that?</div></div></blockquote><div><br></div></span><div>I think the only way you can get that error message is if the runtime is not actually compiled with dirty schedulers enabled. Are you sure you're picking up the right runtime via your path? When you start an erlang shell, does the status line include something like</div><div><br></div><div> [smp:8:8] [ds:8:8:10]</div><div><br></div><div>or is the "ds" part missing? What do you get if you execute the following in the erlang shell?</div><div><br></div><div> erlang:system_info(dirty_cpu_<wbr>schedulers).</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>--steve</div></font></span></div></div></div>
</blockquote></div><br></div>