Follow

So the solution to Misskey drive being broken was to increase the proxy timeout in Nginx...
I think I might have too many files in the drive.

@opal
Yes, however that should no longer be a problem.
I have had issues with the drive taking long to load before (it wasn't timing out though), which was caused by IO, because it was Misskey itself handling the files. That went away when I moved the files to Minio and drive started loading almost instantly.
Now it surprised me because the issue was sudden. One moment the drive is loading almost instantly then a few more files later it takes so long that Nginx times out. It seems that it's the DB query taking too long.

@matrix i was asking since it might be too many inodes in a single directory listing
@matrix in what way? you dont have enough files in a single directory, or you dont believe that it impacts performance?

there is a reason that stuff like nginx caching allows you to configure number of subdirectory layers, it's because shoving a few thousand cache files into one flat directory structure does not scale at all on most filesystems

@opal
Oh yeah. Too many files per directory degrades performance. I thought you meant something else.
That's not the issue here though as Misskey just gives the links to the files when using object storage and doesn't care if they show up or not.

Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.