Newspaper theme high load

Posted in: Newspaper
Post count: 21

Hello,

I used Newspaper them until yesterday when i got email from pingdom.com that my website is down. I tried to disable all plugins, reboot my VPS and few other things, but nothing helped to reduce the load on the VPS. Then i change theme to Sahifa and everything started to work normal. How can i know what caused that high load, is Newspaper theme have any error log that i can check and try to fix the problem that caused high load, because i want to start using this theme again on my website?

Thank you

Post count: 9544

Your hosting panel should have error log for your website.

IN our case we switched to using the beta TD Composer plugin in place of Visual Composer, which really helped. Also, moving to php 5.6 from 5.4/5.5.

Post count: 1

Hi
Where can I get the TD Composer plugin please?
Brad

Post count: 9544

Note the sticky post top of the forums.

Post count: 6535

Hi


@brad08
the td-composer plugin can be downloaded following this link: https://github.com/tagDiv/td-composer/releases/latest Also make sure that your server meets theme’s requirements: https://forum.tagdiv.com/requirements-for-newspaper/ and also check if the parameters from system status have the values indicated here: https://forum.tagdiv.com/system-status-parameters-guide/

Thanks!

Post count: 21

@Andrei L.

On Hosting requirements page it says:

Dedicated server
Should handle 6000+ unique users per day

Well, dedicated server will handle min. 100k unique users per day. I used that theme on VPS with 4 core and 8 GB ram and i had 1000 users online at the same time (Google Analytic)

Btw i moved my website to another server and it works perfect again.

Thank you

Post count: 21

[17-Oct-2016 22:09:50 UTC] PHP Fatal error: Out of memory (allocated 14155776) (tried to allocate 16384 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/includes/modules/td_module_6.php on line 11
[17-Oct-2016 22:09:50 UTC] PHP Fatal error: Out of memory (allocated 16777216) (tried to allocate 135168 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/loop.php on line 35
[17-Oct-2016 22:09:50 UTC] PHP Fatal error: Out of memory (allocated 12582912) (tried to allocate 64 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/mo.php on line 276
[17-Oct-2016 22:09:52 UTC] PHP Fatal error: Out of memory (allocated 2359296) (tried to allocate 52480 bytes) in /home/unmmkqyz/public_html/wp-includes/formatting.php on line 1637
[17-Oct-2016 22:09:52 UTC] PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 5120 bytes) in /home/unmmkqyz/public_html/wp-load.php on line 81
[17-Oct-2016 22:09:52 UTC] PHP Fatal error: Out of memory (allocated 2883584) (tried to allocate 202320 bytes) in /home/unmmkqyz/public_html/wp-settings.php on line 138
[17-Oct-2016 22:09:53 UTC] PHP Fatal error: Out of memory (allocated 9961472) (tried to allocate 72 bytes) in /home/unmmkqyz/public_html/wp-includes/widgets.php on line 346
[17-Oct-2016 22:09:53 UTC] PHP Fatal error: Out of memory (allocated 14942208) (tried to allocate 167936 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/loop.php on line 35
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 5242880) (tried to allocate 24577 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/streams.php on line 201
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 10747904) (tried to allocate 40961 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/streams.php on line 201
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 4718592) (tried to allocate 196608 bytes) in /home/unmmkqyz/public_html/wp-includes/formatting.php on line 1591
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 14155776) (tried to allocate 640 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/includes/modules/td_module_6.php on line 8
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 6815744) (tried to allocate 72 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/mo.php on line 276
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 12320768) (tried to allocate 32 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/entry.php on line 76
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 12058624) (tried to allocate 72 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/mo.php on line 276
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 4718592) (tried to allocate 255200 bytes) in /home/unmmkqyz/public_html/wp-settings.php on line 143
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 5242880) (tried to allocate 248 bytes) in /home/unmmkqyz/public_html/wp-settings.php on line 138
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 9699328) (tried to allocate 7040 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/includes/wp_booster/td_menu.php on line 245
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 13369344) (tried to allocate 16384 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/mo.php on line 251
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 12582912) (tried to allocate 232 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/mo.php on line 276
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 8912896) (tried to allocate 121 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 0
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 14155776) (tried to allocate 1632 bytes) in /home/unmmkqyz/public_html/wp-includes/template.php on line 572
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 12582912) (tried to allocate 146 bytes) in /home/unmmkqyz/public_html/wp-includes/pomo/entry.php on line 76
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 3145728) (tried to allocate 196608 bytes) in /home/unmmkqyz/public_html/wp-includes/script-loader.php on line 241
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 8650752) (tried to allocate 786432 bytes) in /home/unmmkqyz/public_html/wp-content/themes/Newspaper/includes/td_config.php on line 3765
[17-Oct-2016 22:09:54 UTC] PHP Fatal error: Out of memory (allocated 4456448) (tried to allocate 25344 bytes) in /home/unmmkqyz/public_html/wp-settings.php on line 273

This is the error log that i got today, when my site go offline.

Post count: 21

This is the list of the plugins i use on that site:

AdBlock Detector
Limit Login Attempts
Optimus
Quick Adsense
Resize Image After Upload
W3 Total Cache

I have server with 2x Intel Xeon E5 2620 v3, 128 GB DDR4 RAM, 3×500 GB SSD HARDWARE RAID 5. It’s a cPanel server with Cloudlinux and Memcached installed. This server should be able to handle at least 5000 users online at the same time… I also had this problem on 2 other server that i tried last 5 days, so this is not the server related problem.

Most of the time i have more than 1000 user online and it’s working without any problems, average server load is 1.5. But sometimes i have problems when i have only 200 user online, server load goes to high and my website goes offline.

What could be causing this problem?

Post count: 6535

Hi

This issue may occur because of W3 Total Cache plugin which if is not properly configured can take a huge amount of RAM. You can try to enable only page cache from plugins options and deactivate the other options. You can also try WP Super Cache plugin and check if the issue is still there: https://forum.tagdiv.com/cache-plugin-install-and-configure/ If the issue is still there try also to increase the wp-memory limit: https://wordimpress.com/how-to-easily-increase-wordpress-and-phps-memory-limit/

Hope this helps!
Thanks!

Post count: 21

Hello Andrei,

The problem was with xmlrpc attack, not the Newspaper theme. I’m happy that it’s not theme related, because i like this theme very much 🙂

Post count: 9544

Yes; this is why we completely disable XMLRPC on our system. We had this happen a couple of times in 2012 and whacked the entire system.

we add this at bottom of .htaccess on all our sites (Apache)

<IfModule mod_alias.c>
RedirectMatch 403 /xmlrpc.php
</IfModule>

and delete this from header.php

<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />

Viewing 11 posts - 1 through 11 (of 11 total)
You must be logged in to reply to this topic.