From 7e789df8dd9c7d86e9cc354521a37aa598aa5ec8 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 31 Oct 2012 23:31:50 +0100 Subject: Improve configuration of process and port tables --- erts/doc/src/erlang.xml | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) (limited to 'erts/doc/src/erlang.xml') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index 0963904b83..2da456d49f 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -3225,10 +3225,11 @@ os_prompt% the owning process using signals of the form {'EXIT', Port, PosixCode}. See file(3) for possible values of PosixCode.

-

- The maximum number of ports that can be open at the same - time is 1024 by default, but can be configured by - the environment variable ERL_MAX_PORTS.

+

The maximum number of ports that can be open at the same + time can be configured by passing the + +Q + command line flag to + erl(1).

@@ -5954,18 +5955,34 @@ ok

Returns a string containing the OTP release number.

process_count + +

Returns the number of ports currently existing at + the local node as an integer. The same value as + length(erlang:ports()) returns.

+
+ port_limit + +

Returns the maximum number of simultaneously existing + ports at the local node as an integer. This limit + can be configured at startup by using the + +Q + command line flag of + erl(1).

+
+ process_count

Returns the number of processes currently existing at the local node as an integer. The same value as length(processes()) returns.

- process_limit + process_limit -

Returns the maximum number of concurrently existing +

Returns the maximum number of simultaneously existing processes at the local node as an integer. This limit - can be configured at startup by using the command line - flag +P, see - erl(1).

+ can be configured at startup by using the + +P + command line flag of + erl(1).

procs -- cgit v1.2.3