【问题标题】:SMP disable in Erlang/OTP 20?在 Erlang/OTP 20 中禁用 SMP?
【发布时间】:2018-05-01 00:34:58
【问题描述】:

在 OTP 20 中,当我们启动 ERL VM 时,我们不能使用 -smp disable

所以我的问题是,我们如何使用另一个标志来实现-smp disable的功能?

【问题讨论】:

  • erl -smp disableArgument '-smp disable' not supported. Use "+S 1" instead.erl +S 1 不适合你吗?

标签: erlang erlang-otp


【解决方案1】:

使用 +S 1 代替 -smp 禁用

【讨论】:

    【解决方案2】:

    今天我在启动 RabbitMQ 时遇到了“Argument '-smp disable' not supported. Use "+S 1" instead”问题。

    Erlang 从名为 ERL_AFLAGS 的环境变量中获取 -smp disable 参数。将其值更改为 +S 1

    【讨论】:

      猜你喜欢
      • 2011-08-18
      • 2011-05-05
      • 2013-11-01
      • 2011-05-18
      • 2014-12-24
      • 2011-02-16
      • 2013-10-27
      • 2019-08-31
      • 2011-10-28
      相关资源
      最近更新 更多