Comments/Ratings for a Single Item
Since I've been finding 522 errors for images generated with fen2.php in the PHP error log, I made some changes to how caching works in Cloudflare. It had been set to not cache anything with a query string. I changed this to standard, which separately caches each unique query string. Then I made some cache rules. I have five cache rules right now. These are:
- Bypass cache for Jocly
- Bypass cache for nocache in query string
- Cache PHP scripts that generate images
- Cache HTML when cvpuser cookie is absent
- Bypass cache for other PHP scripts
Since the cache rules do not mention anything about applying only one rule or about the order in which they are applied, the third rule and the last rule explicitly mention showpiece.php, fen2.php, drawdiagram.php, and marker.php.
I'm currently finishing up my Chu Shogi Applet with Assorted Tsumeshogis ...
Your link to this is returning a 404 error.
That's because I made a new one. You can find it at https://www.chessvariants.com/invention/chu-shogi-applet
The old applet has been moved to www.chessvariants.com/invention/old-chu-shogi-applet
I have now updated the URL in your earlier comment.
There seems to be an error occurring in the Game Courier Logs page printed at the top of the page:
The following is the message I get on my end:
SQLSTATE[HY000]: General error: 1021 Disk full (/var/tmp/#sql_73b_1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
This happened to me too except it's not in the Game Courier Logs.
I am looking into this. I have brought disk usage down from 99% to 90% by deleting some logs, and I have corrected some bugs that were generating lots of error reports. But 90% is still way too high, and website content does not account for nearly that much.
I have now brought disk usage down to 74% 57%. I might also delete the backup, since, for some reason, it is much larger than the public_html directory, and I don't know why it would be.
Anything I can do to help? If we're at 90% space usage, that's basically a site emergency that all Senior Editors should get on top of.
Edit: 57% is much more reasonable. So it's no longer an emergency anymore.
Mayby the backup is covering everything on the site, not just public_html?
If we're at 90% space usage
Did you miss my later comment about bringing it down to 57%? I just checked it in Webmin, and disk usage is currently at 58%. Most of the excess disk usage was due to logs getting too large and to a Wordpress plugin called zencache, which had created a huge cache for my Wordpress blog. I cleared its cache and uninstalled this plugin, which cleared up a lot of space.
that's basically a site emergency that all Senior Editors should get on top of.
What editors can do is delete revisions from time to time. Revisions is the largest table in the database, because it has so much duplication. But it's still under half a gigabyte, which is less than 1% of available disk space.
Did you miss my later comment about bringing it down to 57%?
Yes, I missed that.
As for the backup, maybe that is backing up more than the public_html folder?
12 comments displayed
Permalink to the exact comments currently displayed.
I have decided to end my break from inventing Chess Variants and try to be more involved as an Editor. I probably won't be as prolific though.
I have decided not to make the stand-alone Chu Shogi App I said I would make in the previous comment, since the Chu Shogi Appliet I made already fills the role I intended it to fill quite nicely. However, I have released the SVGs I made for such an app in a graphics.dir page page.
To the other Editors: Speaking of which, the graphics.dir index page could be improved, but more on that later.