My account been receiving continuous “resource usage warning” emails stating: “The resources that your site has used over 50% on is: cpu warning”
My website only contains a very small “index.php” file and an .htaccess file. There is nothing CPU-intensive running on the site, and there are no additional scripts, applications, or content that should be generating significant CPU usage like this. Could I please get some help on what is causing them or how to avoid it?
Please be aware that this is a community forum, so we have no more access than you do to anything on the back end, and we don’t have any access to your files.
In your Index.php is there any kind of loop that might be running away causing a CPU spike?
Also, not to be mean, but slagging off your hosting service on your site… doesn’t look good lol
edit:
Just realised you’ve linked to a download of your site on Archive.org. So I’ll take a look at that after work. But a quick glance suggests you had a LOT more than just a “very small index.php”
Hi, I don’t know if this helps but the current index.php on my site is just a static notice page with a few redirect checks and links to the Wayback Machine, there’s no infinite loops or anything of that sort.
My site did previously have MediaWiki installed, but I’ve removed it completely (including the database and everything associated with it).
I’m just super confused by the continued CPU usage warnings. Maybe something different is causing them (perhaps bots, cache issues, etc?)
This mail is to inform you that your site with the username if0_41495002 has utilised over 50% of its daily resource limits.
This limit is reset every day.
The resources that your site has used over 50% on is :
cpu warning
You can log into your cpanel with the username if0_41495002 and in here click on ‘Account Statistics’ in here there are graphs that show your daily resource usage.
The free plan is a great place to get your site online and making profit, however it does have limited resources available to it, you would need to optimize your script(s) to reduce usage, OR upgrade to a premium plan.
Premium plans have a MUCH higher resource allocation, along with the cPanel panel unlimited disk space, and much much more. For more information please visit
Once the premium hosting account has been purchased please create a support ticket asking for your free hosting account to be migrated to the premium hosting account and we will do the rest.
This mail is to inform you that your site with the username if0_41495002 has utilised over 50% of its daily resource limits.
Other Information
I have still been receiving the same CPU resource usage warning emails almost every day. I previously made a thread about this (titled “Repeated CPU Resource Usage Warning Emails”), where I explained everything and also posted the full warning email in the previous thread.
That thread has now been automatically locked, and I never even received a response to my last post. Could someone help determine what is actually causing this issue?
I’m surprised you’re still getting those emails. If you go into your dashboard and look at “resource usage” does it show a spike in CPU usage there?
Given that your home page is a static HTML page, it shouldn’t be using much, if any, CPU time… There isn’t a second domain on the same account that could be getting hits is there?
Mmm, based in the graph it looks like the emails are being triggered correctly, what’s strange is that your page has such high CPU usage if it’s a static html page. Even a basic php page shouldn’t have that high usage…
Only other thought I’ve got is of your page is actually a php page and it’s doing a LOT more than displaying that one error message, but of that were the case then you’d know and wouldn’t need to ask.
Im assuming you wrote the new index file yourself and it’s not a mediawiki page?
That shouldn’t be causing that much CPU usage. I have pages doing a lot more and never come close to the limit.
There must be something else going on here, im just not sure what. Maybe admin can shine some light on it, but it’s difficult because other than the graphs, there is little to no logging so there no way to see what’s causing the CPU usage
Thanks so much for trying to help, hopefully the owner of InfinityFree can look into what’s going on. The only thing I can think of at this point is that bots are repeatedly hitting the site, but I’m not sure if that’s actually the cause or how I would go about stopping it.
I asked the question upstream, and it turns out that there was a problem on the platform side: the counters were not successfully cleared and it was tallying up usage from the previous month with the current month.
The data has now been cleared, which cleans up the bad data in the graph. I suspect that this will also fix the email issue, but I’m not completely sure if they use the same data as the source, I’m still checking that.