Found another solved thread here : https://discord.com/channels/564160730845151244/1220320274982109245
As he shown i also had my redis going at 90+% CPU tho i'm on 1.5.7.
Looking at the container i think the issue is that my redis container was updated by WatchTower and made the container recreate itself. With that recreation i think appwrite send A LOT of request to redis tho all the previous data was erased because of the recreation of the redis container
A "fix" for this is to just restart all the appwrite stack (compose) and the CPU will go down.
this is 5m after the recreation
realtime is the issue i think
ID | Container Name | CPU % | MEM usage | mem% | net I/O | Storage | PID
YUP after restarting ONLY the realtime container redis is back to 1% CPU as well as the realtime container
Also since i can reproduce this state, if you want more elements i can send them (just tell me what you want and how to get it and i will do it)
If you have precise reproduction steps, it will be great and very appreciated to have a GitHub issue with the steps so the team can have a follow of it, debug and apply a fix in future releases π
The issue : https://github.com/appwrite/appwrite/issues/8464
Going to need a bit more details on that, especially server specs and the exact setup you have to recreate
also remember, it's not a flat out 90% cpu usage, this is my setup rn
would highly recommend using the default containers as defined by the compose we have, if you're adding auto updates to dependent services you might run into problems. redis:7.2.4-alpine
should be the latest one we officially support
1.5.8 is being deployed very soon which does include some caching fixes so you might want to keep an eye out for that
Currently this runs on a Ubuntu server 22.04 with 30GB of ram and 8 vCPU I'm running the stack through portainer as it's easier for me to manage.
In the compose i only changed some traefik settings to make it work with mine
And the appwrite/appwrite
, mariadb
and docker.io/redis
to latest
I also made the worker in x5
replicas but this should not be the cause
Since you told that the latest supprted was 7.2.4 i will downgrade it to see
which command shows this statistics. ?
docker stats
(is also used grep to only have appwrite containers so docker stats | grep appwrite
)
Recommended threads
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...
- Unauthorized Charge After Appwrite Pro F...
I was using Appwrite Pro credits worth $100, which were valid until November. During this period, I was exploring Appwrite's services. However, I recently notic...
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...