By Kane on Tuesday, 03 December 2013
Posted in Technical Issues
Likes 0
Views 1.4K
Votes 0
My site recently began running slow, so I did some investigating... It turns out, two tables in my database (one easyblog, one easydiscuss) have more entries than they should.

The table "discuss_users_history" has 240k entries and
the table "easyblog_trackback" has 12.5k entries...

this is out of a total of 255k total entries.
I looked and many of the trackbacks were spammy.
I also noticed that the discuss_users_history had thousands of entries assigned to no user id and all on the same day...

Is there a vulnerability that needs addressing?
Hello Kane,

The trackbacks can be prevented if you turn off the trackbacks. Since trackbacks are not so popular these days, you should just turn off trackbacks

As for the jos_discuss_user_history , it keeps a history of user actions. You can truncate the table but it's not advisable to do so since it stores when the user earn points etc.
·
Tuesday, 03 December 2013 10:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark... will turn of trackbacks.
But doesn't 240k entries seem a bit high for a community of 500 users, perhaps 100 active?
·
Tuesday, 03 December 2013 10:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kane,

You mean the user's history? History also includes browsing, when you browse or visits a discussion, it logs it down as well
·
Tuesday, 03 December 2013 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
It is a slightly older thread but I have the same problem, 150K in the user history and 180K in the trackback table.

@Mark: I have stopped using trackbacks in the blogs and will remove the entries in the trackback table in the database, but just wanted to confirm ref your post above, do I just let the user history table in the database grow and grow or is there some automatic cut off/purge of entries available (for example the oldest month of entries after 13 months of entries have built up)?

If not it is going to be a huge table as time goes on with a lot of redundant entries.....
·
Wednesday, 09 April 2014 10:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Richard,

The user history table stores the user's points achievement history and you can discard them if you want but it's perfectly fine to keep these records as this is only displayed in the back end when you are editing a user, so you can view how they achieved their points.

As for the trackbacks, you should purge it as judging from the number of trackbacks, it's most likely spams
·
Wednesday, 09 April 2014 12:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark, yes all trackback spam and now gone, will keep the user history.
·
Wednesday, 09 April 2014 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Wednesday, 09 April 2014 23:15
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post