Notifications
Clear all

wpForo 1.x.x [Closed] High CPU Usage on forum pages

9 Posts
5 Users
0 Reactions
4,160 Views
Posts: 75
 TGW
Topic starter
(@tgw)
Estimable Member
Joined: 7 years ago

https://the-great-work.org/community/main-forum/

The tab which has our forum open is using high amounts of CPU capacity (20-30%, spiking above 50%). The other pages on the website are not having any such issues, only pages running the wpforo plugins. 

The pages only use high CPU when the forum is the active tab in the browser. 

What could be causing this?

 

8 Replies
Robert
Posts: 10587
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi TGW,

First of all you should know that a simple page is just a text, the forum page is a large system based on lots of functions and database manipulations. The forum page is not just a page, it's a separate website in one page. The simple page and forum page are not compare-able things.

Please follow to these points:

1. I hope you don;t use a simple poor shared hosting service. Please leave some info.

2. Please deactivate other plugins and test it again, other plugins may affect wpForo and wpForo heavy.

3. Change the theme and test it again

4. make sure wpForo caches are enabled in Dashboard > Forums > Settings > features admin page, enable all four caches (User cache, HTML cache, Object cache, Memory cache).

5. Make sure you've disabled other cache solutions/plugins for forum page.

6. Set 10-15 topics and posts per page in Dashboard > Forums > Settings > Topics and Posts admin page.

 

 

Posts: 75
 TGW
Topic starter
(@tgw)
Estimable Member
Joined: 7 years ago
Posted by: Robert

Hi TGW,

First of all you should know that a simple page is just a text, the forum page is a large system based on lots of functions and database manipulations. The forum page is not just a page, it's a separate website in one page. The simple page and forum page are not compare-able things.

Please follow to these points:

1. I hope you don;t use a simple poor shared hosting service. Please leave some info.

2. Please deactivate other plugins and test it again, other plugins may affect wpForo and wpForo heavy.

3. Change the theme and test it again

4. make sure wpForo caches are enabled in Dashboard > Forums > Settings > features admin page, enable all four caches (User cache, HTML cache, Object cache, Memory cache).

5. Make sure you've disabled other cache solutions/plugins for forum page.

6. Set 10-15 topics and posts per page in Dashboard > Forums > Settings > Topics and Posts admin page.

 

 

1. Using Hostgator Starter wordpress plan - not shared

2. Done. Jetpack by Wordpress was pushing CPU usage up upward of 10-20%

I'm now getting numbers in the mid-teens. Which is back to acceptable, but still higher than any other pages on the net. This forum here only uses on average 5-7% so I wonder what causes the increase for me?

3. No change

4. Done

5. Done

6. Done, no change so I switched it back to a higher number

 

I wouldn't have expected it to be Jetpack causing a major issue, since I'm sure many others are using it (it comes default loaded). Any idea what caused this?

Posts: 1602
(@anonymous20)
Noble Member
Joined: 9 years ago

Since this is a rather large forum, i would guess it is a Hosting problem. HostGator (EIG c**p group) is not the best option out there (to be polite).

Also doesn't hurt to enable standard WP debug to a LOG and check for possible major or fatal errors (not warnings and notices).

 

1 Reply
(@anonymous3542)
Joined: 7 years ago

Honorable Member
Posts: 393

I'd agree with @anonymous20 about HostGator. Their service isn't that great, but if you really don't want to move, there are options to offload using a CDN. Whilst this won't work very well for the database itself, the assets could be pooled from multiple POPs around the globe.

However, if you are witnessing slowness even locally, then the CDN won't help here. I'd be performing debug by now to see what's killing your cpu. 

Posts: 393
(@anonymous3542)
Honorable Member
Joined: 7 years ago

And just in case you needed any proof around HostGator, have a look here

https://www.reddit.com/r/webhosting/comments/5zeqw5/hostgator_review_from_an_employee/

Page 1 / 2