From b8631ef58c94507d876155ac92335fd9606b259f Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 21 May 2018 17:49:52 +0200
Subject: erts,stdlib: Improve docs about obsolete ets_limit
---
erts/doc/src/erl.xml | 6 ++++--
erts/doc/src/erlang.xml | 10 +++-------
lib/stdlib/doc/src/ets.xml | 6 ++++--
system/doc/efficiency_guide/advanced.xml | 5 -----
4 files changed, 11 insertions(+), 16 deletions(-)
diff --git a/erts/doc/src/erl.xml b/erts/doc/src/erl.xml
index 74654a295d..4cf0066999 100644
--- a/erts/doc/src/erl.xml
+++ b/erts/doc/src/erl.xml
@@ -631,14 +631,16 @@
of process heaps is destroyed by the crash dump generation.
Option +d instructs the emulator to produce only a
core dump and no crash dump if an internal error is detected.
- Calling
+ Calling
erlang:halt/1 with a string argument still
produces a crash dump. On Unix systems, sending an emulator process
a SIGUSR1 signal also forces a crash dump.
-
-
Sets the maximum number of ETS tables.
+ Sets the maximum number of ETS tables. This limit is
+ partially obsolete.
+
-
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 5e0d30ebb7..b1fc4ec450 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -8175,13 +8175,9 @@ ok
ets_limit
-
-
Returns the maximum number of ETS tables allowed. This
- limit can be increased at startup by passing
- command-line flag
- +e to
- erl(1) or by setting environment variable
- ERL_MAX_ETS_TABLES before starting the Erlang
- runtime system.
+ Returns the limit for number of ETS tables. This limit is
+ partially obsolete
+ and number of tables are only limited by available memory.
port_count
-
diff --git a/lib/stdlib/doc/src/ets.xml b/lib/stdlib/doc/src/ets.xml
index 305376a425..1995262145 100644
--- a/lib/stdlib/doc/src/ets.xml
+++ b/lib/stdlib/doc/src/ets.xml
@@ -49,14 +49,16 @@
associated with each key. A bag or duplicate_bag table can
have many objects associated with each key.
+
The number of tables stored at one Erlang node used to
be limited. This is no longer the case (except by memory usage).
The previous default limit was about 1400 tables and
could be increased by setting the environment variable
- ERL_MAX_ETS_TABLES before starting the Erlang runtime
- system. This hard limit has been removed, but it is currently
+ ERL_MAX_ETS_TABLES or the command line option
+ +e before starting the
+ Erlang runtime system. This hard limit has been removed, but it is currently
useful to set the ERL_MAX_ETS_TABLES anyway. It should be
set to an approximate of the maximum amount of tables used. This since
an internal table for named tables is sized using this value. If
diff --git a/system/doc/efficiency_guide/advanced.xml b/system/doc/efficiency_guide/advanced.xml
index 21d4a66d77..b303fd47ed 100644
--- a/system/doc/efficiency_guide/advanced.xml
+++ b/system/doc/efficiency_guide/advanced.xml
@@ -187,11 +187,6 @@
By default, the maximum number of atoms is 1,048,576. This
limit can be raised or lowered using the +t option. |
-
- Ets tables |
- Default is 1400. It can be changed with the environment
- variable ERL_MAX_ETS_TABLES. |
-
Elements in a tuple |
The maximum number of elements in a tuple is 16,777,215
--
cgit v1.2.3
|