Theme using too many hosting resources, site getting shut down

Posted in: Newspaper
Post count: 102

I’ve been having an issue for nearly a year now with my site being taken off-line. First I thought it was crappy godaddy hosting, but after moving to host gator and siteground, I was still having issues. I have been working closely with SiteGround and we have concluded that it’s the Newspaper theme that has been causing these issues all along!

When I changed the theme over to a basic one, my site now uses three times less resources! I believe it’s possibly Visual Composer, but am not 100% about that. Is there anything that I can do to reduce the server load when using this theme or do I have to find a new theme??

Post count: 260

Maybe you need to find a better hosting provider jajaja

Whats its your server specs?

Do you follow optimization threads?

how many visitors do you have?

Your visits are organic traffic or social?

There are many factors to find whats its the problem, but for surely Newspaper isnt the problem

Post count: 7909

Hi,

The theme has some server requirements as it is specified in our documentation – https://forum.tagdiv.com/requirements-for-newspaper/ please to increase php memory and the other parameters like it is specified in this guide – https://forum.tagdiv.com/system-status-parameters-guide/ and also please follow the pagespeed optimization guide – https://forum.tagdiv.com/how-to-make-the-site-faster/
Lately the Visual Composer plugin was optimized a lot regarding the performance and security and recently we did not received any reports about this, also our theme is optimized to work with Visual Composer plugin.
You can also try to reduce the number of ajax using elements on page (mega menus, ajax pagination/load more/infinite load). Also reduce the number of blocks on your main page and enable only the plugins that you need to use.

Thanks!

Post count: 83

Hi,

I have been using SiteGround for several months after changing from LCN for my website https://godhelpusall.com and had similar issues with site loading.

After some investigation we tracked it to using SiteGround’s “supercacher” plugin and after switching to WP Supercache the problems disappeared.

SiteGround also seems to have issues with any CRON jobs which creates a lot of ‘CPU usage’ and ‘Account Executions’ so be careful with your plugins.

You can monitor this through cPanel within your SiteGround account, the panel to the left titled ‘STATS’ contains the data you need to watch.

Hope this helps

Kevin

Post count: 102

Thanks for the replies. I am on SiteGround’s “Go Geek” shared hosting plan (https://www.siteground.com/web-hosting.htm). I don’t have much stats on the server, but it’s the best that I can afford. I’m thinking of switching to Amazon AWS but would like to make sure I’ve exhausted all other options.

I have followed many optimization guides that I’ve found online as well as TagDiv’s own guides. The only thing that I haven’t done is use WP Supercache, I was using a different one. I’ve also recently signed up for MaxCDN, but that didn’t help with the resource issues either. I just now implemented Disqus as I’ve read that can help too. Oh, and I wasn’t able to use pagespeed as my sharing plugin isn’t compatible, I can disable that plugin for testing purposes.

I get anywhere from 150-300k visitors a month depending on the strength of the box office. Most come from Google searches. SiteGround says that it’s not a visitor issue for the resources though.

But really, for the most part, my site is optimized. Yet SiteGround says that it was using three times more resources on the Newspaper theme than the basic one it’s running now.

I’d like to go back to Newspaper, but doubt that WP Supercache, Disqus and pagespeed will make that much difference, will it???

Post count: 9544

The trick with visual composer is to do your site layout, try to see if Radu’s beta “shim” works with latest version of Newspaper; then disable VC. Use the custom code to in functions remove VC loading anywhere except home page, make sure you have a lot of RAM allocated to a big site (I use 768MB for mine … but I’ve got dedicated box; 256MB for smaller sites). Limit number of queries in sidebar, don’t use the fancy “related post / more from author” (I use a simple text based related post plugin which prints 5 related stories below story above author box, and then THAT is cached with the post by the plugin!).

This kind of “tuning” can help with a very complex theme like Newspaper. Obviously a simpler “lean” theme will use less resources, due to having fewer bells and whistles. Trick is to trim some of the bells, and only use couple of whistles.

At least that was my experience.

Post count: 102

Thanks, I’ll have to look into that “shim”. I have 512M allocated currently. I’m not going to do anything until Monday. I welcome any more suggestions or input until then!

Post count: 260

@ned4spd8874 How many traffic do you have?

You can try banahosting on shared hosting BANA-PROFESIONALDELUXE only 7 usd/month . You can get more than 20K visits per day whit this plan and newspaper run like a charm.

Post count: 9544

….

(oops … ignore me … here … )

  • This reply was modified 10 years by simchris.
Post count: 102

Wish me luck, I’ve optimized as much as I can and have re-activated the theme today.

I’m not able to use pagespeed though, seems my plugins aren’t compatible. I started disabling them to see if I can get it enabled, but after about six I gave up.

Post count: 22421

Hello,
If you are referring to speedbooster, that compatibility issue can be disabled if you want by removing this code from the plugin files: http://screencast.com/t/RZLIOPUNdqh
Now the plugin should work with every other plugin you might use.
Thanks.

Post count: 102

Thanks, that seems to work! Any side effects that I should know about? So far everything seems fine with that removed.

Post count: 22421

Hi,
We do not know of any side-effects to this method. We have encountered no issues with removing that code. Now it simply depends on the plugins you use. If everything works as expected at the moment, then you should simply check your site carefully when installing a new plugin to see if there is no compatibility issue.
Thank you!

Post count: 102

Well, seems I spoke too soon. Looking at the stats tonight, I’m getting into the red zone. I get the most visitors Friday and Saturday. Next weekend will definitely kill the site with Deadpool coming out. Is there anything else anyone can think of to help? It’s coming down to getting more expensive hosting (which I cannot afford) or finding a better, less resource intensive theme.

Post count: 260

@ned4spd8874
how many visitors do you have per day?
Your visits are organic traffic or social?

Post count: 102

Today I have just under 3000 and I’m at 35613/40000 Account Executions according to cPanel. Next week I expect near 10,000 on both Friday and Saturday!

Most visitors come via search engines.

Post count: 260

@ned4spd8874

Thats my traffic only in one site (i have 5)
http://www.awesomescreenshot.com/image/972786/828e6717e140cf259f6509340b964bf1

Im hosted on Banahosting semi dedicated 25Usd /month and works like a charm
http://www.awesomescreenshot.com/image/972792/1aef638ce61a8cd37898f7020764bd90

If your visits are organic (search engines) you should dont have problems because its gradual traffic. And im very sure in BANA-CORPORATE DELUXE you can manage more than 10K visits per day in one site whitout problem 😛 .

Perhaps you have just been unlucky and chose bad hostings 🙂

  • This reply was modified 10 years by Ing Geek.
Post count: 102

Thanks, but I’m not sure I would trust them. Looking at various reviews and stats about them, I’m not sold. I wouldn’t be adverse to switching hosting, but one that can accommodate my site and not cost me an arm and a leg. ~$30/month is fine, but I want it to be a highly reliable and trustworthy company.

Post count: 260

Have you try setup cloudflare free plan for your site?

Post count: 102

I’m using MaxCDN, but doesn’t seemed to have helped my stats much.

Post count: 260

Well, from my experience and point of view is something wrong with the hosting companies you hired or some plugin slows you site and uses a lot of resources. It makes no sense that many hosting resources are used only by the newspaper.

one last thing
deactivate: smartsidebar, Smooth Scroll, show post views, ajax view count, and 7 days post shorting 😛 and test if make a diference in resources usage

Post count: 102

Some of those I’ve already had deactivated and went ahead and disabled the rest. Fingers crossed!

Just looked at my stats this morning and I’m over my allotted Account Executions for a 24 hour period. Meaning that my site might be going down again soon. My hosting isn’t waiting long anymore to bring it down when I go over.

Here are screenshots of the stats:
http://screencast.com/t/WnwofpRLTt

http://screencast.com/t/kK6vHiEGw0

One other thing that I can’t understand; using yesterday as an example, 78% of my visitors came from mobile. So why is the Newspaper theme even using resources for mobile visitors? I’m using WPTouch and it’s as optimized as it can get.
http://screencast.com/t/r3swIxrJgG4I

What am I missing here, am I simply just “screwed”?

Post count: 260

ooo now i see more things 😛

Have you try deactivate plugins? There are many thing can be happend to slow your server. Maybe its incompatible some plugin whit nespaper :(.

Newspaper works whit
Visual composer
Td Speed booster
wp super cache

in your site i see some other plugins like:
jwplayer
Jetpack (this plugin really slows every wordpress site)
K-K Star raiting (newspaper has rating system on posts)
wpolling-system
GTranslate (isnt configurated in your site)
wp touch
contact form 7 (if you are using jetpack, you can use contact form from jetpack)
WP-PostRatings (newspaper has rating system on posts)
ad rotate pro
social media feather (newspaper have this)

I mean, you have a lot of plugins runing in your site and maybe the CPU and RAM isnt enogth or just arent incompatible whit newspaper theme.

Post count: 102

Problem is if I remove most of those plugins, I loose functionality.

Jwplayer: Yes, I actually have a plan to get rid of this. I’ve been phasing it out, but there are about 40 old posts that still use it.

Jetpack: Have only about 11 of it’s modules activated. Otherwise, I’d have to install more plugins.

KK Star Ratinig: Used to allow visitors to vote on how they liked the film. Newspaper can’t do this.

WPPolling System: Allows for visitors to vote on if 3D/IMAX were worth the extra cost.

GTranslate: Been on the fence if I should get rid of this or not. It is activated and working. A majority of visitors are from the U.S., but there are a surprising amount that come from other countries.

WP Touch: That’s what serves the mobile view for visitors. Not going away.

Contact Form 7: Don’t remember why I have to use this instead of the Jetpack module. There was some issue with it not working as expected.

WP-PostRatings: Allows visitors to vote on if the during/after credit scene is worth sticking around for or not. Again, Newspaper can’t do this.

Ad Rotate Pro: Serves my advertisement. Paid for it and it works well, don’t really want to get rid of it.

Social Media Feather: Adds the share buttons to the top and bottom of posts. Can’t find a way for Newspaper to do that.

Post count: 9544

Theme is responsive, WP-Touch can cause issues with sites which are already responsive and mobile ready.

Also try disabling the loading of visual composer on all pages/posts except for home page — this is also covered in my long-winded optimization post in the tutororials/DIY/best of forum section.

Ad Rotate Pro *not* an issue. We use it here and have for years.

Newspaper adds share buttons top/bottom of each post – from post settings; but not ALL sharing buttons, just the main popular ones. I use a plugin that is super lightweight “simple sharing buttons” but doesn’t do the “numbers” just the buttons. That is usually not the issue.

Jetpack can slow down site as you’re loading all those elements externally and adding to overhead.

To be honest, I suspect it’s the WP-Touch and possibly your server is setup like ours was, where traffic spikes would kill the site — in our case it was the related posts, mega-menu, and loading visual composer. Disabling those solved it for us.

Viewing 25 posts - 1 through 25 (of 27 total)
The forum ‘Newspaper’ is closed to new topics and replies.