Skip to content

Commit 15116a6

Browse files
Merge pull request #3570 from rabbitmq/lh-fix-memory_breakdown
Fix memory_breakdown for connection procs
2 parents d48ed6d + 0ee8a06 commit 15116a6

File tree

3 files changed

+69
-1
lines changed

3 files changed

+69
-1
lines changed

deps/rabbit/src/rabbit_vm.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ conn_sups() ->
231231

232232
ranch_server_sups() ->
233233
try
234-
ets:match(ranch_server, {{conns_sup, '_'}, '$1'})
234+
[Pid || {_, _, Pid} <- ranch_server:get_connections_sups()]
235235
catch
236236
%% Ranch ETS table doesn't exist yet
237237
error:badarg -> []

release-notes/3.8.24.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
## RabbitMQ 3.8.24
2+
3+
RabbitMQ `3.8.24` is a maintenance release.
4+
All users are recommended to upgrade to this release.
5+
6+
### Obtaining Packages
7+
8+
RabbitMQ releases are distributed via [GitHub](https://github.com/rabbitmq/rabbitmq-server/releases), [Cloudsmith](https://cloudsmith.io/~rabbitmq/repos/),
9+
and [PackageCloud](https://packagecloud.io/rabbitmq).
10+
11+
### Erlang/OTP Compatibility Notes
12+
13+
This release [requires Erlang 23.2](https://www.rabbitmq.com/which-erlang.html) and [supports Erlang 24](https://blog.rabbitmq.com/posts/2021/03/erlang-24-support-roadmap/).
14+
15+
[Provisioning Latest Erlang Releases](https://www.rabbitmq.com/which-erlang.html#erlang-repositories) explains
16+
what package repositories and tools can be used to provision modern Erlang versions.
17+
18+
19+
## Upgrade and Compatibility Notes
20+
21+
See the [Upgrading guide](https://www.rabbitmq.com/upgrade.html) for general documentation on upgrades and
22+
[RabbitMQ change log](https://www.rabbitmq.com/changelog.html) for release notes of other releases.
23+
24+
If upgrading from a`3.7.x` release, see [3.8.0 release notes](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.8.0)
25+
upgrade and compatibility notes first.
26+
27+
If upgrading from a `3.6.x` or older [release series](https://www.rabbitmq.com/versions.html), first upgrade
28+
to [`3.7.27`](https://github.com/rabbitmq/rabbitmq-server/releases/tag/v3.7.27) and then to this version.
29+
30+
31+
## Getting Help
32+
33+
Any questions about this release, upgrades or RabbitMQ in general are welcome on the [RabbitMQ mailing list](https://groups.google.com/forum/#!forum/rabbitmq-users)
34+
and [RabbitMQ community Slack](https://rabbitmq-slack.herokuapp.com/).
35+
36+
37+
## Changes Worth Mentioning
38+
39+
Release notes are kept under [rabbitmq-server/release-notes](https://github.com/rabbitmq/rabbitmq-server/tree/v3.8.x/release-notes).
40+
Contributors are encouraged to update them together with their changes. This helps with release automation and more
41+
consistent release schedule.
42+
43+
44+
### Core Server
45+
46+
#### Bug Fixes
47+
48+
* `rabbitmq-diagnostics memory_breakdown` failed to read memory of connection
49+
reader, writer and channel processes.
50+
51+
GitHub issue: [#3570](https://github.com/rabbitmq/rabbitmq-server/issues/3570)
52+
53+
54+
## Dependency Upgrades
55+
56+
* ...
57+
58+
59+
## Source Code Archives
60+
61+
To obtain source code of the entire distribution, please download the archive named `rabbitmq-server-3.8.24.tar.xz`
62+
instead of the source tarball produced by GitHub.
63+

release-notes/3.9.8.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ Contributors are encouraged to update them together with their changes. This hel
2525

2626
GitHub issue: [#3560](https://github.com/rabbitmq/rabbitmq-server/issues/3560)
2727

28+
* `rabbitmq-diagnostics memory_breakdown` failed to read memory of connection
29+
reader, writer and channel processes.
30+
31+
GitHub issue: [#3570](https://github.com/rabbitmq/rabbitmq-server/issues/3570)
32+
2833

2934
## Dependency Upgrades
3035

0 commit comments

Comments
 (0)