-
First off: sorry if something like this was already asked, I searched but couldn't finde something that fit. I originally had trilium on a very small vps (1 vcore Intel Xeon E5-2650L @ 1.1 GHz, 2 GB RAM) with very good performance; it was fast and responsive. Because I needed more performance for other applications I moved to a bigger vps (4 vcores Xeon Cascadelake Processor @ 2.1 GHz, 8 GB RAM). I benchmarked both and the latter has - as expected - much better performance in all respects. The problem I have is that trilium is quite slow here. Actions like opening a subtree or switching notes takes somewhere between 0.5 and 3 seconds, most of the time over one second though. Apps beside trilium are fine. I'm not even sure if this is a trilium problem, an nginx problem or a server problem but hope someone can help me troubleshoot this. Some notes on my setup (which is the same on both vps', only the trilium version on the old vps is older): RAM usage is around 2 GB, CPU usage does not rise 15 % average, load average is between 0.6 and 0.8. Nginx config (I'm using Nginx proxy manager): According to the docker logs the requests are actually handled quickly:
This is what it looks like in my browser when I open a few subtrees and switch between notes: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
FWIW I haven't seen anything like that yet, but it's probably something outside of trilium. As visible in the trilium logs - requests are processed by trilium itself quickly. |
Beta Was this translation helpful? Give feedback.
-
Is the network same as the small vps? Maybe is not the machine speed but the network latency problem? how much ping you connect to the server? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this actually helped or if the server just "got better", since I've mainly used the desktop app and synced to the server in the meanwhile. But since I had update problems with nginx proxy manager I've since switched over to traefik. I haven't changed anything on the trilium or docker side, so it's either unrelated server changes My response times in trilium are now in a usable range (sub 1 second) so I will close this for now. Edit: I forgot I tried accessing directly without the reverse proxy before. So it's unlikely the change from nginx to traefik would have helped... |
Beta Was this translation helpful? Give feedback.
I'm not sure if this actually helped or if the server just "got better", since I've mainly used the desktop app and synced to the server in the meanwhile. But since I had update problems with nginx proxy manager I've since switched over to traefik. I haven't changed anything on the trilium or docker side, so it's either unrelated server changes
or the switch from nginx to traefik.My response times in trilium are now in a usable range (sub 1 second) so I will close this for now.
Edit: I forgot I tried accessing directly without the reverse proxy before. So it's unlikely the change from nginx to traefik would have helped...