From 0637dd17327dec326a5ec8e116e6f154f6193c67 Mon Sep 17 00:00:00 2001 From: ll-SKY-ll <140309860+ll-SKY-ll@users.noreply.github.com> Date: Thu, 9 May 2024 00:08:51 +0200 Subject: [PATCH 1/5] Update admin_faq.md debian 12 uses libjemalloc2 --- docs/usage/administration/admin_faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/usage/administration/admin_faq.md b/docs/usage/administration/admin_faq.md index 0d98f73fb19..a1184d03759 100644 --- a/docs/usage/administration/admin_faq.md +++ b/docs/usage/administration/admin_faq.md @@ -250,10 +250,10 @@ Using [libjemalloc](https://jemalloc.net) can also yield a significant improvement in overall memory use, and especially in terms of giving back RAM to the OS. To use it, the library must simply be put in the LD_PRELOAD environment variable when launching Synapse. On Debian, this -can be done by installing the `libjemalloc1` package and adding this +can be done by installing the `libjemalloc2` package and adding this line to `/etc/default/matrix-synapse`: - LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1 + LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2 This made a significant difference on Python 2.7 - it's unclear how much of an improvement it provides on Python 3.x. From 33cc72a6d0b85437c169a7ec19a37d925db45bd3 Mon Sep 17 00:00:00 2001 From: ll-SKY-ll <140309860+ll-SKY-ll@users.noreply.github.com> Date: Thu, 9 May 2024 12:04:28 +0200 Subject: [PATCH 2/5] Create 17171.doc --- changelog.d/17171.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/17171.doc diff --git a/changelog.d/17171.doc b/changelog.d/17171.doc new file mode 100644 index 00000000000..dc003145c36 --- /dev/null +++ b/changelog.d/17171.doc @@ -0,0 +1 @@ +Update the Admin FAQ with the current libjemalloc version for latest Debian stable. From 183e849c78c51a0a6b58ce32a3f994963921ce7d Mon Sep 17 00:00:00 2001 From: ll-SKY-ll <140309860+ll-SKY-ll@users.noreply.github.com> Date: Thu, 9 May 2024 12:13:31 +0200 Subject: [PATCH 3/5] Update workers.md fix typo --- docs/workers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/workers.md b/docs/workers.md index 82f4bfc1d11..6cb4416bfcb 100644 --- a/docs/workers.md +++ b/docs/workers.md @@ -535,7 +535,7 @@ the stream writer for the `presence` stream: ##### The `push_rules` stream The following endpoints should be routed directly to the worker configured as -the stream writer for the `push` stream: +the stream writer for the `push_rules` stream: ^/_matrix/client/(api/v1|r0|v3|unstable)/pushrules/ From 2342ef65957891182e62871fb17aa4f6d49a8014 Mon Sep 17 00:00:00 2001 From: ll-SKY-ll <140309860+ll-SKY-ll@users.noreply.github.com> Date: Thu, 9 May 2024 12:15:50 +0200 Subject: [PATCH 4/5] Update 17171.doc --- changelog.d/17171.doc | 1 + 1 file changed, 1 insertion(+) diff --git a/changelog.d/17171.doc b/changelog.d/17171.doc index dc003145c36..71fad63b4db 100644 --- a/changelog.d/17171.doc +++ b/changelog.d/17171.doc @@ -1 +1,2 @@ Update the Admin FAQ with the current libjemalloc version for latest Debian stable. +Update name of the "push_rules" stream in docs/workers.md From 0c24541546400aafeb35fb1996193eac2a534831 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Thu, 9 May 2024 11:48:37 +0100 Subject: [PATCH 5/5] Update changelog to add be one line and add punctuation --- changelog.d/17171.doc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/changelog.d/17171.doc b/changelog.d/17171.doc index 71fad63b4db..ef9f14ac7ea 100644 --- a/changelog.d/17171.doc +++ b/changelog.d/17171.doc @@ -1,2 +1 @@ -Update the Admin FAQ with the current libjemalloc version for latest Debian stable. -Update name of the "push_rules" stream in docs/workers.md +Update the Admin FAQ with the current libjemalloc version for latest Debian stable. Additionally update the name of the "push_rules" stream in the Workers documentation.