[erlang-questions] Schedulers go to sleep even with +sfwi 500 option on R16B03
Scott Lystig Fritchie
fritchie@REDACTED
Thu Sep 18 06:49:50 CEST 2014
Vasily Demidenok <define.null@REDACTED> wrote:
vd> It helped and activated all schedulers, but only for several hours.
vd> Then situation repeated.
One way is to periodically check and use the same hack to reset. The
check doesn't come for free, but at least it avoids manual checking and
manual intervention. Many thanks to Steve Vinoski for collaboration on
that code.
https://gist.github.com/slfritchie/23220d2bf61b08b9a8b9
Meanwhile, the only way that I know of to avoid scheduler collapse is to
use both the +sfwi and +scl flags together, e.g. "+sfwi 500 +scl
false". The effect on performance of busy systems varies quite a bit:
you will want to measure your common workloads yourself to see if the
medicine is worse than the disease.
Thanks for pointing out the gist about the CouchDB VM version dilemma.
It's a great summary.
-Scott
More information about the erlang-questions
mailing list