Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Jim M Posted October 12 Posted October 12 19 minutes ago, marklcfc said: spiking up to 100 regularly which never happened until yesterday You would want to ask your hosting provider what changed. It may be they updated something or you’re getting too much traffic than your server can handle. If nothing was changed in the software, it shouldn’t be changing like this really as it’s the same exact queries running these.
marklcfc Posted October 12 Author Posted October 12 37 minutes ago, marklcfc said: From what I can tell so far it’s stopped the whole site being unresponsive and cpu being stuck at 100% for long periods of time I spoke too soon, everything’s collapsed again
marklcfc Posted October 12 Author Posted October 12 The longest crash yet and thats with query cache turned off
marklcfc Posted October 12 Author Posted October 12 For comparison the past two weeks this is where the processor usually is
marklcfc Posted October 12 Author Posted October 12 (edited) It's worse now with query cache off and it was already a complete mess Edited October 12 by marklcfc
Jim M Posted October 12 Posted October 12 1 hour ago, Jim M said: You would want to ask your hosting provider what changed. It may be they updated something or you’re getting too much traffic than your server can handle. If nothing was changed in the software, it shouldn’t be changing like this really as it’s the same exact queries running these.
Mick23 Posted October 13 Posted October 13 FWIW I experienced CPU spikes on my community and it turned out that I had a lot of bot traffic (looking at you, Bing) causing long-running SQL queries that would max out the allowable connections, and everything would grind to a halt. I blocked a bunch of known bots (and AI scrapers) and the issue was resolved.
marklcfc Posted October 13 Author Posted October 13 2 hours ago, Mick23 said: FWIW I experienced CPU spikes on my community and it turned out that I had a lot of bot traffic (looking at you, Bing) causing long-running SQL queries that would max out the allowable connections, and everything would grind to a halt. I blocked a bunch of known bots (and AI scrapers) and the issue was resolved. That's reminded me I had this kind of thing happening 2/3 years ago and worked out it was a specific bot which I blocked onto my robots txt but about a month ago I reverted it back to the default Invision. I've put those bots back on my custom robots.txt now, really hoping that stops this
marklcfc Posted October 13 Author Posted October 13 I've not had a problem for 2 hours since adding those back in 🤞
marklcfc Posted October 13 Author Posted October 13 I thought it was fixed but it’s started to happen again 😔😔
Jim M Posted October 13 Posted October 13 56 minutes ago, marklcfc said: I thought it was fixed but it’s started to happen again 😔😔 You'd want to check with your hosting provider of the IP addresses coming in and what they are. If it's malicious or not obeying your robots.txt, you'll want to block it at the network/server level.
marklcfc Posted October 13 Author Posted October 13 Seems to be alot coming from Tencent but don't know how to block it in robots. I've turned on this in Cloudflare to see if it helps
Jim M Posted October 13 Posted October 13 You’d want to block in CloudFlare or have your hosting provider block them on the server.
marklcfc Posted October 13 Author Posted October 13 I don't completely know how but I've tried blocking by ASN
Jim M Posted October 13 Posted October 13 You would need to contact the corresponding provider for assistance
marklcfc Posted October 13 Author Posted October 13 (edited) I've tried blocking it on cloudflare but its made no difference, just don't know what to do I'm just guessing Edited October 13 by marklcfc
Jim M Posted October 13 Posted October 13 If you don't know how to block them effectively, you would need to contact your hosting provider or CloudFlare to block them.
marklcfc Posted October 13 Author Posted October 13 42 minutes ago, Jim M said: If you don't know how to block them effectively, you would need to contact your hosting provider or CloudFlare to block them. I mean I have blocked that IP but I’m just guessing that’s the cause
Randy Calvert Posted October 14 Posted October 14 You said that you have blocked them, but the question is if it's still them accessing the site. Look at your server logs to confirm. It may not be the traffic you're blocking that is problematic for you. If you're seeing IPs that are supposed to be blocked, then obviously there would be a configuration problem.
Recommended Posts