From 6dfe9675e59af81d9d0b11f6ef36777fc1e70d51 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Mon, 21 May 2018 15:24:53 +0200
Subject: erts: Reduce test log noise from ets_SUITE
---
lib/stdlib/test/ets_SUITE.erl | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
(limited to 'lib/stdlib')
diff --git a/lib/stdlib/test/ets_SUITE.erl b/lib/stdlib/test/ets_SUITE.erl
index 574aac96c8..a97fe4a5d9 100644
--- a/lib/stdlib/test/ets_SUITE.erl
+++ b/lib/stdlib/test/ets_SUITE.erl
@@ -6209,20 +6209,23 @@ spawn_logger(Procs) ->
ok;
(Proc) ->
Mon = erlang:monitor(process, Proc),
- receive
+ ok = receive
{'DOWN', Mon, _, _, _} ->
ok
after 0 ->
case Kill of
true -> exit(Proc, kill);
- _ ->
- erlang:display({"Waiting for 'DOWN' from", Proc,
- process_info(Proc),
- pid_status(Proc)})
+ _ -> ok
end,
receive
{'DOWN', Mon, _, _, _} ->
ok
+ after 5000 ->
+ io:format("Waiting for 'DOWN' from ~w, status=~w\n"
+ "info = ~p\n", [Proc,
+ pid_status(Proc),
+ process_info(Proc)]),
+ timeout
end
end
end, Procs),
--
cgit v1.2.3
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
---
lib/stdlib/doc/src/ets.xml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'lib/stdlib')
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
--
cgit v1.2.3