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
- Help Needed: "The current user has been ...
Facing a 403 Forbidden error with the message "The current user has been blocked" while trying to log in via GitHub and Email/Password. This is happening on a ...
- Unable to signup to appwrite cloud
When attempting to create an online cloud account on appwrite.io, I get the following message : "This email address must already be in its canonical form. Pleas...
- Email address must be in its canonical f...
Hello, Recently I was trying to signup with my GitHub account with appwrite account for availing the student benifits but while trying to signup I saw such erro...