[erlang-questions] Why system_flag(scheduler_bind_type) is deprecated?

Angel J. Alvarez Miguel <>
Tue Jan 8 13:04:01 CET 2013


On Martes, 8 de Enero de 2013 12:08:41 Jesper Louis Andersen escribió:
> On Jan 8, 2013, at 12:04 PM, Max Lapshin <> wrote:
> > If erlyvideo is launched without +sbt spread flag, it looses packets from
> > UDP because too many tasks are on one core. There are some erlang
> > distributions (OS X, ubuntu package, some others) that are just halting
> > if you pass +sbt flag. So I can't write proper init script that passes
> > this flag or don't pass.
> 
> I think Rickard already said he would implement a "silent failure" flag for
> this, so you could do something like
> 
> erl +sbt db +sbt-ignore-failure

This seems to be a good falloff, here we use scritptized rebars deployments 
for our projects and this fits very well to be included in the 
escript_emu_args variable... provided the user cant change default vm args per 
se

> 
> and have it work on, say, OSX because it would silently disable the flag.
> As you say, +sbt has too much of an impact in the real world to be ignored
> for certain types of load, so I still like the default of refusing to
> start if the bind type can't be satisfied.
> 
> Jesper Louis Andersen
>   Erlang Solutions Ltd., Copenhagen
> 
> 
> 
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list