nickva commented on issue #701: URL: https://github.com/apache/couchdb-documentation/issues/701#issuecomment-1068446166
@guanfeix port_limit is probably the next power of 2 based on ERL_MAX_PORTS At least on Erlang 23: ``` ERL_MAX_PORTS=1042 erl Erlang/OTP 23 [erts-11.2.2.9] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] Eshell V11.2.2.9 (abort with ^G) 1> erlang:system_info(port_limit). 2048 ``` ``` ERL_MAX_PORTS=3000 erl Erlang/OTP 23 [erts-11.2.2.9] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] Eshell V11.2.2.9 (abort with ^G) 1> erlang:system_info(port_limit). 4096 ``` ``` ERL_MAX_PORTS=9000 erl Erlang/OTP 23 [erts-11.2.2.9] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1] Eshell V11.2.2.9 (abort with ^G) 1> erlang:system_info(port_limit). 16384 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
