Cloudflare Error 504, Sitegrounds CPU usage high, Bad Bot hitting my site

#1

I need some assistance, My blog post can’t open, I keep getting error 504 from CF and i noticed my Sitegroound CPU time usage is extremely high. I think my site is being hit by bad bots and IPs.
https://www.bukasblog.com.ng/jamb-sweet-sixteen-questions.html
Kindly assist on this.

0 Likes

#2

@nwadike3 The rest of the site is running fine and quick. I’d look at the error logs for that forum.

0 Likes

#3

the only pages that work are
Homepage - https://www.bukasblog.com.ng
Category pages
Tags

Posts are not opening.

0 Likes

#4

If you didn’t make any changes to your Cloudflare settings before this started happening, it must be something on the origin server that is causing this. You should check there for error logs.

0 Likes

#5

I didnt make any changes on CF.

Although,

I noticed bots are hitting my site too frequently

Unknown robot (identified by ‘bot’ followed by a space or one of the following characters _+:,.;/-)

0 Likes

#6

Siteground is really disappointing

0 Likes

#7

I’d put the bot problem aside (for a few minutes) because if that’s the problem, your entire site should be affected not just posts. You really need to open File Manager, search & read your error_log to see what’s happening.

0 Likes

#8

Current Errors detected;

PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (This is the most frequent)

WordPress database error Deadlock found when trying to get lock

PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback

0 Likes

#9

im not a developer, I dont even know how all these problem came about or how to resolve it. I’m thnking of changing host. This is disappointing.

0 Likes

#10

I made some changes to my permalink structure some weeks ago, and i thnk this might be the cause.

i changed it from /%year%/%monthnum%/%postname%.html to www.bukasblog.com/%postname%.html

I then added a redirect rule to my htacess file to handle the redirects

Everything was fine till now.

0 Likes

#11

If everything was fine until now, I wouldn’t start making too many changes or you’ll just start digging bigger holes.

Where the logs were located and what lines and files they point to will narrow down the problem.`

**And the Firewall rules for web.bukasblog.com.ng are breaking the site and will simulate a bot attack when it isn’t.

0 Likes

#12

So what do you suggest?, btw, Thank you for all your help, I’m just so sad right now i forgot to mention it earlier.

1 Like

#13

Good News. I deactivated all plugins and my site is back again.

I have to now look for plugin that caused the issue.

1 Like

#14

My pleasure. Panick and nuclear options seem to be natural reactions for most.
Anyways… Glad it stopped but like I’ve said it the previous posts, look for error_log. There should be error_log in the affected plugin directory if not, lines in other error_log that point to it’s /wp-content folder.

As for troubleshooting, go to your Cloudflare Dashboard, disable the Firewall Rules (they’re breaking the site too) , set your site in Development Mode, Purge Everything, and begin enabling plugins one at a time until it breaks, Leave caching plugins and security plugins last.

0 Likes