Lots of files in storage on server

Hi,
I have Seafile server v.7.1.2. All is working. But… it takes ~430GB space and it has ~3,400,000 files like these:
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/bfbdba999cbfa00e884ba8499ce9b1d59cb81d
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/052f08eae147eca02f7ba32ce840c8d4957fcd
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/3d33dff8d5896b5bef468f222a8ae5b082ef75
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/18ee2cadbec8fbfead4e10aa5443a33b896f83
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/6acabe8f07d762ae0ba71a449231f2f5a5f079
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/cff37e3407508ca94780070ea9ebae2bf33421
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/19b6b50b56c15e86dc58f8f83bb64312cbc769
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/75eb6d056ea74169aaa684dfb2395ee1d0914b
./seafile-data/storage/fs/ae3403bf-c6f6-4310-a76c-170080817a1c/23/f750e73f5cf77ca5f1c9ce7a10d5cc2a883947

… in storage folder. Is that big number of files normal ? Is there some way to minimize them ? or deleting them ?

Thank you.

Hello @wrkilu ,you can refer to this document to understand why there are so many objects. You can use seafile-gc to delete objects that are no longer referenced. Please refer https://manual.seafile.com/latest/administration/seafile_gc/. Also make sure to back up the storage before running the seafile-gc.

seaf-gc.sh I run every night after stopping Seafile so it won’t fix anything more.

The problem is with simple “du -sh /home/ryujin/seafile-server/” because it counts and it counts used space and I resigned after 10 minutes and still how much it takes. Also rsync I can’t imagine how long it could take when run it for the first time (fortunatelly I run it from long time ago in the night so I don’t have this problem).

So conclusion is: maybe would be good idea to think of some changes in architecture of Seafile in next releases to stop creating these millions of block files.