Commit Graph

113 Commits

Author SHA1 Message Date
Luke Bakken 6bfe5393ae
Remove unused -nodename argument to erl, ensure that RABBITMQ_NAME_TYPE is used correctly in Windows batch files 2018-02-15 08:30:59 -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 f2960e4452
Run escript and use RABBITMQ_CTL_ERL_ARGS env variable
Fixes #1461
2017-12-29 13:56:23 -08: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 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
Diana Corbacho d9e2c27f70 Configure MNESIA_BASE and MNESIA_DIR on dev environment
rabbitmq-server#1221
[#145264225]
2017-05-30 10:23:29 +01:00
Jean-Sébastien Pédron ff83a7471c
Revert "Restore "Do not expand plugins anymore""
Loading a native library (eg. a NIF) from an .ez archive in unsupported
by Erlang and the team decided to revert this change again.

This reverts commit 0151abf377.

[#136622317]
2017-02-22 15:29:05 +01:00
Jean-Sébastien Pédron 0151abf377
Restore "Do not expand plugins anymore"
Support for reading static files from Erlang .ez archives was added to
Cowboy and various RabbitMQ plugins were updated to take advantage of
the new API.

So this commit restores the following commits:
    7069f3b40d
    76a8c66c80
    2044cb1eed
    bc64ac1677
    d616cc922d

They were reverted in 72f7c8e700 because
Cowboy didn't have this support at the time.

Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>

[#118562759, #136622317]
2017-02-20 17:58:13 +01:00
Michael Klishin bcff954479
Merge branch 'master' into rabbitmq-server-567 2016-12-23 23:18:16 +03:00
Jean-Sébastien Pédron 72f7c8e700
Revert "Do not expand plugins anymore"
This broke the management plugin: Cowboy assumes direct file access to
resources in the `priv` directory.

This reverts commits:
    7069f3b40d
    76a8c66c80
    2044cb1eed
    bc64ac1677
    d616cc922d

[#118562759]
2016-12-23 18:36:57 +01:00
Daniil Fedotov 5f7553c0bd Merge branch 'master' into rabbitmq-server-567 2016-12-20 18:17:10 +00:00
Jean-Sébastien Pédron bc64ac1677
Do not set `plugins_expand_dir` from $RABBITMQ_PLUGINS_EXPAND_DIR
The environment variable is now ignored.

Signed-off-by: Gerhard Lazu <gerhard@rabbitmq.com>

[#118562759]
2016-12-19 17:46:25 +01:00
Daniil Fedotov cfc9a88d90 Write per queue upgrade log to a separate file 2016-11-30 12:17:17 +00:00
Michael Klishin cdbd5605c4
Merge branch 'stable' into rabbitmq-server-1040 2016-11-29 15:12:28 +03:00
Alexey Lebedeff 0108d509a7 Support multiple plugins directories
And provide some packaging-friendly defaults on Unix.
2016-11-23 17:26:39 +03:00
Daniil Fedotov 02ffdc34f2 In development environment, check for ENABLED_PLUGINS_DIR for rabbitmqctl too 2016-11-07 12:03:18 +00:00
Daniil Fedotov b2b4215c71 Add escript folder to store build ctl escripts 2016-10-27 14:49:02 +01:00
Michael Klishin 1b0096a925
Merge branch 'stable'
Conflicts:
	scripts/rabbitmq-env
2016-09-12 21:07:28 +03:00
Michael Klishin c86b6a0a1b Merge pull request #957 from rabbitmq/rabbitmq-server-956
Introduce RABBITMQ_IGNORE_SIGINT to ignore the +B VM flag
2016-09-12 21:59:42 +04:00
Michael Klishin 37cb0c826e
Ignore current value of RABBITMQ_IGNORE_SIGINT_FLAG 2016-09-12 20:40:08 +03:00
Michael Klishin ade8bab283
Merge branch 'stable' 2016-09-12 18:50:22 +03:00
Daniil Fedotov 401da163fd Boolean flag to enable/disable +B VM option 2016-09-12 14:44:23 +01:00
Daniil Fedotov 9b60b46d10 ENV variable to override +B VM option 2016-09-12 14:27:26 +01:00
Michael Klishin ca075f59ec
Make VM distribution buffer size easier to configure, bump default to 32MB
Fixes #908.
2016-09-12 12:48:37 +03:00
Diana Corbacho dcd7de3220 Merge branch 'stable' 2016-07-29 10:35:31 +01:00
Michael Klishin eec000708b
Bump default VM atom table size to 5M
See #895 for background and reasoning.

Fixes #895.
2016-07-28 15:38:48 +03:00
Alexey Lebedeff db33a5669e Merge local `node_health_check` into `master` 2016-07-14 15:46:08 +03:00
Karl Nilsson b36f790445 use the default_bind bind type 2016-07-14 12:35:03 +01:00
Karl Nilsson c93d5366e9 Set scheduler bindings in rabbitmq-env.bat for windows
rename SCHEDULING to SCHEDULER in line with erlang documentation
2016-07-14 11:19:17 +01:00
Diana Corbacho 179873dc29 Renaming 2016-07-13 11:03:50 +01:00
Diana Corbacho d956c5cb97 Tune scheduling bind flags for Erlang VM 2016-07-04 15:31:11 +01:00
Michael Klishin dbff4cb5ef Merge branch 'stable' 2016-05-21 20:06:59 +03:00
Alexey Lebedeff 4dd4fd61f4 Allow caching HiPE-compilation results
That way HiPE compilation can be performed during package installation
and will not waste time during every startup.

rabbit_hipe is refactored to support both modes of compilation - during
every server startup or separately with caching in the filesystem.
2016-05-20 17:39:28 +03:00
Michael Klishin 869f06811a Merge branch 'stable' 2016-04-05 10:33:18 -07:00
Daniil Fedotov 811b0d9772 Override CONF_ENV_FILE with RABBITMQ_CONF_ENV_FILE 2016-04-05 14:26:40 +01:00
Daniil Fedotov a0f01adceb rename env variable CONFIG_ADVANCED to ADVANCED_CONFIG_FILE 2016-03-17 09:32:14 +00:00
Daniil Fedotov 32b59f8811 Env variable for schema dir 2016-03-10 14:16:12 +00:00
Daniil Fedotov d937467ee0 Config location logging 2016-02-22 11:15:40 +00:00
Daniil Fedotov 7104595588 Support for plugin schemas 2016-02-17 11:11:57 +00:00
Michael Klishin 113bc016ac Merge branch 'master' into rabbitmq-server-550 2016-02-16 10:29:26 +03:00
Chris Bandy dc970adcd9 Use basic regular expressions for sed portability 2016-02-15 22:43:09 -08:00
Chris Bandy 1d3093798e Use basic regular expressions for sed portability 2016-02-09 13:30:39 -06:00
Daniil Fedotov 731019a2b1 Merge branch 'master' into rabbitmq-server-550 2016-02-03 14:50:44 +00:00
Daniil Fedotov 309ca6dc46 Starting node with generated config 2016-02-02 10:59:56 +00:00
Michael Klishin 04484fd92b Merge branch 'stable' 2016-02-01 01:22:33 +03:00
Michael Klishin 0aced26f96 Use -r with sed on Linux, fixes #592
We previously did the same change in #273 (PR: #275),
but the file in which it was done was removed in 231e90cacf.

Note that #592 recommends using `-r` unconditionally but that option
is not recognised by sed which ships with OS X.
2016-02-01 01:08:50 +03:00