https://github.com/matrix-org/dendrite fork for cross-compile for ARM
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
3.9 KiB

3 years ago
# Frequently Asked Questions
3 years ago
### Is Dendrite stable?
3 years ago
Mostly, although there are still bugs and missing features. If you are a confident power user and you are happy to spend some time debugging things when they go wrong, then please try out Dendrite. If you are a community, organisation or business that demands stability and uptime, then Dendrite is not for you yet - please install Synapse instead.
3 years ago
### Is Dendrite feature-complete?
3 years ago
No, although a good portion of the Matrix specification has been implemented. Mostly missing are client features - see the readme at the root of the repository for more information.
3 years ago
### Is there a migration path from Synapse to Dendrite?
3 years ago
No, not at present. There will be in the future when Dendrite reaches version 1.0.
3 years ago
### Should I run a monolith or a polylith deployment?
Monolith deployments are always preferred where possible, and at this time, are far better tested than polylith deployments are. The only reason to consider a polylith deployment is if you wish to run different Dendrite components on separate physical machines.
3 years ago
### I've installed Dendrite but federation isn't working
3 years ago
Check the [Federation Tester](https://federationtester.matrix.org). You need at least:
* A valid DNS name
* A valid TLS certificate for that DNS name
* Either DNS SRV records or well-known files
3 years ago
### Does Dendrite work with my favourite client?
3 years ago
It should do, although we are aware of some minor issues:
* **Element Android**: registration does not work, but logging in with an existing account does
* **Hydrogen**: occasionally sync can fail due to gaps in the `since` parameter, but clearing the cache fixes this
3 years ago
### Does Dendrite support push notifications?
3 years ago
No, not yet. This is a planned feature.
3 years ago
### Does Dendrite support application services/bridges?
3 years ago
Possibly - Dendrite does have some application service support but it is not well tested. Please let us know by raising a GitHub issue if you try it and run into problems.
3 years ago
### Is it possible to prevent communication with the outside world?
3 years ago
Yes, you can do this by disabling federation - set `disable_federation` to `true` in the `global` section of the Dendrite configuration file.
3 years ago
### Should I use PostgreSQL or SQLite for my databases?
3 years ago
Please use PostgreSQL wherever possible, especially if you are planning to run a homeserver that caters to more than a couple of users.
3 years ago
### Dendrite is using a lot of CPU
3 years ago
Generally speaking, you should expect to see some CPU spikes, particularly if you are joining or participating in large rooms. However, constant/sustained high CPU usage is not expected - if you are experiencing that, please join `#dendrite-dev:matrix.org` and let us know, or file a GitHub issue.
3 years ago
### Dendrite is using a lot of RAM
3 years ago
A lot of users report that Dendrite is using a lot of RAM, sometimes even gigabytes of it. This is usually due to Go's allocator behaviour, which tries to hold onto allocated memory until the operating system wants to reclaim it for something else. This can make the memory usage look significantly inflated in tools like `top`/`htop` when actually most of that memory is not really in use at all.
If you want to prevent this behaviour so that the Go runtime releases memory normally, start Dendrite using the `GODEBUG=madvdontneed=1` environment variable. It is also expected that the allocator behaviour will be changed again in Go 1.16 so that it does not hold onto memory unnecessarily in this way.
If you are running with `GODEBUG=madvdontneed=1` and still see hugely inflated memory usage then that's quite possibly a bug - please join `#dendrite-dev:matrix.org` and let us know, or file a GitHub issue.
3 years ago
### Dendrite is running out of PostgreSQL database connections
3 years ago
3 years ago
You may need to revisit the connection limit of your PostgreSQL server and/or make changes to the `max_connections` lines in your Dendrite configuration. Be aware that each Dendrite component opens its own database connections and has its own connection limit, even in monolith mode!