Tildes maxing out cpu use on pageload
This is a bit odd. Recently I've thought typing into tildes input boxes sometimes felt laggy but today I noticed my fan spinning up when I loaded the site (until today it's been so hot my fan was spinning all day). I checked Chrome's task manager and yes, tildes.net is using 100% cpu. If I wait 2-3 minutes, usage will drop back down to the expected 0-1% and remain there. This happens every pageload. If I load a page, wait for the cpu use to drop, then either reload that page or click an in-site link, the cpu ramps up again for 2-3 minutes.
Chrome Version 68.0.3440.106 (Official Build) (64-bit) on Debian testing, which is up to date as of midnight GMT 10/08/18. I even rebooted my machine just to be extra sure. Happens on all tildes pages. No other site that I regularly visit seems to do this.
Posted here rather than to the issue tracker for visibility, to see if this is affecting anyone else before raising an issue about it.
There haven't really been any significant javascript changes lately at all, and I'm not seeing anything like this. Can you try a different browser, or try disabling any browser extensions to see if it makes a difference? Are there any new extensions you just added recently?
It's possible that there's something strange happening like a browser extension going into an infinite loop because Tildes's content security policy blocks something it's trying to do.
No issues in FF or Opera. I tried turning off some extensions, it turned out to be the I Don't Care About Cookies extension which I've been running for years with no issues. They pushed out an update ten days ago and must have been something in that. I don't recall having an extension break a site quite like this before - some of the CSS hacking extensions break occasionally when YouTube changes their markup a bit but this is a new one.
I whitelisted tildes.net in the extension settings, problem solved. Sorry for the inconvenience - as an ex-web dev I ought to know better when it comes to chasing down bugs.
Only slightly related, but there was a 15ish minute period earlier today where the site was timing out when trying to load a page. Like early/mid-afternoon ET. Did you notice anything on your end? Seemed to be limited to just tildes - all other sites were working normally.
That was only for a minute! I made the classic mistake of "I'll just quickly edit the file directly on the server first. It's only a one-line change, what could go wrong?"
Then you realize you haven't set up your
.vimrc
on the server yet and now your Python code has mixed tabs and spaces.That is exactly what happened.
Oh my god! Thanks for the laugh.
At that point the only option is to burn the server to the ground and start again from scratch.
If you ever have to say (even to yourself) "What could go wrong?" the only correct answer is "Only everything!". ;)
Hmm, I didn't notice anything and wasn't changing anything on the site around then. I wonder if the hosting provider had some network issues or something.
That’s a strange issue - I’m on mobile at the moment, but maybe using the performance tools could show what’s hogging CPU?