[erlang-questions] erlang:system_info(port_limit) broken?

34 views
Skip to first unread message

Jeremy Ong

unread,
Feb 14, 2013, 12:28:33 AM2/14/13
to Erlang Questions

Steps to reproduce:

1. Invoke an erlang shell (erl)
2. erlang:system_info(port_limit).

Returns

** exception error: bad argument
      in function  erlang:system_info/1
           called as erlang:system_info(port_limit)

Any ideas?

Cheers,
Jeremy

Jeremy Ong

unread,
Feb 14, 2013, 12:29:53 AM2/14/13
to Erlang Questions
Sorry, neglected to mention that this is using R15B03-1. I've verified that this seems to not be working on amd64 hardware and intel i5 hardware in both linux and osx.

Rickard Green

unread,
Feb 14, 2013, 5:35:38 AM2/14/13
to Erlang Questions
The 'port_limit' argument was introduced in erts-5.10/OTP-R16A (as well as 'port_count'). That is, the badarg is expected in R15.

Regards,
Rickard Green, Erlang/OTP, Erlang/OTP
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Jeremy Ong

unread,
Feb 14, 2013, 11:31:22 AM2/14/13
to Rickard Green, Erlang Questions
Ah ok my apologies then.
Reply all
Reply to author
Forward
0 new messages