AdGuardMiniForMac icon indicating copy to clipboard operation
AdGuardMiniForMac copied to clipboard

High number of Idle Wake Ups (top app)

Open mailinglists35 opened this issue 8 months ago • 24 comments

Please answer the following questions for yourself before submitting an issue.

  • [x] I am running the latest version
  • [x] I made sure all content blockers are enabled in Safari settings
  • [x] I checked the documentation and found no answer
  • [x] I checked to make sure that this issue has not already been filed

AdGuard version

2.1.4

Environment

- OS: 15.7.5 (24G624)
- Safari version: Release 240 (WebKit 20625.1.10.19.3)

What filters do you have enabled?

AdGuard Base filter

Issue Details

Steps to reproduce:

  1. open Safari
  2. do nothing
  3. see high number of Idle Wake Ups in Activity Monitor

Expected Behavior

Show a low number like all other small utilities that also run in background

Actual Behavior

Top Idle Wake Ups app

Screenshots

Screenshot 1: Image

Additional Information

No response

mailinglists35 avatar Apr 02 '26 20:04 mailinglists35

Hello @mailinglists35

Thank you for bringing this to our attention I have forwarded the information to the development team for further investigation

IaroslavKhvorostenko avatar Apr 10 '26 15:04 IaroslavKhvorostenko

Hello @mailinglists35!

Please answer the question

Is the “login item” setting for AdGuard mini enabled or disabled on your device?

Image

IaroslavKhvorostenko avatar Apr 13 '26 08:04 IaroslavKhvorostenko

@IaroslavKhvorostenko I'm also experiencing this, and my login item is set to enabled.

MineGene avatar Apr 14 '26 03:04 MineGene

Hello @MineGene @mailinglists35

In order to investigate the issue we'll need AG Mini logs. Please do the following:

  1. Go to AG Mini Setting and enable Debug logging.

  2. Reproduce the problem and remember the time of reproducing.

  3. Click Export logs on the Settings tab. If you can't export the logs you can get them in ~/Library/Group Containers/TC3Q7MAJXF.com.adguard.mac/Library/Logs/com.adguard.safari.AdGuard/

  4. Send this file to [email protected]:

    • include [agmini] keyword and ISSUE_NUMBER in the subject of your email
    • specify the exact time when the issue occurred

IaroslavKhvorostenko avatar Apr 14 '26 14:04 IaroslavKhvorostenko

@IaroslavKhvorostenko understood.

It would be useful to know what a healthy rate of wake ups are.

Would you be able to provide a healthy wake up range, and what would be deemed excessive by AdGuard Mini's standards?

MineGene avatar Apr 14 '26 16:04 MineGene

Hello @MineGene

We're currently looking into this issue to get a clearer picture of what the expected numbers should be. Our goal is to reduce these values, as there are definitely too many wake-ups happening right now.

To give you an idea, anything over 150 wake-ups while in standby mode is excessive.

Providing your logs will give us valuable data and really help us sort this out much faster.

IaroslavKhvorostenko avatar Apr 15 '26 07:04 IaroslavKhvorostenko

@IaroslavKhvorostenko debug logs have been sent.

Closely monitoring the idle wake ups of all other processes on my machine, I'd even call 150 excessive in standby.

Every background process on my machine has under 10 idle wake ups, with only agmini, kernel_task, Safari, Mail, and the Activity Monitor using more as they're currently active. agmini tends to idle at a constant 77-80, which definitely should not be the case.

Below is a screenshot of my Activity Monitor showing idle wake ups ranked in descending order, with agmini being the highlighted blue process.

Image

MineGene avatar Apr 15 '26 18:04 MineGene

  • Go to AG Mini Setting and enable Debug logging.

started logging. But: wouldn't this toggle alone add up even more idle wake ups? (just wondering)

mailinglists35 avatar Apr 16 '26 03:04 mailinglists35

@MineGene Thank you for sending the logs and providing additional feedback.

@mailinglists35 It's true that the number of wake-ups will be higher in debug mode. We've actually already isolated the issue, and our team is currently looking into it. Because of this, there's no need for you to send your logs anymore

IaroslavKhvorostenko avatar Apr 16 '26 07:04 IaroslavKhvorostenko

Hello!

The fix will be available starting from version 2.3.

@MineGene , I have also sent a test build to verify this issue. In standby mode, the number of wakeups was around 0–1. I sent the download link to your email address.

@mailinglists35 , unfortunately, I don't have your email address. If you would also like to test the new build, please provide your email, and I will send it to you

Any feedback at your earliest convenience would be great

IaroslavKhvorostenko avatar May 08 '26 15:05 IaroslavKhvorostenko

Hello!

The fix will be available starting from version 2.3.

@MineGene , I have also sent a test build to verify this issue. In standby mode, the number of wakeups was around 0–1. I sent the download link to your email address.

@mailinglists35 , unfortunately, I don't have your email address. If you would also like to test the new build, please provide your email, and I will send it to you

Any feedback at your earliest convenience would be great

provided via email, got the build. it crashed, I allowed submiting the report, I also pasted the crash data that macOS displays when a crash occurs (the "Send to apple" window). let me know if it reached your side.

mailinglists35 avatar May 09 '26 00:05 mailinglists35

Hi @IaroslavKhvorostenko, thanks.

I've been running the build in the background with my MBP lid closed since installing agmini. Unfortunately, there doesn't seem to be any improvement—in fact, idle wake-ups have increased when agmini isn't actively being used.

As shown below, it's been running for a couple of hours and is still idling around ~118. This screenshot was taken right after opening the MBP lid following that period of inactivity.

Image

MineGene avatar May 09 '26 01:05 MineGene

Hello @mailinglists35 @MineGene Thank you for the feedback. I will forward this information to our development team

IaroslavKhvorostenko avatar May 12 '26 07:05 IaroslavKhvorostenko

I may have found a specific trigger for this issue.

In my case, the high idle load happens when the Safari extension "AdGuard for Safari" is enabled, but AdGuard Mini is not activated.

The Safari toolbar popup shows (translated from German, so I don't know exactly if that is the correct wording in English):

AdGuard Mini not activated

While it is in this state, I see constant Safari/AdGuard-related CPU activity and high idle power draw.

After clicking the button in the Safari popup to activate AdGuard Mini, the load drops immediately.

Before activating AdGuard Mini:

  • Idle power draw on Mac: ~38 W
  • Constant Safari/AdGuard-related CPU activity

After activating AdGuard Mini:

  • Idle power draw: ~18 W
  • No relevant background load

This may already be covered by the planned fix for v2.3, but I wanted to add this because it looks like a reproducible half-activated state rather than only general idle wakeups.

jimmy-ck avatar May 27 '26 14:05 jimmy-ck

Hello @jimmy-ck The behavior described is similar to this. This fix will be available in version 2.2.1 very soon

IaroslavKhvorostenko avatar May 27 '26 14:05 IaroslavKhvorostenko

@IaroslavKhvorostenko Ah, yes. I missed that one, sorry. Thanks that this get's fixed soon!

jimmy-ck avatar May 27 '26 14:05 jimmy-ck

adguard-bot closed this as completed4 days ago

is there any build we can try and see it is fixed?

mailinglists35 avatar Jun 07 '26 19:06 mailinglists35

Hi @mailinglists35 We're preparing this build, right now. I'll write the link in this thread. Thanks!

dmitriivqa39 avatar Jun 07 '26 19:06 dmitriivqa39

Hi @dmitriivqa39 @IaroslavKhvorostenko, this remains an issue for me on the latest TestFlight beta.

I'm seeing a constant of ~150 idle wake ups since the latest beta became available, when checking out its activity in the Activity Monitor.

Is this in line with your expectations, or should it be lower?

Image

MineGene avatar Jun 10 '26 01:06 MineGene

Let's close this issue after the task will be deployed

forcomprehension avatar Jun 10 '26 08:06 forcomprehension