Creative Productions, Arrangements and Operations • Art, Technology and Amusements. Software Engineer and certified FileMaker Pro developer and full-stack web developer by day, https//www.kupietz.com
Site was crawling and wp-admin kept timing out. Cause: the PHP-FPM pool was maxed out at 40 workers, the server was out of RAM and into swap, and a mix of crawler traffic (AhrefsSiteAudit, PetalBot) plus a Wordfence scan running in wp-admin pushed the load average past 40. Restarted php8.3-fpm to clear it, and added Crawl-delay rules for AhrefsBot, AhrefsSiteAudit and PetalBot to robots.txt. Turned off the PHP-FPM slowlog (request_slowlog_timeout = 0), since tracing slow requests was adding to the load during overloads.
Found that a lot of the 404s were the editor requesting thumbnails that didn't exist: many attachments had stale metadata pointing to 150x101 thumbnails, but the files on disk were 150x150. Regenerated thumbnails and metadata for about 210 attachments (from December 2023 and nearby), with --skip-delete and backups of the old metadata. Tried an .htaccess rule to return 404s for missing uploads without invoking…
For confused first-time visitors and other people still acclimating, here is a description of these little tabs to the left, as well as some other features of the site.
Open "Expert Mode" CLI Navigation - this give you the option to switch your browser's display to an old-fashioned terminal mode where you may browse this site, view pages and images by typing text commands. Just like how we used to browse the web back in 1978!
Open Visual Settings - This gives you controls to customize the visual display of this website to your liking: turn up or down the brightness, contrast, color temperature, hue, saturation, dark mode, and earthquake. Settings are saved per browser tab, so they will be remembered for your whole visit.
Open My Eyes - Have you ever been engrossed in your work, when you suddenly realize someone is staring at your screen, watching everything you do over your shoulder? If not, this simulates the experience.
Open Help - This help popup, silly! You just clicked it! Do you not remember?
New - Draggable elements! Several elements on this website, including these tabs, this popup message, and the "Hire Mike" badge in the lower right, can be dragged around with your mouse, to avoid them blocking content. Positions are remembered per tab, so as you navigate around the site, they will stay in the same place for your whole visit.
Enjoy!
CLI Website Navigation
Are you sure you want to switch to viewing this website in the "expert mode" command-line interface?
This will switch to a terminal emulator, load this page, and allow you to browse this website and view its contents by typing text commands.
Plus there might be, y'know, some fun stuff hidden in there. Just for geeks.