
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
- Web SDK chunk upload to Storage without ...
As discussed in this older thread (https://discord.com/channels/564160730845151244/1216821517749321808), the Read permission for Any needs to be enabled in orde...
- Storage getFilePreview for GIF file retu...
Used to work in 1.6.x but with 1.7.4 upgrade it seems to be broken.
- CORS errors with storage bucket
I have a javascript file in the storage bucket and I used the view endpoint in an `src` attribute of a `<script>` tag. But I am getting the `net::ERR_BLOCKED_BY...
