mirror of
https://github.com/Telecominfraproject/wlan-cloud-loadsim.git
synced 2025-10-30 18:17:51 +00:00
Fixing for docker
This commit is contained in:
33
priv/templates/simmonitor.args.template.docker
Normal file
33
priv/templates/simmonitor.args.template.docker
Normal file
@@ -0,0 +1,33 @@
|
||||
## Name of the node
|
||||
|
||||
## Cookie for distributed erlang
|
||||
-setcookie $$COOKIE$$
|
||||
-s owls_app
|
||||
-boot start_clean
|
||||
|
||||
## Heartbeat management; auto-restarts VM if it dies or becomes unresponsive
|
||||
## (Disabled by default..use with caution!)
|
||||
-heart
|
||||
|
||||
## Enable kernel poll and a few async threads
|
||||
+K true
|
||||
+A 5
|
||||
|
||||
## Increase number of concurrent ports/sockets
|
||||
-env ERL_MAX_PORTS 4096
|
||||
|
||||
## Tweak GC to run more often
|
||||
##-env ERL_FULLSWEEP_AFTER 10
|
||||
|
||||
# +B [c | d | i]
|
||||
# Option c makes Ctrl-C interrupt the current shell instead of invoking the emulator break
|
||||
# handler. Option d (same as specifying +B without an extra option) disables the break handler. # Option i makes the emulator ignore any break signal.
|
||||
# If option c is used with oldshell on Unix, Ctrl-C will restart the shell process rather than
|
||||
# interrupt it.
|
||||
# Disable the emulator break handler
|
||||
# it easy to accidentally type ctrl-c when trying
|
||||
# to reach for ctrl-d. ctrl-c on a live node can
|
||||
# have very undesirable results
|
||||
##+Bi
|
||||
|
||||
|
||||
20
priv/templates/simmonitor.config.template.docker
Normal file
20
priv/templates/simmonitor.config.template.docker
Normal file
@@ -0,0 +1,20 @@
|
||||
[ {
|
||||
owls ,
|
||||
[
|
||||
{ role , pseudo }
|
||||
]}
|
||||
,
|
||||
{lager,
|
||||
[
|
||||
{log_root, "/app_data/logs"},
|
||||
{colored,true},
|
||||
{handlers,
|
||||
[
|
||||
{lager_console_backend, [{level,error}]},
|
||||
{lager_file_backend, [{file, "error.log"}, {level, error}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
|
||||
{lager_file_backend, [{file, "info.log"}, {level, info}, {size, 10485760}, {date, "$D0"}, {count, 5}]},
|
||||
{lager_file_backend, [{file, "warning.log"}, {level, warning}, {size, 10485760}, {date, "$D0"}, {count, 5}]}
|
||||
]}
|
||||
] }
|
||||
].
|
||||
|
||||
Reference in New Issue
Block a user