Calgarypuck Forums - The Unofficial Calgary Flames Fan Community

Go Back   Calgarypuck Forums - The Unofficial Calgary Flames Fan Community > Miscellaneous > Help/Suggestions
Register Forum Rules FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 10-28-2015, 07:50 PM   #1
sureLoss
Some kinda newsbreaker!
 
sureLoss's Avatar
 
Join Date: May 2004
Location: Learning Phaneufs skating style
Exp:
Default Ridiculous long load times during games

Website is extremely slow during games. Getting worse every game.
sureLoss is offline   Reply With Quote
The Following User Says Thank You to sureLoss For This Useful Post:
Old 10-28-2015, 07:54 PM   #2
Jbo
NOT a cool kid
 
Jbo's Avatar
 
Join Date: Sep 2009
Location: Calgary
Exp:
Default

Agreed. Snails pace.
Jbo is offline   Reply With Quote
Old 10-28-2015, 09:50 PM   #3
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

I wasn't around to take a look at things but Vox says that something was using up 100% of the database server for a while which is unusual.

I have a couple of new VMs almost ready to host the site but just haven't had any spare time to finish the setup and do some testing... it should alleviate things quite a bit. If anyone knows someone trustworthy who would volunteer their time to help out with finishing setting up the new servers and migrating over let me know. Not sure how to vet someone though, considering there's a lot of personal information in the database.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 10-30-2015, 03:04 PM   #4
sworkhard
First Line Centre
 
sworkhard's Avatar
 
Join Date: Oct 2009
Exp:
Default

Quote:
Originally Posted by photon View Post
I wasn't around to take a look at things but Vox says that something was using up 100% of the database server for a while which is unusual.

I have a couple of new VMs almost ready to host the site but just haven't had any spare time to finish the setup and do some testing... it should alleviate things quite a bit. If anyone knows someone trustworthy who would volunteer their time to help out with finishing setting up the new servers and migrating over let me know. Not sure how to vet someone though, considering there's a lot of personal information in the database.
Sent you a PM. I can probably help you out in the second half of next week if nobody else is able to before then.
sworkhard is offline   Reply With Quote
Old 10-31-2015, 11:25 PM   #5
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Replied.

How was it tonight? There's over 1000 on after the game and it seems good.

I hopefully made Thanks a little better, and removed some more very large threads that were really old but still being viewed by search engines which drags things down.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 11-01-2015, 09:54 AM   #6
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Is there a link to finding user thanks I'm not seeing? There's a thanks search that's running that's eating up a lot of database resources, it's almost like a search engine as it seems to come and go... Man this plugin is bad.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 11-02-2015, 07:08 PM   #7
psyang
Powerplay Quarterback
 
Join Date: Jan 2010
Exp:
Default

Quote:
Originally Posted by photon View Post
Is there a link to finding user thanks I'm not seeing? There's a thanks search that's running that's eating up a lot of database resources, it's almost like a search engine as it seems to come and go... Man this plugin is bad.
I found the link to find all thanks commented out in the html. Just tried browsing to it (after I read your post above - the original wasn't me) and it works.

It's conceivable that one or more people have that link bookmarked. Might be a good idea to actually disable the link completely instead of just disabling access to the link through the ui.
psyang is online now   Reply With Quote
Old 11-02-2015, 08:12 PM   #8
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Yeah, and the search engines probably follow it too even if it is commented out. Good find, thanks!
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 12-05-2015, 07:55 PM   #9
Da_Chief
Franchise Player
 
Join Date: May 2007
Exp:
Default

Site has been super slow all day.
Da_Chief is offline   Reply With Quote
Old 12-06-2015, 05:53 PM   #10
SportsJunky
Uncle Chester
 
SportsJunky's Avatar
 
Join Date: Feb 2007
Exp:
Default

Is the recent increase in duplicate posts connected to the long load times I wonder?
SportsJunky is offline   Reply With Quote
Old 12-06-2015, 06:07 PM   #11
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Probably. There's a couple of different things going on I think. One is I used something to log incoming requests and I think a lot of the load is due to search engines.

I watched the top IP addresses making requests to the forum for a while and a number of the top IPs belong to search engines I've never heard of nor care about. Yandex or Omgili or ahrefs.

I added a few of those to the robots.txt to hopefully stop them from indexing the site, search engine bots have a different pattern of usage, they dig up really old threads and stuff, so it really impacts the site much more than a typical user who usually stays in the current threads.

I also noticed a lot of activity from a couple of Netdna IP addresses, but the user agents showed regular stuff like Firefox or an iPad or whatever, and the IP addresses correlated to a number of actual users, so I wonder if it's some kind of proxy or anonymizer. Users using proxies to register is kind of suspicious and I usually deny the registration but this one is big enough with enough "legit" users I wonder if I should talk to a few of the users to find out what's going on there. I don't want to block something that's legit traffic use.

Anyway, blocked a few of the current top offending search engines so hopefully that'll improve over time, and I've seen a few lists for common search engines to block so I might expand that list at the web server level.

EDIT: Bing is pretty aggressive too

The second thing that seems to happen is every so often, on no schedule I can figure out, all the web server processes just go away... or rather the master process just stops making new ones. So things'll not respond for a while, 15-30 seconds, then it'll start again and of course there's a mini-rush which makes things slower as well, then it's all fine again. Have never been able to figure out what causes it.

EDIT: I blocked Yandex and ahrefs bots at the web server level and already am seeing a pretty decent decrease in incoming bot requests.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
The Following 3 Users Say Thank You to photon For This Useful Post:
Old 12-08-2015, 03:44 PM   #12
ResAlien
Lifetime In Suspension
 
ResAlien's Avatar
 
Join Date: Dec 2007
Exp:
Default

It's been pretty bad the last couple of days with time outs and the forum not loading at all. I'm mostly on Chrome mobile. The delays have been intermittent it seems, no real rhyme or reason.
ResAlien is offline   Reply With Quote
Old 12-09-2015, 07:56 PM   #13
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

I also found a weird thing in the logs and it may have been related to some logging that was installed but wasn't working, I've removed that. Just making a note here to remind myself to check the logs after a few days to see if it's resolved what I was seeing.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 12-09-2015, 08:11 PM   #14
Minnie
Franchise Player
 
Minnie's Avatar
 
Join Date: Dec 2012
Location: On your last nerve...:D
Exp:
Default

Quote:
Originally Posted by ResAlien View Post
It's been pretty bad the last couple of days with time outs and the forum not loading at all. I'm mostly on Chrome mobile. The delays have been intermittent it seems, no real rhyme or reason.
Also having these issues for days now. Doesn't seem to matter which browser or device I'm on.
Minnie is offline   Reply With Quote
The Following User Says Thank You to Minnie For This Useful Post:
Old 12-10-2015, 11:18 AM   #15
Joborule
Franchise Player
 
Joborule's Avatar
 
Join Date: Jun 2006
Location: Calgary, Alberta
Exp:
Default

Ya, it's really randomized. Just occured to me now.
Joborule is offline   Reply With Quote
Old 12-10-2015, 11:58 AM   #16
sun
#1 Goaltender
 
Join Date: Aug 2011
Location: Not cheering for losses
Exp:
Default

Load times are brutal right now on a Thursday morning.

Glad to see that photon is on the case!
sun is offline   Reply With Quote
Old 12-10-2015, 01:48 PM   #17
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Yeah it just happened again for me.

Another candidate, though I'm not sure if it's a watched threads or just a plain search that's causing it, but searching might be the issue.

It might be worth a trail to turn searching off for a few days and see if that makes things substantially better or not, just to confirm that that's the cause.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 12-10-2015, 02:31 PM   #18
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

Might not be search, just happened to me again and this time I didn't see any searches in the slow query log, nothing obvious, but the database server was basically using 100% of its disk IO.
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 12-10-2015, 04:50 PM   #19
White Out 403
Franchise Player
 
White Out 403's Avatar
 
Join Date: Jan 2013
Location: Cape Breton Island
Exp:
Default

Load times are pretty bad right now
__________________
White Out 403 is offline   Reply With Quote
Old 12-10-2015, 06:25 PM   #20
V
Franchise Player
 
V's Avatar
 
Join Date: Feb 2005
Exp:
Default

Man, Bingo must be choked, he finally turns this site into a real revenue machine, and now he can't get it to run properly. He obviously pays photon too much.
V is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 08:11 AM.

Calgary Flames
2024-25




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021 | See Our Privacy Policy