My site seems to be...
 
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

wpForo 1.x.x [Closed] My site seems to be loading slower since the recent update.

95 Posts
5 Users
27 Reactions
9,583 Views
Posts: 1215
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 years ago

And also: 

SELECT count(*)
FROM `wp_3cy42zznwz_wpforo_posts`
WHERE `wp_3cy42zznwz_wpforo_posts`.`postid` > 33230

 

And Wpforo activites seems to be a common problem:

SELECT *
FROM wp_3cy42zznwz_wpforo_activity
WHERE `itemtype` = 'alert'
AND `userid` = 167
AND `type` NOT IN('new_like')
ORDER BY id ASC
LIMIT 100

 

Posts: 1215
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 years ago

I think i may have sorted this. There was a spike in database queries or something causing the memory to spike. Im still not sure what caused it but i think everythingis working fine now.... 

 

Any ideas? 

Posts: 1215
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 years ago

No, this hasn't worked, I am still having issues with slow queries, mainly from the likes and posts databases i think?? 

It seems as if something is sending alot of database queiries to the server causing hi CPU. 

I use most of the add ons for wpforo, could it be something wrong with one of those?

Posts: 1215
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 years ago
  1. wpForoPost->get_post_likes_count()

This is a common one, does this help at all?

2 Replies
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10616

@percysgrowroom,

I'd recommend change the wp_wpforo_likes table engine to MyISAM.

Also, I'd recommend delete all rows (truncate table) in wp_wpforo_activity table, it'll remove all bell notifications and topic/post editing logs. So It's a good idea to refresh that table. It seems it has become very large. You can backup both tables before the manipulation.

(@percysgrowroom)
Joined: 6 years ago

Noble Member
Posts: 1215

@robert Awesome, thanks Robert, do you have a guide any where on how to do this mate?

Posts: 1215
Topic starter
(@percysgrowroom)
Noble Member
Joined: 6 years ago

Ok, I found that table, what exacltey should i do when im in there mate?

Page 2 / 8