Then an actual Linux cron job was being run on the old server every 3 hours. It would run wget on index.php with that specific GET parameter set.
If there was no response or the status was not “200 ok”, it would try again and again.
Again and again, until the machine crashed.
Blog
-
It turns out that the guy who had been contracted for the accounting software integration had modified the active theme to include an obscure and weird PHP class that syncs the available products/SKUs with the accounting software.
This was a heavy task and took about a minute to run manually and was triggered by a request to index.php, using a specific GET parameter.
-
So, it happens regularly, it is index.php, there’s no plugin doing this and the WordPress core has not been modified.
Weird, right?
-
I didn’t find anything in the list of cron jobs on that machine and WordPress did not have a plugin or a wp-cron job that indicated anything happening every 3 hours.
The guy also rambled something about our machines being seriously underprovisioned, so we allocated more memory and CPU cores for this and while it did recover quicker, it still crashed regardless of havin 16 GB of memory and 4 cores.
And it was index.php of all things that was blowing everything up every 3 hours on the hour.
-
So I started monitoring things — and yes, it the server crashed every 3 hours as exponential amounts of memory were being reserved until the machine crashes.
I had a hard time isolating the issue as it seemed to stem from index.php (which is unusual), so I did the usual thing and cleaned out some large-ish values from the wp-options table and installed memcached.
Then I contacted the guy who had done this accounting software integration, who rambled something about a cron job.
-
An issue that I ran into last week:
A business sought me out because of an issue with a #WordPress site they were running. The server got overloaded and crashed every 3 hours for half an hour at a time and it was important to get to the bottom of this.
The hints that I got were that the site had been migrated to a new server in order to isolate it and that the issue started when someone was hired to integrate certain accounting software with it. 🧵
-
In reply to .
@ppatel I hear you on that man. Getting tired of the same damn stuff every day.
-
In reply to .
@KaraLG84 @FreakyFwoof @frog67 Right now I'm using Vocalizer because I need Hebrew support, and I'm using Jaws because Outlook. Still keep NVDA around though and keep it updated. If Thunderbird gets it together I'll switch back and switch back to NVDA but I need some of the advanced Outlook stuff right now.
-
In reply to .
@alda I read this and I knew *exactly where it was going once you said "He modified the theme". God Don't do that kind of stuff for what's essentially plugin work, plus the obvious why are you doing that with index.php and some get parameters I want to boost this entire thread.
-
the eu is at war with meta over user privacy, and gruber has picked a side
-
There’s something very odd about gruber’s constant EU bashing for actually doing a good job at protecting its citizens. Meta is a privacy nightmare, the opposite of Apple, and all of the sudden now it’s cool to use their twitter clone and the EU is missing out?
-
In reply to .
@ppatel Congratulations on your retirement.
-
Twitter: I follow news and political giants, but all I see are bad people and arguments
Bluesky: I follow 10% of my old friends who were able to get out of twitter in time and sometimes it works
Threads: I follow my friends but I can’t see them through the algorithm of businesses
Mastodon: oh look a beekeeper in the Netherlands -
“Piracy can’t be stealing if paying for it isn’t owning”
This is increasingly how it feels, when streaming shows disappear for tax reasons and things you “own” digitally become inaccessible.
Thank you @Illuminatus for this quote.
-
In reply to .
@chris Yeah you definitely should.
-
Threads, Twitter, and Bluesky: Our billionaire is better than your billionaire.
Mastodon: You actually don’t need a billionaire at all.
Threads, Twitter, and Bluesky: Hold on, we have to ask our billionaire if that’s true.
-
That feeling when a tech dude simultaneously comes out against any attempt to regulate how US tech cos handle privacy, and uses the word “library” as a pejorative.
I mean… asshole jock vibes much?
-
In reply to .
@frog67 @FreakyFwoof I like this name.
-
@Tirial @stavvers Relativistic dickfarts will likely affect the launchperineum like a SpaceX superheavy test in a Texan nature reserve. Also, at relativistic speeds it’s going to compress the air in front of it so much in the first millimetre or two that it’ll induce fusion reactions between oxygen and nitrogen nuclei, never mind hydrogen (according to XKCD, who Know These Things).
Could be new underwear time!