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

Tracking issue for apps that start using 100% CPU due to how sockets are closed by a network extension #1436

Open
Chinaski1 opened this issue Apr 9, 2021 · 10 comments

Comments

@Chinaski1
Copy link
Member

Chinaski1 commented Apr 9, 2021

The list of problematic apps:

  1. Adobe Creative Cloud
  2. Mail.app
  3. netbiosd

The issue explanation is here: https://developer.apple.com/forums/thread/681135

Since the original report we implemented a workaround that mitigates the issue, but there's still a small possibility of that happening.

Original report:

  • OS version: 11.3 Beta (20E5224a)
  • AdGuard Version: 2.5.3.955 release (CL-1.7.200)
  • Filtering method: Network extension
  • Adobe Creative Cloud version: Version 2.4.0.41 (2.4.0.41)

Original appeal

@akiltopu
Copy link

Any progress?

@sfionov
Copy link
Member

sfionov commented May 27, 2021

It is not 100% reproducable but we've been able to reproduce it and are now trying to find the reason of this behaviour (yet another Apple bug or API misusage).

@marcellosilvestri
Copy link

marcellosilvestri commented May 28, 2021

Thanks @sfionov is there any ETA? I am unable to use Adguard as of now until the issue will be fixed - unless there's any workaround? Also, do you know if this is happening only with the Mac App, or does it still happen even if I just have the Chrome plugin?

@Chinaski1
Copy link
Member Author

Hi all!

@wiredmark @akiltopu

I would like to clarify some information.
Please specify if you are using system proxy settings? (System preferences -> Network -> Advanced -> Settings)

@marcellosilvestri
Copy link

Hi @Chinaski1, nope, nothing is flagged in that screen

@sfionov
Copy link
Member

sfionov commented Jun 2, 2021

This happens because of Apple's misbehaviour, and a way network apps processes socket errors. macOS doesn't indicate read error on sockets that existed before starting AdGuard protection - only when they try to write something. That confuses apps a lot.

This is also reproducible with Apple SSH connected to non-standard port (because standard port is excluded in AdGuard).

Reported to Apple: FB9125326

@sfionov
Copy link
Member

sfionov commented Jun 2, 2021

There's no workaround right now but killing CPU-consuming process will help.

@sfionov
Copy link
Member

sfionov commented Jun 2, 2021

Also reported to Apple developer forums: https://developer.apple.com/forums/thread/681135

@Horizon531
Copy link

I've been having this issue for years and had no idea adguard was the cause.

@ameshkov
Copy link
Member

To be precise the bug is Apple's :(

Since v2.8 we implemented a workaround that should've mitigated it, but there's still a small possibility of that happening.

@ameshkov ameshkov changed the title Adobe Creative Cloud in combination with AdGuard causes 100% load on the CPU Tracking issue for apps that start using 100% CPU due to how sockets are closed by a network extension Aug 10, 2023
@ameshkov ameshkov removed the P2: High label Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants