summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMarek Majkowski <majek@lshift.net>2009-09-28 12:44:07 +0100
committerMarek Majkowski <majek@lshift.net>2009-09-28 12:44:07 +0100
commit66fd625d73749a5371daf50c927be564b99ff49d (patch)
tree2ff512ff5cc7e710ec6156196297c8163acb0abd /scripts
parent9f47dc06410c0a6cf5f51c1e988458357d15149a (diff)
downloadrabbitmq-server-66fd625d73749a5371daf50c927be564b99ff49d.tar.gz
minor os_mon fixes
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/rabbitmq-server4
-rwxr-xr-xscripts/rabbitmq-server.bat2
-rwxr-xr-xscripts/rabbitmq-service.bat2
3 files changed, 7 insertions, 1 deletions
diff --git a/scripts/rabbitmq-server b/scripts/rabbitmq-server
index dcc23f79..89537ddf 100755
--- a/scripts/rabbitmq-server
+++ b/scripts/rabbitmq-server
@@ -100,8 +100,10 @@ exec erl \
-sasl errlog_type error \
-kernel error_logger '{file,"'${RABBITMQ_LOGS}'"}' \
-sasl sasl_error_logger '{file,"'${RABBITMQ_SASL_LOGS}'"}' \
+ -os_mon start_cpu_sup true \
+ -os_mon start_disksup false \
-os_mon start_memsup false \
- -os_mon system_memory_high_watermark 0.70 \
+ -os_mon system_memory_high_watermark 0.7 \
-mnesia dir "\"${RABBITMQ_MNESIA_DIR}\"" \
${RABBITMQ_CLUSTER_CONFIG_OPTION} \
${RABBITMQ_SERVER_START_ARGS} \
diff --git a/scripts/rabbitmq-server.bat b/scripts/rabbitmq-server.bat
index 3f5ac3e7..6439baeb 100755
--- a/scripts/rabbitmq-server.bat
+++ b/scripts/rabbitmq-server.bat
@@ -125,6 +125,8 @@ if exist "%RABBITMQ_EBIN_ROOT%\rabbit.boot" (
%RABBITMQ_SERVER_ERL_ARGS% ^
-sasl errlog_type error ^
-sasl sasl_error_logger {file,\""%RABBITMQ_LOG_BASE%/%RABBITMQ_NODENAME%-sasl.log"\"} ^
+-os_mon start_cpu_sup true ^
+-os_mon start_disksup false ^
-os_mon start_memsup false ^
-os_mon system_memory_high_watermark 0.7 ^
-mnesia dir \""%RABBITMQ_MNESIA_DIR%"\" ^
diff --git a/scripts/rabbitmq-service.bat b/scripts/rabbitmq-service.bat
index 480acdda..09c5993e 100755
--- a/scripts/rabbitmq-service.bat
+++ b/scripts/rabbitmq-service.bat
@@ -170,6 +170,8 @@ set ERLANG_SERVICE_ARGUMENTS= ^
-kernel error_logger {file,\""%RABBITMQ_LOG_BASE%/%RABBITMQ_NODENAME%.log"\"} ^
-sasl errlog_type error ^
-sasl sasl_error_logger {file,\""%RABBITMQ_LOG_BASE%/%RABBITMQ_NODENAME%-sasl.log"\"} ^
+-os_mon start_cpu_sup true ^
+-os_mon start_disksup false ^
-os_mon start_memsup false ^
-os_mon system_memory_high_watermark 0.7 ^
-mnesia dir \""%RABBITMQ_MNESIA_DIR%"\" ^