Skip to content
Back

CPU is +200% when building functions

  • 0
  • 3
  • Self Hosted
28 Aug, 2026, 12:33

When building a python function on self hosted 1.9.6 version, CPU is +200% and build never complete. Server is KO. Need to stop it...

Hosted on CPX21 Hetzner: 3 VCPUs 4Gb Ram

TL;DR
The CPU usage spikes to +200% when building functions, causing timeouts and other issues. This seems to be related to the 1.9.5+ upgrade.
28 Aug, 2026, 13:57

Seems an issue with "appwrite-embedding" which consume a lot of RAM

28 Aug, 2026, 14:39

Workaround:

  • Created a docker-compose.override.yml file with this:
TypeScript
services:
  appwrite-embedding:
    image: alpine:3.22
    entrypoint: ["sleep", "infinity"]
  • Relaunch the server: docker compose up -d

Appwrite embedding is now swapped with a sleepy dummy container πŸ™‚

To restore it, just:

  • Remove the docker-compose.override.yml
  • Relaunch the server: docker compose up -d
28 Aug, 2026, 14:42

cc <@1356535431834898634>

28 Aug, 2026, 15:14

Thanks <@743532656767270934> <@1356535431834898634> for taking the issue πŸ™‚

28 Aug, 2026, 15:30

I think this can explain all user complying about 1.9.5+ upgrade functions timeout, building issues etc.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more