aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator
diff options
context:
space:
mode:
authorRobert Paal <[email protected]>2014-02-18 11:27:12 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:05 +0100
commitb16f213791509f4de13215a83e68208128522520 (patch)
treec56d47068c24e7661ae8000cd5f3aaa0c76a1c37 /erts/emulator
parentd3b26048bff761f90da7e4ed9ef8453cbc5289b0 (diff)
downloadotp-b16f213791509f4de13215a83e68208128522520.tar.gz
otp-b16f213791509f4de13215a83e68208128522520.tar.bz2
otp-b16f213791509f4de13215a83e68208128522520.zip
ose: Eliminating delays when trying to open files
When opening filers on not mounted volumes the default timeout on OSE is quite big and since at startup we load something like 20 beam files this slows down startup by as much as 50 seconds.
Diffstat (limited to 'erts/emulator')
-rw-r--r--erts/emulator/sys/ose/default.lmconf5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/sys/ose/default.lmconf b/erts/emulator/sys/ose/default.lmconf
index 6d3499df8f..17b7a1e5fa 100644
--- a/erts/emulator/sys/ose/default.lmconf
+++ b/erts/emulator/sys/ose/default.lmconf
@@ -12,3 +12,8 @@ HEAP_MAX_SIZE=1000000000
HEAP_SMALL_BUF_INIT_SIZE=64000000
HEAP_LARGE_BUF_THRESHOLD=16000000
HEAP_LOCK_TYPE=2
+
+# Setting the environment variable EFS_RESOLVE_TMO on the block to 0.
+# This will eliminiate delays when trying to open files on not mounted
+# volumes.
+EFS_RESOLVE_TMO=0