![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
WordPress: High CPU Load on Shared Hosting.
Hey guys.
I have a WordPress website wich runs on a shared hosting. During the last weeks, I didn't care much about the site. Today I noticed, that it runs super slow. "Resource Usage" in Cpanel shows a CPU Load 90%+ for about a month. I contacted the support and they told me, that a plugin or theme causes the problem. I haven't touched the theme in months, same a plugins. Nevertheless, I deactivated all plugins. The problem is still present. Is anybody able to track the root of the evil? Theme and plugins are all updated. The size was once pretty fast. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2005
Posts: 17,230
|
Traffic is the same? Try to install some cache plugin, it might help a bit.
I host some of my lower traffic WP sites on many shared hosting accounts with various hosts, RAM usually isn't an issue but CPU is, it's quite limited on (cheap) shared hosting accounts and you can hit the limit with just a few concurrent visitors. If that site makes you money, sometimes it's better to just move it to a VPS or cloud. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
Traffic is low as ever.
I already have a caching plugin and always had. Thr problem appeared one month ago all of a sudden. Google Web Vitals says my site loads slow on mobile, but fast on desktop. On my android the site is super slow using Chrome. With Brave browser, every page loads within milliseconds. Strange stuff.... |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,678
|
Do you have the admin restricted to only permit your IP? There is a good chance you are being hammered by a brute force attack and don't realize it.
Or maybe your VPS just sucks. I have Wordpress sites running with crons on a $4 VPS and it works fine. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Confirmed User
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
|
Quote:
If that's the case... Could it be that the Brave browser blocks some sort of javascript code on your website (and Chrome probably doesn't block it), explaining the difference in loading time? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
Yepp, Brave loads a little less than Chrome I believe. Beside that, I have no ads on my site. At least no banners. Only a few text links here and there.
But: Gtmetrix gives me a straight A. Load time unter 1 second. Pingdom gives me a straight A. Same results. Only PageSpeed Insights says my site sucks on mobile. So I have two problems: Bad rating for usability/speed by Google and a high Server CPU Load. If anybody is up for a test: https://assgifs.com No worries... No pop ads, redirects or whatsoever. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Quote:
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2005
Posts: 17,230
|
Loads fast on both desktop and mobile here.
EDIT: I tried to go thru more pages/posts and it seems the site gets bogged down randomly. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
That's what I see from time to time in my Cpanel.
CPU peaks and errors as well as RAM usage. There must be something causing this... But what? https://imgur.com/a/wTjvCPM
__________________
I know, my english is bad. But your german might be even worse ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
|
Your site loads pretty fast here on iPhone, both in Chrome and Safari.
Can't you make a zip backup of your website and upload it on a cheap $5 VPS on Vultr to run some tests... Find out if the issue is still there. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Feb 2005
Posts: 17,230
|
You can try to ask support if they can find out something but I guess they will come with classic response like "the server is working fine, you need to optimize your website", "consult your web developer" etc. From my experiece random slowness is quite common on shared hosting, sometimes the best/easiest solution is moving the site elsewhere.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
Yeah, support is pretty basic. Check your theme... Check your plugins.
I am not an IT expert, nor I know much about servers, but even on a shared hosting support should be able to tell me, what's is slowing down the server. I only want to hear "it's this plugin". I don't want to hear why it is this slowing it down exactly. I only want to know, what is causing the problems. This should be covered by basic support in my opinion. All my sites never had any problems. They alway were fast. Take a look at the Screenshot. You can see that around 6th April something happened. https://imgur.com/a/ftdx9t3 Btw: site is hosted on hawkhost. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
Looks like some plugin try turning off 1 plugin at a time and see if you can find the problem that way.
__________________
Need WebHosting ? Email me for some great deals [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Industry Role:
Join Date: Aug 2013
Posts: 1,470
|
This may or may not be the problem, but in essence, shared hosting is sharing the hardware and server resources of your server with other sites. If another site on the same node has a spike in traffic, you might see slowness occasionally. Most hosts oversubscribe shared servers significantly, so this might explain why it was faster in the past - the node you're on is simply getting closer to full. That doesn't explain why it loads fast on Brave and not Chrome, but I'm assuming the situation is a combination of factors.
__________________
![]() MojoHost.COM | natalie at mojohost dot com | Skype natalie.ac | Telegram @znatalie. Since 1999: 70 Adult Industry awards for Best Hosting Company and professional excellence. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
GFY and your feelings.
Industry Role:
Join Date: Sep 2001
Location: On the farm.
Posts: 2,117
|
Quote:
Why it only happens with some browsers and not others sorta points me to the theme. But then, It started happening out of the blue. For all you know, that server could have been close to the top already and now someone else is using more resources than before. In turn, causing some browsers not to be happy anymore. Just as a test, try using another theme and see if things change. Or, get a VPS and be done with it. Either way, to figure this out will take some effort on your part. There is no magic fix. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Is your site fairly image-heavy? Try clearing the cache on both Brave and Chrome and then compare them.
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Registered User
Industry Role:
Join Date: Aug 2003
Location: QWEBEC Corporate Office
Posts: 7,124
|
I have to agree with Nathalie on this one too.
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Just Doing My Own Thing
Industry Role:
Join Date: Jan 2011
Location: London, Spain, New Zealand, GFY - Not Croydon...
Posts: 25,035
|
Very fast loading pages here on Chrome - VERY - That is your cashing plugin at work I assume - If I do a search, very slow (15 seconds!) - Because no cache on search result page...
I wonder if it the caching plugin that is causing the issue - If it is running too often with a lot of content/pages being generated it might explain the CPU use stats you are seeing - Maybe fiddle with it's settings.....
__________________
- Chaturbate Script - https://gfy.com/fucking-around-and-b...er-issues.html - Now supports White Labels |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Industry Role:
Join Date: Sep 2014
Posts: 237
|
What I would do is turn off each plugin one by one and check to see which one could be causing the issue, most of the time when I have problems like that, it's a plugin sometimes two plugins don't work well together or it could need updated.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Nov 2019
Location: Online
Posts: 354
|
Was having similar issues but due to traffic. Even after upgrading to a business cloud package was still getting spikes in server resources. Finally fixed it and here's what I did.
- Lockdown wp-login.php in Cloudflare firewall - xmlrpc.php lockdown - Just for the hell of it I did the same with my wp-admin page - Disabled the cron jobs within Wordpress and moved them to my server Still seeing some 503 errors as hackers seem to be spoofing Cloudflare IP's but not effecting my server resources. Hope this helps ____________________ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 | |
Richest man in Babylon
Industry Role:
Join Date: Jan 2002
Location: Posts: 10,002
Posts: 5,678
|
Quote:
All of this. The moment you install Wordpress you are going to have everyone in the world trying to exploit it. Whatever real traffic you have you can figure at least twice more will be bots and brute force trying to get in. Wordpress is a magnet for trouble. Securing Wordpress can cut your CPU/resource use way down and improve the load times on the site |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Icq: 14420613
Industry Role:
Join Date: Mar 2001
Location: chicago
Posts: 15,432
|
Putting a htaccess login for admin dirs can cut down on hacking and resource usage also. I have many things locked down like that especially whmcs which hackers try to hit always
__________________
Need WebHosting ? Email me for some great deals [email protected] |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Bollocks
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,792
|
Quote:
__________________
Interserver unmanaged AMD Ryzen servers from $73.00 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
GFY and your feelings.
Industry Role:
Join Date: Sep 2001
Location: On the farm.
Posts: 2,117
|
I constantly see IP's from Amazon AWS, OVH, and a couple of other places. There is a bot that claims it's from Micosoft. In reality, it is no different than the other bots. Looking for ways to exploit.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Confirmed User
Industry Role:
Join Date: Jan 2011
Location: Somewhere in Germany
Posts: 817
|
Thank you for the suggestions folks.
Better late then never, here is a quick update: After trying many things (removing plugins, caching on/off....) suddenly my site went back to normal. Since 4 days, it's under high load again. No changes where made. Logs show nothing suspicious. Time to change the host I guess. I am moving to a VPS soon. Hopefully this will fix the site performance.
__________________
I know, my english is bad. But your german might be even worse ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
(>^_^)b
Industry Role:
Join Date: Dec 2011
Posts: 7,224
|
Quote:
But also check things like don't have too many cron jobs, or maybe your traffic is just too much for the shared host.
__________________
![]() I've referred over $1.7mil in spending this past year, you should join in. ![]() ![]() I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years.. ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
GFY and your feelings.
Industry Role:
Join Date: Sep 2001
Location: On the farm.
Posts: 2,117
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 125
|
you can do a lot to avoid wp bots on cloudflare free plan if your running on a shared plan with no ssh access
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
So Fucking Banned
Industry Role:
Join Date: Jun 2011
Location: the land of woke sleuths
Posts: 16,493
|
wordfence seems to work well with stopping the bots from bogging the site and injecting malware
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | ||
GFY and your feelings.
Industry Role:
Join Date: Sep 2001
Location: On the farm.
Posts: 2,117
|
Quote:
Quote:
Both of these and some sort of a country blocker will work well. I use all three on a network of sites and so far, so good. (I hope I didn't fuck myself without lube). |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 | |||
Confirmed User
Industry Role:
Join Date: Jun 2009
Posts: 8,785
|
Quote:
Quote:
Quote:
The thing that annoys me is, as a loyal customer why doesn't my plan get upgraded regularly? I shouldn't have the same plan I had 18 months ago. |
|||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 |
Pay It Forward
Industry Role:
Join Date: Sep 2005
Location: Yo Mama House
Posts: 76,902
|
try different isp... like at a friends or their phone or some shit.
__________________
TRUMP 2025 KEKAW!!! - Support The Laken Riley Act!!! END DACA - SUPPORT AZ HCR 2060 52R - email: brassballz-at-techie.com |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
Confirmed User
Industry Role:
Join Date: Apr 2019
Posts: 125
|
Quote:
its much better to catch the attack, exploit scenarios before the entry gate i say 90% of them are allways the same... for this cloudflare (free plan) can be really handy... also a good basic rule is to avoid wp-plugins if another job, .htaccess or web server settings can do it |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 |
Confirmed User
Industry Role:
Join Date: Aug 2021
Posts: 63
|
Optimize data regularly. Maybe you have lots of records in your data. shared server have some limitation.
Remove extra plugins install WordPress cache plugin some spam click may increase your CPU uses. Some of our sites have more than 250,000 records. And it works well and sometime CPU uses high. When spam hit our server. Use server security plugins. and wait and watch the server regularly. |
![]() |
![]() ![]() ![]() ![]() ![]() |