On Tue, Jan 21, 2025 at 03:19:14PM +0000, Robie Basak wrote:
> I think it's about time that Ubuntu Developer realtime conversation
> moved from IRC to Matrix. What do you think? Can we reach a consensus on
> this topic?
1.
One thing to point out is that we need to be careful; I tried
joinining #matrix:matrix.org yesterday and the server became
unusable as the workers were busy fetching data from there
that there were no resources left to do anything else.
Some people tell me that's entirely normal and can't be
avoided, other people tell me that our server is of low
quality. I don't know what the truth is :D
The way I understand it there are worker processes and you
simply need enough cores and RAM such that they can all run;
one thing that was pointed out is that Synapse's PostgreSQL
queries are huge; and you need to tweak PostgreSQL to allow
these to be done in memory:
ALTER DATABASE synapse SET work_mem TO '512 MB';
(adjust 512 MB for size needed)
As otherwise, PostgreSQL will start using temporary files
to do the queries and slow to a crawl.
2.
Internally we need to check that the system is independent
of Canonical's internal mattermost. If it's in the same
data center and down at the same time, this affects our
ability to work :D
--
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer i speak de, en