I'm having some issues with stability - mostly with bucket files and especially the large files. I want to look at all the relevant logs. Where do I find them?
That would only be the docket logs for the appwrite container
Thank you. I couldn't find anything that would indicate any instability.. other than robots trying to look for a Wordpress directory but that's all I saw that was out of the ordinary. How much concurrent requests can Appwrite handle in general?
Depends on the cores on your server it's like the worker environment variable * cores or something.
Are you using functions?
No I am not. Also I was trying to find how many cores are on my server since I forgot how I set it up but I can't seem to find it. This is all I saw.
And what issues do you mean? What's going on?
If you're on a unix machine there should be some command to check
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
microcode : 0xffffffff
cpu MHz : 2199.998
cache size : 56320 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
bogomips : 4399.99
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 79
model name : Intel(R) Xeon(R) CPU @ 2.20GHz
stepping : 0
microcode : 0xffffffff
cpu MHz : 2199.998
cache size : 56320 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
...
So 2?
So what happened is that a 1 minute video taken from an iPhone (.mov) which I believe is a 1080p 30 fps video was uploaded (100MB). It was uploaded just fine but when playing the <video> tag and by providing the <source> URL as what is taken from storage.getFileView(), most of the time it crashes the server. I was able to successfully play it once but all the other times I tried to play it ended up with the server crashing. What I'm doing now is upload the videos through WhatsApp first and then it reduces the video file to 480p and it ends up with only a 10MB file size. So far it's more stable, just not 100% but I'm not sure if it has something to do with the other bucket files. But basically images have been stable, videos aren't - especially when they are large files.
I honestly don't know much about hardware so I don't know how to interpret the data. From what I understood, it's just one? Let me try to create another VM, I think it shows the number of cores during the set up. Brb.
before you start playing the file, would you try following the logs and starting docker stats? maybe it'll tell you which contaiener is taking up all the resources
I can’t work on this tonight but I’ll give it a try tomorrow.
Recommended threads
- Files access permissions
Am I right in understanding that file access permissions have been disabled (or broken again), and that shared access can now only be organized via tokens? Or i...
- functions custom domain issues in self h...
I’m running self-hosted Appwrite (Docker) behind Traefik with Cloudflare proxy (Full/Strict). Main domain works: https://app.printa4.in Function subdomains fa...
- restore backup on another server with an...
I managed to restore DB+Volumes from a server to another one with another domain but when I try to click my project on the console, I get error "404 - Project w...