3 votes

Tildes maxing out cpu use on pageload

Tags: bug

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.

11 comments

  1. [10]
    Deimos
    Link
    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...

    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.

    11 votes
    1. mat
      Link Parent
      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...

      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.

      11 votes
    2. [8]
      Parliament
      Link Parent
      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?...

      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.

      4 votes
      1. [7]
        Comment deleted by author
        Link Parent
        1. [6]
          Deimos
          Link Parent
          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?"

          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?"

          17 votes
          1. [4]
            teaearlgraycold
            Link Parent
            Then you realize you haven't set up your .vimrc on the server yet and now your Python code has mixed tabs and spaces.

            Then you realize you haven't set up your .vimrc on the server yet and now your Python code has mixed tabs and spaces.

            14 votes
            1. [2]
              Deimos
              Link Parent
              That is exactly what happened.

              That is exactly what happened.

              15 votes
            2. mat
              Link Parent
              At that point the only option is to burn the server to the ground and start again from scratch.

              At that point the only option is to burn the server to the ground and start again from scratch.

              5 votes
          2. Bear
            Link Parent
            If you ever have to say (even to yourself) "What could go wrong?" the only correct answer is "Only everything!". ;)

            If you ever have to say (even to yourself) "What could go wrong?" the only correct answer is "Only everything!". ;)

            3 votes
      2. Deimos
        Link Parent
        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.

        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.

        3 votes
  2. what
    Link
    That’s a strange issue - I’m on mobile at the moment, but maybe using the performance tools could show what’s hogging CPU?

    That’s a strange issue - I’m on mobile at the moment, but maybe using the performance tools could show what’s hogging CPU?

    2 votes