kjnilsson
e08ee11ca3
merge
2018-06-04 21:56:06 +01:00
Loïc Hoguin
ced1c03338
Use better default memory allocators
...
We have settled on the following configuration for memory
allocators after testing many different combinations:
+MBas ageffcbf +MHas ageffcbf +MBlmbcs 512 +MHlmbcs 512 +MMmcs 30
They reduce the memory usage and help RabbitMQ reclaim memory,
at the cost of a slight decrease in performance due to an
increased number of memory operations.
We need to start Erlang with these values in order to figure
out whether they are supported. The allocator strategies we
recommend were introduced in Erlang/OTP 20.2.3. The values
can be overriden using RABBITMQ_SERVER_ERL_ARGS.
cc @gerhard
2018-05-29 11:49:09 +02:00
Daniil Fedotov
61035cefb3
Merge branch 'master' into quorum-queue
2018-03-15 11:21:27 +00:00
Diana Corbacho
2cd935c154
Configure data_dir, uses new RABBITMQ_QUORUM_DIR based on mnesia dir
...
[#154472152 ]
2018-03-02 13:07:32 +00:00
Diana Corbacho
1718286d0e
Revert "Configure data_dir, uses new RABBITMQ_QUORUM_BASE env var"
...
This reverts commit f226121241 .
2018-03-02 11:08:50 +00:00
Diana Corbacho
f226121241
Configure data_dir, uses new RABBITMQ_QUORUM_BASE env var
...
[#154472152 ]
2018-03-01 08:44:27 +00:00
Gerhard Lazu
c364f9e553
Test RABBITMQ_var vs var behaviour when using rabbitmq-env.conf
...
Covers the following variables:
* RABBITMQ_SCHEDULER_BIND_TYPE & SCHEDULER_BIND_TYPE
* RABBITMQ_DISTRIBUTION_BUFFER_SIZE & DISTRIBUTION_BUFFER_SIZE
* RABBITMQ_MAX_NUMBER_OF_PROCESSES & MAX_NUMBER_OF_PROCESSES
* RABBITMQ_MAX_NUMBER_OF_ATOMS & MAX_NUMBER_OF_ATOMS
(cherry picked from commit 118b448631 )
2018-02-26 15:35:48 +03:00
Luke Bakken
f38e9c4f44
Remove merge artifact
2018-02-23 12:49:51 -08:00
Luke Bakken
394d02876c
Merge branch 'configurable-max-procs-max-atoms' into configurable-max-procs-max-atoms-master
2018-02-23 12:42:47 -08:00
Luke Bakken
ff5d55a21b
Ensure SERVER_ERL_ARGS are set on Windows
2018-02-23 12:42:30 -08:00
Luke Bakken
7910814ba6
Merge branch 'configurable-max-procs-max-atoms' into configurable-max-procs-max-atoms-master
2018-02-23 12:30:48 -08:00
Luke Bakken
c4b1f36ecc
Variables in rabbitmq-env.conf and rabbitmq-env-conf.bat do not begin with RABBITMQ_, adjust Unix and Windows files accordingly
2018-02-23 11:49:25 -08:00
Gerhard Lazu
c182d51294
Make maximum number of Erlang atoms configurable via env
...
This was the only property in SERVER_ERL_ARGS that was not configurable.
Even though it's unlikely that this will need to be increased above the
existing 5 million default, we are consistent in allowing all properties
in SERVER_ERL_ARGS to be cofigured.
(cherry picked from commit b1e163fd6f )
2018-02-23 21:31:10 +03:00
Gerhard Lazu
3e7f271a2f
Make maximum number of Erlang processes configurable via env
...
This property is essential for nodes that need to handle many
connections / channels / queues.
Related to #1513
(cherry picked from commit 2739b400a4 )
2018-02-23 21:30:48 +03:00
Gerhard Lazu
b1e163fd6f
Make maximum number of Erlang atoms configurable via env
...
This was the only property in SERVER_ERL_ARGS that was not configurable.
Even though it's unlikely that this will need to be increased above the
existing 5 million default, we are consistent in allowing all properties
in SERVER_ERL_ARGS to be cofigured.
2018-02-23 18:05:49 +00:00
Gerhard Lazu
2739b400a4
Make maximum number of Erlang processes configurable via env
...
This property is essential for nodes that need to handle many
connections / channels / queues.
Related to #1513
2018-02-23 18:05:49 +00:00
Michael Klishin
d8b32130b8
Merge branch 'master' into rabbitmq-server-1508-master
...
Conflicts:
scripts/rabbitmq-env
scripts/rabbitmq-service.bat
2018-02-21 05:06:58 +03:00
Luke Bakken
717dfeea6e
Ensure RABBITMQ_USE_LONGNAME is set as that is what rabbitmqctl escript reads from the env
2018-02-20 15:07:15 -08:00
Luke Bakken
5874369cd5
Set node name for rabbit_prelaunch step in Windows scripts
...
Fixes #1508
2018-02-20 08:24:20 -08:00
Michael Klishin
20f02c877b
Merge pull request #1518 from rabbitmq/revert-1516-rabbitmq-server-1508-master
...
Revert "Final merge of rabbitmq-server-1508 to master"
2018-02-16 03:09:06 +03:00
Michael Klishin
3464acd336
Revert "Final merge of rabbitmq-server-1508 to master"
2018-02-16 03:08:31 +03:00
Michael Klishin
1ccb20e33c
Revert "Merge rabbitmq-server-1508 to master"
2018-02-16 03:08:28 +03:00
Luke Bakken
3c82673d9b
Remove unused -nodename argument to erl, ensure that RABBITMQ_NAME_TYPE is used correctly in Windows batch files
2018-02-15 13:00:46 -08:00
Luke Bakken
a7bf9cb0ab
Fix batch file issues with env variables
...
Fixes #1508
2018-02-12 19:15:03 -08:00
Luke Bakken
3f093e20e1
Set defaults
2018-01-30 08:01:41 -08:00
Luke Bakken
8b203b3a8f
Add DIST_PORT settings to Windows batch files
...
(cherry picked from commit 0cd2fbdda7 )
2018-01-30 07:57:22 -08:00
Luke Bakken
1e88e56e07
Set distribution port range for run_escript
...
Fixes rabbitmq/rabbitmq-cli#237
2018-01-29 12:22:31 -08:00
Luke Bakken
eed0d39554
Do not quote RABBITMQ_CTL_ERL_ARGS and ignore shellcheck warning
...
(cherry picked from commit 9c79348ed6 )
2018-01-02 11:54:33 -08:00
Luke Bakken
9c79348ed6
Do not quote RABBITMQ_CTL_ERL_ARGS and ignore shellcheck warning
2018-01-02 11:53:24 -08:00
Luke Bakken
f2960e4452
Run escript and use RABBITMQ_CTL_ERL_ARGS env variable
...
Fixes #1461
2017-12-29 13:56:23 -08:00
Daniil Fedotov
d0dcf9e8dc
Change application environment variable names for logs in windows scripts.
...
Follow up to #1335
Fixes #1434
[#153216683 ]
2017-11-28 15:45:11 +00:00
Daniil Fedotov
b54a3ddf91
Revert updating cuttlefish script
2017-10-12 20:48:28 +01:00
Daniil Fedotov
50b978f411
Update cuttlefish script
2017-10-11 20:24:52 +01:00
Daniil Fedotov
7860f99e74
Merge branch 'stable'
2017-09-12 17:35:04 +01:00
Daniil Fedotov
a80dac74df
Fix typo in RABBITMQ_LOGS environment setup
...
The typo caused `-` configuration to be treated as
a file name, not tty logging, like it should be.
Fixes #1348
[#150808117 ]
2017-09-12 11:17:03 +01:00
Gerhard Lazu
1bc84822a1
Merge branch 'stable'
2017-08-22 19:19:02 +01:00
Gerhard Lazu
42b8137f31
Read rabbitmq-env.conf a bit earlier to pick up two variables
...
Prior to this change, setting RABBITMQ_DISTRIBUTION_BUFFER_SIZE
and/or RABBITMQ_SCHEDULER_BIND_TYPE would not be added to
SERVER_ERL_ARGS because the latter variable was built prior to
reading rabbitmq-env.conf
Fixes #1338
[#150452491 ]
Signed-off-by: Luke Bakken <lbakken@pivotal.io>
2017-08-22 19:13:29 +01:00
Daniil Fedotov
0c6255e368
Refactor log configuration to be consistent with log doc guide
2017-08-18 11:14:56 +01:00
Michael Klishin
60e8f879bb
Merge branch 'stable'
2017-08-11 02:25:16 +03:00
Daniil Fedotov
70fabf3eae
Merge pull request #1322 from rabbitmq/rabbitmq-server-1255
...
Set ERL_CRASH_DUMP location to rabbitmq log directory
2017-08-08 19:21:13 +04:00
Daniil Fedotov
514ae58308
Start/stop windows service using `net` utility instead of `erlsrv`
...
`erlsrv` doc suggests to use windows system control tools to control
services. It prints weird error when error is occured
(for example access is denied), so using `net` is prefered.
2017-08-08 15:28:20 +01:00
Daniil Fedotov
1711a6ca84
Add upgrade log sink to windows scripts.
...
Upgrade sink is used for logging queue data upgrades.
It should be configured in the start arguments of rabbitmq server.
2017-08-04 10:32:33 +01:00
Daniil Fedotov
2a245fec11
Set ERL_CRASH_DUMP location to rabbitmq log directory
2017-08-03 16:03:58 +01:00
Michael Klishin
77101e7fad
Merge branch 'stable'
2017-07-28 00:27:13 +03:00
Michael Klishin
75b2473d4f
Bump DEFAULT_DISTRIBUTION_BUFFER_SIZE to 128 MB
...
After 24 hours of testing we haven't observed any anomalities or
regressions. With this change multicast (mirroring) processes
should be suspended less frequently, resulting in less variable
throughput for mirroring (with link throughput of 1 GBit/s or greater).
Closes #1306 .
[#149220393 ]
2017-07-27 18:28:02 +03:00
Michael Klishin
22cc2ae68a
Revert "Revert "Using square brackets could cause an error""
...
This reverts commit 836ae267e6 .
This revert was only necessary in stable.
2017-06-17 05:38:19 +03:00
Michael Klishin
0a6d3e1cb1
Merge branch 'stable'
2017-06-17 05:37:59 +03:00
Michael Klishin
2c6edde9bf
Manually re-apply #1269
2017-06-17 05:36:46 +03:00
Michael Klishin
836ae267e6
Revert "Using square brackets could cause an error"
...
This reverts commit ce85ac7bb6 .
This includes some master-specific bits.
2017-06-17 05:35:21 +03:00
Luke Bakken
ce85ac7bb6
Using square brackets could cause an error
...
Conflicts:
scripts/rabbitmq-env.bat
2017-06-17 04:00:25 +03:00