01-17-2014, 09:11 AM
|
#21
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Oh hey, I turned on the slow query log at some point in the past. 200MB of slow query log, yay.
But this is helpful, can see what queries are taking so long and what's related to them, so maybe then figure out what's the root cause (i.e. a specific thread, a specific page, etc)
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 09:36 AM
|
#22
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
I was able to reproduce at least one of the issues.
I'm going to mention the issue, but PLEASE refrain from trying it yourself just out of curiosity.
Under the search dropdown, there's an option to find all thanked posts, this query is taking a very long time to run.
I'm trying to figure out a way to either speed up the query or disable the option entirely without disabling the thanks add-in.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 09:42 AM
|
#23
|
Scoring Winger
Join Date: Jul 2008
Location: Calgary, AB
|
Quote:
Originally Posted by photon
I was able to reproduce at least one of the issues.
I'm going to mention the issue, but PLEASE refrain from trying it yourself just out of curiosity.
Under the search dropdown, there's an option to find all thanked posts, this query is taking a very long time to run.
I'm trying to figure out a way to either speed up the query or disable the option entirely without disabling the thanks add-in.
|
Vanity, thy name is . . . CP?
|
|
|
01-17-2014, 09:54 AM
|
#24
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Just trying to add an index for # of thanks to the post table so it doesn't have to table scan through 4.5 million rows every time. This will probably slow things down while it creates the index.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 09:54 AM
|
#25
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Just trying to add an index for # of thanks to the post table so it doesn't have to table scan through 4.5 million rows every time. This will probably slow things down while it creates the index.
EDIT: Now that I think about it that's a baaaad idea at this point, it'll try and create a copy of the post table.. I'd have to take the forum offline for who knows how many hours to add that index. Hm...
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 10:15 AM
|
#26
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Ok removed the thanked post search, that should get rid of one of the worst offenders.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 11:35 AM
|
#27
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Just had a few more long queries, both were for queries related to the original funny post thread and the original gear grinding thread, might have to move those threads to the moderator area for now.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 11:39 AM
|
#28
|
Franchise Player
Join Date: Mar 2007
Location: Income Tax Central
|
Quote:
Originally Posted by photon
Ok removed the thanked post search, that should get rid of one of the worst offenders.
|
Now how will I know if they love me???? Howwwww???????
__________________
The Beatings Shall Continue Until Morale Improves!
This Post Has Been Distilled for the Eradication of Seemingly Incurable Sadness.
The World Ends when you're dead. Until then, you've got more punishment in store. - Flames Fans
If you thought this season would have a happy ending, you haven't been paying attention.
|
|
|
The Following 7 Users Say Thank You to Locke For This Useful Post:
|
|
01-17-2014, 11:41 AM
|
#29
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Moved the original funny picture thread and the gear grinding thread to the moderator area, I don't know if it was users viewing them or Google indexing them.
I guess that's a good indication that we should limit the maximum thread size.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
01-17-2014, 03:27 PM
|
#30
|
Scoring Winger
Join Date: Jul 2008
Location: Calgary, AB
|
Well, the server resources look much better after Photon's changes. So, nice job Photon.
|
|
|
The Following User Says Thank You to Vox For This Useful Post:
|
|
01-17-2014, 04:10 PM
|
#31
|
In the Sin Bin
|
Quote:
Originally Posted by photon
Moved the original funny picture thread and the gear grinding thread to the moderator area, I don't know if it was users viewing them or Google indexing them.
I guess that's a good indication that we should limit the maximum thread size.
|
Does this mean we can now blame the mods every time the forum slows down, since you're the only ones that can view those threads?
|
|
|
The Following 4 Users Say Thank You to Resolute 14 For This Useful Post:
|
|
01-17-2014, 06:20 PM
|
#32
|
Franchise Player
Join Date: Jan 2010
Location: Maple Bay, B.C.
|
I don't know how often this occurs, but on another site powered by vBulletin software, we were instructed to close threads once they hit a 10,000 post total as it had an adverse effect on performance. Just throwing it out there.
|
|
|
01-17-2014, 10:58 PM
|
#33
|
Powerplay Quarterback
|
Thanks for all the hard work, photon. I know from experience, nailing down some of this stuff can be challenging sometimes.
I thought the slowdowns were just my connection, haha.
|
|
|
01-17-2014, 11:07 PM
|
#34
|
The new goggles also do nothing.
Join Date: Oct 2001
Location: Calgary
|
Yeah I've seen the 10,000 post thing on other forums too guess we'll have to keep the same kind of thing.
No worries, debugging stuff like this is something I actually enjoy quite a bit, as much as supporting other people's code sucks in some ways it's like a puzzle, my last job had a component that was the same and digging in to get a 1000% improvement on something by tweaking old (often terrible) code was always rewarding.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
|
|
|
The Following User Says Thank You to photon For This Useful Post:
|
|
01-18-2014, 08:48 AM
|
#35
|
Scoring Winger
Join Date: Jul 2008
Location: Calgary, AB
|
Quote:
Originally Posted by photon
Yeah I've seen the 10,000 post thing on other forums too guess we'll have to keep the same kind of thing.
No worries, debugging stuff like this is something I actually enjoy quite a bit, as much as supporting other people's code sucks in some ways it's like a puzzle, my last job had a component that was the same and digging in to get a 1000% improvement on something by tweaking old (often terrible) code was always rewarding.
|
Wow, then do I ever have a job for you - you would like it so much you would PAY ME to do it!
|
|
|
01-18-2014, 08:26 PM
|
#36
|
Lifetime Suspension
|
since we're trimming the fat, can you remove visitor messages? Remove features people don't use.
|
|
|
01-20-2014, 09:04 PM
|
#37
|
Lifetime Suspension
|
Forum pretty slow again right now. Is it possible the server is just slow?
|
|
|
01-20-2014, 09:33 PM
|
#38
|
Scoring Winger
Join Date: Jul 2008
Location: Calgary, AB
|
I see a huge spike on the DB a couple of minutes after 9:00, which corresponds to your post. A few ripples of high use for the next minute or two, then back down to normal. I'm guessing it was a query of some sort along the lines Photon saw last week. Average resources usage is down quite a bit after his recent changes, however.
|
|
|
The Following 3 Users Say Thank You to Vox For This Useful Post:
|
|
01-20-2014, 09:42 PM
|
#39
|
Scoring Winger
Join Date: Jul 2008
Location: Calgary, AB
|
Semi-related, but apropos of nothing, anyone want to guess where Tortorella went nuts? Servers held up better than Tortorella from what I could see. No reports of slow down!
|
|
|
The Following 3 Users Say Thank You to Vox For This Useful Post:
|
|
01-20-2014, 10:38 PM
|
#40
|
Franchise Player
Join Date: Feb 2006
Location: Calgary, AB
|
The old weather plugin used to slow page loads for me to the point that I had to block it. I was having problems with slow loading again tonight and blocked the new weather plugin and haven't had a slow down since.
__________________
Turn up the good, turn down the suck!
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -6. The time now is 01:41 AM.
|
|