Installed Cloudfare firewall, and website still shows it is "down"

My website was loading very slowly and it went down and up the whole of today and I suspected it is a DDoS attack.

I installed Cloudflare and bought the $20 monthly plan, changed my dns name servers and activated firewall. My dashboard shows “Good news! Cloudflare is now protecting your site”.

I tried Mysecretstore.com down? Current problems and status. and it shows my website is down.

However, on my end, my website is working but still loading slowly.

Is there anything I could do to make my website work up to speed again?

Any suspicious traffic spike on Cloudflare analytics? Is your server CPU usage high?

1 Like

Yes to both questions?

My site only receives about 100 unique visitors a day on average. So all these requests are abnormally highly

This is the reply from my hosting provider:

"Please note that shared hosting plans have a concurrent PHP process limit of 25 per cPanel account. If a site exceeds the process limit, the site will face performance issues.

Checking the logs we see that the account exceeded the process limit 465 times in the past 24 hours. You can check the logs below:

PrivateBin

Please note that all sites in your shared hosting package share the same resources. The limit is set to prevent abusive usage of resources so that one package does not hamper the performance of other packages."

With about 3000 unique visitors a month, I am unsure if getting a VPS is the solution to this problem?

For starters, try this page rule to cache the home page. That should free up your server a bit, assuming most of the traffic is aimed at the front page. Your server logs or analytics should show where the most traffic is headed.

1 Like

Ok, I applied the above response.

I started trying to browse my website, it is taking about 30 seconds to load per page.

Mysecretstore.com down? Current problems and status. still shows my website is down.

Should I wait it out, or apply more changes?

Ah, you’re on the Pro Plan. Great News! You can use APO (Automatic Platform Optimization) and forget about my page rule.

APO does intelligent caching of WordPress sites. Your /shop looks like a completely different software installation for ZenCart, so I’m not sure how well APO will avoid caching for that section. I think APO relies on WordPress headers to cache pages, so without those headers, your ZenCart /shop should be safe from improper caching.

I also suggest you create a Page Rule (make this one First). It will let Cloudflare do the redirect to ‘www’ so those hits won’t put a load on your server. The $1 just forwards the * part of the initial request as well. You can leave it off if you’d prefer.

I applied your changes and it looks like that now, correct?

That makes the redirect and the main page super fast, but the rest is dragging. Give APO a try. It’s free since you have the Pro Plan. Toggle that Rule #2 off so it doesn’t interfere with APO.

Yes the /shop went down

I am looking at installing the APO now.

/shop is going to be a huge struggle. A 25 PHP process limit is going to kill your performance. It also doesn’t bode well for the server in general if they’re being that restrictive on resources.

I took a look at the log at privatebin and it looks like almost all the overages are due to the site’s home page. Your current Page Rules should alleviate that, but it’s quite possible that the server just isn’t up to handling ZenCart.

Beyond all this, there’s nothing Cloudflare can do to speed up your site. It’s all dynamic data, and eCommerce can’t use Full Page Caching for shoppers. I really don’t think there’s a way around this without getting a better hosting plan.

Averral - is your site hosted on HostGator by any chance? I am asking because I am experiencing a similar issue with exceeding the 25 process limit on HostGator so had to turn off CloudFlare. Strange thing, when ClouldFlare is turned off, my site works just fine.

Installed cloudflare on wordpress and cloudflare is not detecting the plugin

I am hosted at resellerclub.com

Try a “Purge Cache (Everything)” from your Overview tab at dash.cloudflare.com

APO is looking for headers from the Cloudflare plugin, and the cached homepage may interfere with that. It also times out after 5 seconds, so that’s also a problem if your home page isn’t cached.

Did the Purge Cache Everything and the plugin is still not installing after I keyed in my API. It shows it is loading.

It could just be timing out because the site is so slow. Open a ticket and see if they can get it to work.

To contact Cloudflare Customer Support, login & go to https://dash.cloudflare.com/?account=support and select get more help. If you receive an automatic response that does not help you, please reply and indicate you need more help.

1 Like