100% disk usage error while uploading new casino game entries – any fixes?
We're hosting a wiki/community for casino games - every time we add a new game, our disk usage hits 100%. Images? DB problems? How have other wiki admins/developers fixed this?
4 Answers
If loading more slots makes your disk reach 100%, then you probably have large images or wasteful database usage. Start by looking at the raw size of the images you upload. Wikis will compress your images automatically, but they don’t optimize them for you (unless you do it yourself with, say, TinyPNG or Squoosh). High-resolution images can be quite large, and if you have many, this will add up.
On the DB side, check if you persist redundant information or store untrimmed input values (e. g. excessive game descriptions or raw JSON). Delete old files and entries from your database or cache directories; many CMSs store backups.
Or, you could move to a cloud storage solution (such as AWS S3) for your images and push the DB out to a separate server. Some other wikis have been able to achieve a similar effect by doing so.
Tune your images and remove some of that data – can’t hurt, right? Or perhaps it is time to consider a bigger machine (or even going to the cloud). But don’t worry about the disks too much…
If you are hitting 100% diskspace usage when adding new casino games, chances are it is because of image bloat or database inefficiencies. First check that the images you upload aren’t too big (you should be uploading thumbnail or compressed versions). Then back up and clean out your database – it’s possible you have a bunch of old entries or orphaned data. Some wiki admins get around this by using external image hosting or compressing on the fly. Try either of these and hopefully you’ll get some more room!
The most common cause of 100% disk usage on the addition of new casino games is that someone has uploaded an unacceptably large graphic, or an excessively large video file. Make sure all the images are compressed before uploading, and use more modern image formats (such as WebP). Move images to a cloud storage service such as Google Drive or Dropbox, or a content delivery network. Ensure the database is not bloated by running a cleanup task (such as “optimize” or “prune old revisions”). For some wikis, it makes sense to move media files to hosted storage on the web. Examine the server logs to determine precisely what happens when something is uploaded. Break up wiki pages into smaller articles and categories.
100% disk usage from adding new casino game entries typically indicates images or database issues. Don’t store uncompressed images in a wiki; compress them and/or use a CDN. In the database, be sure you’re not duplicating entries or storing useless data; truncate logs and/or use a lighter-weight database engine. Other wiki developers have also implemented object storage or automatic purging of old revisions. Keep it light!