Newspaper theme increases server load

Posted in: Newspaper
Post count: 45

Hi we were using newspaper theme but forced to change to other theme as it’s using way to much of memory. When we activate newspaper theme then our server load is very high. We did all sort of debugging as well as we put MT guy to tune up our database and we find the mysql consumption was too high. Load sudden dropped once we use different

Post count: 23312

Hi,

Please check the theme’s requirements guide from here -> https://forum.tagdiv.com/requirements-for-newspaper/ and make sure if you have respected all of these.

Thanks for your understanding!

Post count: 45

We followed most of them but but still our server memory spiked to 95% or some time crashed

Post count: 9544

We used to have the spike issue and was related to
a) older version of PHP (e.g., 5x)
b) using WPBakery vs TD Composer
c) too many different modules on each page (too many queries)
d) running page counter plugin at same time as built in page counter (double overhead)
e) super complex mega menus with too many queries
f) not ‘security hardening’ the site — meaning, you need to disable stuff like XLMRPC if possible, use ‘limit login attempts’ and follow the security tutorial I did — as XMLRPC hits happen every day probing site for attack vectors and this also causes large system use. (Seriously – XMLRPC should be off unless you’re running personal blog.)

Post count: 45

Hi thr,
thanks for the response, we have everything upto date,
1) php version is 7.2
2) we were using WPBakery only
3) we have default blog mode added in our homepage and we just used few block, still it consumes too much memory
4) we default page counter
5) Simple mega menu
6) I don’t know how to do that XLMRPC

Post count: 623

I am facing same problem on our websites.

PHP Fatal error: Out of memory (allocated 67108864) (tried to allocate 36864 bytes) in /wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 1385

Running on PHP 7.2 on VPS 8GB RAM
300k-400k pageviews/day.

Post count: 9544
Post count: 4

Using now genesis, trying to change to newspaper but increases the load average to values in top higher than 100
With genesis under 3.
I have disable search and ajax search but still having the same problem.
Looking at newrelic we do have values web transactions average under 150 ms. After installing newspaper values go higher, 300 ms.
150K pageviews/day.
The higher values comes from wp_ajax_nopriv_td_ajax_block but we have let a very simple homepage.

Post count: 68

Hello simcris.

I know you are a great connoisseur of the Newspaper theme. You helped me a lot in the time of Shim and helped to solve very well the overload of my server at the time, but today my site has greatly increased the volume of simultaneous accesses and I have had the same problem that the users here of this post has been facing. I know the problem is regarding the use of TDC with the post view ajax function of the theme. But I could use the post view without the ajax function because I do not use cache plugin. It turns out that the view count does not work without ajax enabled, even though I never use cache plugin. I already tried to get this doubt with the developers of the Newspaper here in the forum, but the answer was empty. Would you have a hint of how to make cont views work without ajax since I do not use cache plugin? I know this would solve my overload problem at high peaking hits.

Thanks in advance!

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