Hi,
I'm currently running some benchmarks of the Appwrite DB service against other DBs.
I'm noticing that Telegraf has an insane CPU usage (more than one core at full load). It also has a high I/O usage.
I'm running the docker deployment on a M1 mac. Any idea why is this happening?
Summary
Issue: The user is experiencing high CPU usage with Telegraf in their Appwrite deployment.
Possible solution: The user should provide more information about their setup, such as how they installed Appwrite and the result of the `docker stats` command. It is mentioned that Telegraf is used for usage stats and data aggregation, and there are plans to rewrite this process in the future. However, there is no specific solution provided for the high CPU usage issue.
Drake
Admin
Apr 29, 2023, 21:14
How did you install Appwrite?
42Tom
Rank 2: Process
Apr 29, 2023, 21:14
With the official docker compose file provided in the doc
Drake
Admin
Apr 29, 2023, 21:15
So not from source (GitHub repo) right?
42Tom
Rank 2: Process
Apr 29, 2023, 21:15
Nope
Drake
Admin
Apr 29, 2023, 21:18
So telegraf is used for our usage stats. Stuff gets stored there and then data is aggregated every 30 seconds by default. We're rewriting how we do all this, though so this will probably change drastically in the near future
Milukun
Rank 2: Process
May 26, 2023, 13:32
This is a new appwrite I created about 4 hours ago on my new vps server , I just created a project and then used the flutter SDK to complete the registration function for an account with 100% CPU usage and very high hard drive reads.
This has happened to my previous deployments, how should I avoid it? I am no longer able to log in, what information can I provide to you after restarting my VPS?
Drake
Admin
May 26, 2023, 15:11
Please make a new post and include info about how you installed Appwrite and the result of docker stats when the problem occurs