A function container is started when a cloud function is created. However, when the function is removed, the container remains running.
Have you spent some time to check if this issue has been raised before?
Yes
To Reproduce
- Create a cloud function of any language
- Remove the cloud function
Expected behavior
The function container is stopped and removed
Actual Behavior
Container continues to run even after its origin function was removed.
Your Environment
~> neofetch --off
OS: Ubuntu 20.04.2 LTS x86_64
Host: KVM/QEMU (Standard PC (Q35 + ICH9, 2009) pc-q35-4.1)
Kernel: 5.4.0-65-generic
Uptime: 3 days, 18 hours, 58 mins
Packages: 632 (dpkg), 4 (snap)
Shell: fish 3.1.0
Resolution: 1024x768
Terminal: /dev/pts/0
CPU: AMD EPYC 7601 (1) @ 2.199GHz
GPU: 00:01.0 Vendor 1234 Device 1111
Memory: 1593MiB / 1987MiB
~> docker exec appwrite doctor
👩⚕️ Running Appwrite Doctor for version 0.7.0 ...
Checking for production best practices...
🟢 Hostname has a public suffix (xxxxxxxxxxxxxx)
🟢 CNAME target has a public suffix (xxxxxxxxxxxxxxx)
🟢 Using a unique secret key for encryption
🟢 App environment is set for production
🟢 Abuse protection is enabled
🟢 Console access limits are enabled
🟢 HTTPS force option is enabled
Checking connectivity...
Database............connected 👍
Queue...............connected 👍
Cache...............connected 👍
AntiVirus...........connected 👍
SMTP.............disconnected 👎
StatsD..............connected 👍
InfluxDB............connected 👍
Checking volumes...
🟢 Uploads Volume is readable
🟢 Uploads Volume is writeable
🟢 Cache Volume is readable
🟢 Cache Volume is writeable
🟢 Config Volume is readable
🟢 Config Volume is writeable
🟢 Certs Volume is readable
🟢 Certs Volume is writeable
Checking disk space usage...
🟢 Uploads Volume has 40.46GB free space (22.59% used)
🟢 Cache Volume has 40.46GB free space (22.59% used)
🟢 Config Volume has 40.46GB free space (22.59% used)
🟢 Certs Volume has 40.46GB free space (22.59% used)
You are running the latest version of Appwrite! 🥳
A function container is started when a cloud function is created. However, when the function is removed, the container remains running.
Have you spent some time to check if this issue has been raised before?
Yes
To Reproduce
Expected behavior
The function container is stopped and removed
Actual Behavior
Container continues to run even after its origin function was removed.
Your Environment
~> neofetch --off
OS: Ubuntu 20.04.2 LTS x86_64Host: KVM/QEMU (Standard PC (Q35 + ICH9, 2009) pc-q35-4.1)
Kernel: 5.4.0-65-generic
Uptime: 3 days, 18 hours, 58 mins
Packages: 632 (dpkg), 4 (snap)
Shell: fish 3.1.0
Resolution: 1024x768
Terminal: /dev/pts/0
CPU: AMD EPYC 7601 (1) @ 2.199GHz
GPU: 00:01.0 Vendor 1234 Device 1111
Memory: 1593MiB / 1987MiB
~> docker exec appwrite doctor
👩⚕️ Running Appwrite Doctor for version 0.7.0 ...
Checking for production best practices...
🟢 Hostname has a public suffix (xxxxxxxxxxxxxx)
🟢 CNAME target has a public suffix (xxxxxxxxxxxxxxx)
🟢 Using a unique secret key for encryption
🟢 App environment is set for production
🟢 Abuse protection is enabled
🟢 Console access limits are enabled
🟢 HTTPS force option is enabled
Checking connectivity...
Database............connected 👍
Queue...............connected 👍
Cache...............connected 👍
AntiVirus...........connected 👍
SMTP.............disconnected 👎
StatsD..............connected 👍
InfluxDB............connected 👍
Checking volumes...
🟢 Uploads Volume is readable
🟢 Uploads Volume is writeable
🟢 Cache Volume is readable
🟢 Cache Volume is writeable
🟢 Config Volume is readable
🟢 Config Volume is writeable
🟢 Certs Volume is readable
🟢 Certs Volume is writeable
Checking disk space usage...
🟢 Uploads Volume has 40.46GB free space (22.59% used)
🟢 Cache Volume has 40.46GB free space (22.59% used)
🟢 Config Volume has 40.46GB free space (22.59% used)
🟢 Certs Volume has 40.46GB free space (22.59% used)
You are running the latest version of Appwrite! 🥳