Skip to content

Unable to join larger rooms #205

@lifeofguenter

Description

@lifeofguenter

It is impossible currently to join larger external rooms - after a long time there is an error.

The VM is fairly small (4 vCPU / 6GB RAM / SSD) and also located in Asia, however, neither is there any high load.

I do not run docker/containers, and I also already run unbound to help with DNS cache.

Memory usage is fairly low:

Services:
federation_mutex: 1
bad_event_ratelimiter: 0 (0 B)
roomid_spacehierarchy_cache: 3
state_mutex: 1
stateinfo_cache: 35 93 (1.0 MiB)
insert_mutex: 0

Database:
Memory buffers: 94.18 MiB
Pending write: 94.18 MiB
Table readers: 0.35 MiB
Row cache: 3.16 MiB
Shared cache: 6.45 MiB
eventid_outlierpdu cache: 1.45 MiB
eventid_pduid cache: 0.07 MiB
eventid_shorteventid cache: 2.12 MiB
servername_destination cache: 0.09 MiB
servername_override cache: 0.12 MiB
servernameevent_data cache: 0.06 MiB
shorteventid_authchain cache: 0.00 MiB
shorteventid_eventid cache: 0.17 MiB
shortstatekey_statekey cache: 1.12 MiB
statekey_shortstatekey cache: 1.21 MiB

Allocator:
allocated: 172.64 MiB
active: 180.78 MiB
mapped: 258.23 MiB
metadata: 4.52 MiB
resident: 249.62 MiB
retained: 27.77 MiB

but increased the following values just in case:

db_cache_capacity_mb = 2048.0
db_write_buffer_capacity_mb = 256.0

bottom line: expectations for joining large room (10k+) would be 100% CPU + OOM, but nothing is happening and client eventually errors out. Smaller rooms up to 1k are fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    supportQuestion or triage session; when more information is required or no action necessary.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions