Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100% CPU utilization #11

Closed
dmgerman opened this issue Mar 25, 2018 · 38 comments
Closed

100% CPU utilization #11

dmgerman opened this issue Mar 25, 2018 · 38 comments

Comments

@dmgerman
Copy link

@dmgerman dmgerman commented Mar 25, 2018

Please read the CONTRIBUTING guide before submitting an issue.

Description

when visiting some sites, ghostery uses 100% CPU

chrome will report that ghostery has been killed. the web page being visited remains as-is.

Expected Behavior

use CPU for some time, then stop using it.

Actual Behavior

uses 100% CPU

Steps to Reproduce

using chrome visit:

http://fivethirtyeight.com

wait for few seconds. the cpu will go up.
look up the PID of the process using most of this CPU (e.g. use top)
Kill the pid that is using the CPU

Versions

8.1.0, using Chrome under Linux.

@christophertino
Copy link
Member

@christophertino christophertino commented Mar 26, 2018

I can reproduce this. Completely locks up Chrome when loading http://fivethirtyeight.com/.

@christophertino
Copy link
Member

@christophertino christophertino commented Mar 27, 2018

@dmgerman It looks like there's a Nielsen tracker on that page that goes into an infinite loop when blocked. If you unblock 'NetRatings SiteCensus' in Ghostery, does Chrome perform normally?

We've had issues with other trackers from Nielsen causing similar lockups.

@dmgerman
Copy link
Author

@dmgerman dmgerman commented Mar 27, 2018

@christophertino
Copy link
Member

@christophertino christophertino commented Mar 28, 2018

Ok thanks. We are working on a surrogate solution for this tracker.

@zarembsky
Copy link
Contributor

@zarembsky zarembsky commented Mar 28, 2018

The fix will be in the next (8.1.1) release.

@jimon
Copy link

@jimon jimon commented May 30, 2018

I have similar issue with 100% CPU utilization, but it is even more strange - it reproduces even if I just open chrome and look at the start page (aka no pages open).

Ghostery 8.1.2
Chrome Version 67.0.3396.62 (Official Build) (64-bit)
MacOS 10.13.4

Is there a way for me to get more details about where it hangs?

@slarty667
Copy link

@slarty667 slarty667 commented May 30, 2018

I have the same issue as @jimon - simply opening the browser and looking at the empty start page will already shoot up the processor usage to 100%. The Chrome Taskmanager says that it's only this plugin using so much CPU.

Ghostery 8.1.2
Chrome Version 67.0.3396.62 (Official Build) (64-Bit)
MacOS 10.13.4

@tliet
Copy link

@tliet tliet commented May 30, 2018

Same here, Ghostery 8.1.2 shoots up to 100%-130% CPU utilisation (via the Google Chrome Helper) with an empty browser. So, this is probably an issue in this version.

@talksinmath
Copy link

@talksinmath talksinmath commented May 30, 2018

Same problem here, Ghostery 8.1.2 and Chrome 67

@christophertino
Copy link
Member

@christophertino christophertino commented May 30, 2018

I see it too. Looks like something changed in Chrome 67. We'll dig into this today.

@jimon You can debug Ghostery at chrome://extensions/ and click the "background page" link under Ghostery.

@wilk-polarny
Copy link

@wilk-polarny wilk-polarny commented May 30, 2018

Here too with Chrome stable 67.0.3396.62 on macOS. Are you guys mining some crypto currencies, or what?

Anyways, got thousands of the following messages on the console:
background.js:formatted:4043 Uncaught (in promise) u: module 'adblocker' is disabled at Object.isReady (chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/dist/background.js:8:22748) at Object.action (chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/dist/background.js:8:22991) at Object.handleRequest (chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/dist/background.js:8:716006) at Object.dispatchMessage (chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/dist/background.js:8:715861) at o.chrome.runtime.onMessage.addListener (chrome-extension://mlomiejdfkolichcflejclcbmpeaniij/dist/background.js:8:1517791) at EventImpl.dispatchToListener (extensions::event_bindings:403:22) at Event.publicClassPrototype.(anonymous function) [as dispatchToListener] (extensions::utils:138:26) at EventImpl.dispatch_ (extensions::event_bindings:387:35) at EventImpl.dispatch (extensions::event_bindings:409:17) at Event.publicClassPrototype.(anonymous function) [as dispatch] (extensions::utils:138:26)

@jimon
Copy link

@jimon jimon commented May 30, 2018

Weirdly it seems to be fine on Windows with Chrome Version 67.0.3396.62 (Official Build) (64-bit) and 8.1.2 Ghostery.

@christophertino
Copy link
Member

@christophertino christophertino commented May 30, 2018

Yea we're not seeing it on Linux either. It seems to be specific to macOS. We're still trying to find the source.

@pinalbhatt
Copy link

@pinalbhatt pinalbhatt commented May 31, 2018

same here on mac.

@sjferwerda
Copy link

@sjferwerda sjferwerda commented May 31, 2018

Also on Mac for the last two days. Chrome 67+ beta. Ghostery 8.1.2. MAC OS 10.13.4

@mick-t
Copy link

@mick-t mick-t commented May 31, 2018

Seeing it on my OSX system. Let me know if there's anything you'd like me to test.

@dmzimmerman
Copy link

@dmzimmerman dmzimmerman commented May 31, 2018

I have also been seeing this on macOS for the last few days.

@dcharkes
Copy link

@dcharkes dcharkes commented May 31, 2018

Same here:

  • Ghostery 8.1.2
  • Chrome: Version 67.0.3396.62 (Official Build) (64-bit)
  • MacOS: 10.13.4
@isdn
Copy link

@isdn isdn commented May 31, 2018

It seems that the issue might be related to some changes in Chrome v.67 on MacOS.
We have faced it with some our local sites even without ghostery.

@christophertino
Copy link
Member

@christophertino christophertino commented May 31, 2018

I see a Chromium bug here

@seansfkelley
Copy link

@seansfkelley seansfkelley commented May 31, 2018

Same here. I disabled (though did not uninstall) all non-Ghostery extensions, then quit and reopened Chrome and confirmed that, even with no tabs open, Ghostery pegs the CPU to 100%.

  • macOS 10.13.3
  • Chrome 67.0.3396.62 (stable channel, I believe)
  • Ghostery 8.1.2

My settings are defaults, except that I (1) turned on blocking for everything with
"Block All" and (2) disabled the purple box.

@dinvlad
Copy link

@dinvlad dinvlad commented May 31, 2018

Same here, Chrome 67.0.3396.62, MacOS 10.12.6, Ghostery 8.1.2

@christophertino
Copy link
Member

@christophertino christophertino commented May 31, 2018

We have a test build going through regression now. It should be out to the Chrome store this afternoon.

@ghostwords
Copy link

@ghostwords ghostwords commented May 31, 2018

@christophertino Where can I find the code fix for this issue?

@jsignanini
Copy link
Member

@jsignanini jsignanini commented May 31, 2018

@ghostwords for us it was coming from the cliqz browser-core dependency. Unfortunately the German developers are out on national holiday today so we were forced to manually change the node dependency and make a new build with it. So you won’t see the change in the source until they push it to the code on their end and we update said dependency.

And the issue was a synchronous XMLHttpRequest call. For some reason Chrome 67 in OS X loops infinitely when you make a call like that.
See https://bugs.chromium.org/p/chromium/issues/detail?id=848210

@Jstuddard
Copy link

@Jstuddard Jstuddard commented May 31, 2018

Yup, got it to. MacAir fan has been running for a week and finally decided to look into it and it is Ghostery Extension. Looking forward to the fix. Love your program!

ghostery

@rusmaxham
Copy link

@rusmaxham rusmaxham commented May 31, 2018

Until Chrome releases a fix for the synch XMLHttpRequest issue in 67, you can work around it temporarily by downgrading to Chrome 66.

@alfiepoleon
Copy link

@alfiepoleon alfiepoleon commented Jun 1, 2018

@christophertino Can't wait for the fix, made chrome pretty much unusable for the past 3 days or so.
Chrome Version: 67.0.3396.62 (Official Build) beta (64-bit)
macOS Version: 10.13.4 (17E202)
Ghostery version: 8.1.2

screen shot 2018-06-01 at 11 42 45 am

@jsignanini
Copy link
Member

@jsignanini jsignanini commented Jun 1, 2018

Ghostery for Chrome has been updated to 8.1.3. This hotfix release should fix this extreme CPU utilization issue.

@odrotbohm
Copy link

@odrotbohm odrotbohm commented Jun 1, 2018

Just updated, CPU utilization is back to normal. Thanks for the fast turnaround time, folks! You rock! 👍

@Aziz-Ghostery
Copy link

@Aziz-Ghostery Aziz-Ghostery commented Jun 1, 2018

V 8.1.3 is up on Chrome WebStore, please download and confirm the issue is resolved.

@sjferwerda
Copy link

@sjferwerda sjferwerda commented Jun 1, 2018

@seansfkelley
Copy link

@seansfkelley seansfkelley commented Jun 1, 2018

Resolved for me as well, thanks all!

@Swivelgames
Copy link

@Swivelgames Swivelgames commented Jun 6, 2018

My MacBook Pro turned into an F/A-18E/F Super Hornet this evening. To my surprise, Activity Monitor showed Ghostery utilizing 280% of my CPU. I was running version 8.0.0.31beta, which was a bit odd.

After checking the Chrome Web Store, I noticed that the version of Ghostery that I had installed was not actually the same as the version in the Chrome Web Store. I've removed it and reinstalled Ghostery from the Chrome Web Store, but I thought this particular issue was a bit odd. Is there an alternative Beta channel that might have been live at one point but is no longer active maybe?

@jsignanini
Copy link
Member

@jsignanini jsignanini commented Jun 6, 2018

Hi @Swivelgames. If you had a beta version in Chrome, then you must have joined our "Ghostery Beta for Chrome" Google Group at some point in time, otherwise you would have not been able to install that beta "channel" version of Ghostery. Removing and reinstalling from the production store listing as you mentioned should be all that you have to do.

Thanks for using Ghostery!

@jsignanini jsignanini closed this Jun 6, 2018
@katastic
Copy link

@katastic katastic commented Apr 14, 2020

I'm still getting this issue in 2020. I'm uninstalling. Sorry.

@ltalirz
Copy link

@ltalirz ltalirz commented Aug 28, 2020

Not only 100% CPU usage, but also 2.3GB of memory in my case (according to Chrome task manager).
On Chrome 84.0.4147.125, MacOS 10.15.6, Ghostery 8.5.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet