Akismet continuously connects to my site and leads to 100% CPU
-
In the beginning of June I updated my site to WordPress 4.9.6 and Akismet to the release that was available at that moment. Since then, my site was very slow, would even come to a standstill and become unreachable. Out of memory errors etc.
I waited for a while to see if things would resolve itself, added some memory, tried out some other stuff, took a new update to Akismet 4.0.8. Then recently I discovered that my servers CPU was at 100% all the time. Then I saw that it had about 40 different httpd processes active.
I then looked in the apache access log, which was huge and contained numerous entries like this one, several of those per second 24/7:
a.b.c.d – – [05/Jul/2018:15:01:42 +0200] “POST /1.1/verify-key HTTP/1.1” 404 56773 “https://efghijklmnop.rest.akismet.com/1.1/verify-key” “WordPress/4.9.6 | Akismet/4.0.8”
Where a.b.c.d is my sites IP and efghijklmnop is my correct Akismet key.If I understand this correctly, Akismet is sending information to my server several times per second. Simply by closing port 80 for the outside world, my CPU would drop to normal levels ~5-10% immediately. For now, I’ve opened that port up again and disabled the Akismet pluging in WordPress, and my server is fine. CPU is fine and number of httpd processes is low.
You might think that my site was spammed with huge quantities, but it isn’t. I have not had a single spam comment since I disabled Akismet. Frankly, my site just contains some family pictures and a personal blog of mine that nobody reads, so it isn’t very interesting for spammers. As a side note: the Akismet pluging says that it has prevented over 250.000 spam entries, which I deem highly impossible.
What’s wrong here? Why is Akismet slowing my site down to a standstill?
- The topic ‘Akismet continuously connects to my site and leads to 100% CPU’ is closed to new replies.