Hello, I've a problem with the disk space used by xenforo.
Internal_data folder is 12GB. Can this be a normal size for a forum with 900'000 messages?
We can't change server/upgrade disk space, so I have to try to limit the size of this folder. Any idea?
That folder stores things like attachments, the image proxy cache, etc. So it can be quite large. If you want to limit it, you'd need to look at reducing the use of the mentioned things.
That folder stores things like attachments, the image proxy cache, etc. So it can be quite large. If you want to limit it, you'd need to look at reducing the use of the mentioned things.
Thanks for the quick reply. In the attachment folder, how often is it created a new folder? To understand how quickly is it growing, 300MB/folder is apparently huge.
Image proxy cache: not sure about it, it's just "server side cache", right? "Image cache lifetime" is 7 days, "Image cache refresh" is 0, I think that it's accatable and changing "Image cache lifetime" to 3-4 will not reduce the internal_data size of something considerable, right?
Is there any way to move that folder to another disk?
300MB per folder doesn't seem huge. They will generally hold up to 1000 files, so that'd roughly come out to 300KB per file, which seems very possible for attachments/image proxy (given that some could be larger).
You can move the files to a different location by changing the internalDataPath configuration option: https://xenforo.com/help/config-php-options/ (Alternatively, you could just turn internal_data into a symlink.)