Open Bug 1903211 Opened 7 days ago Updated 22 hours ago

Background Update Agent causing Windows BITS service queue overflow

Categories

(Toolkit :: Application Update, defect)

Firefox 120
defect

Tracking

()

People

(Reporter: Honza, Unassigned)

References

Details

I am experiencing a problem where the amount of update jobs in BITS Win service stuck in 'TRANSFERRED' state is constantly growing. When reaching the max limit (I think the default is 60), it causes OS crash. I need to manually clear the queue every day using bitsadmin:

bitsadmin /reset /allusers

I am running two Firefox installs

  • Firefox Release (currently 127)
  • Firefox Nightly (currently 129)

I have one profile for each and app.update.BITS.enabled set to false in both.

Here are two examples of jobs I had in the BITS queue this morning. Note that one is for Firefox Release and one for DevEdition. I have not ran DevEdition for a long time (but I have it installed on my machine). I haven't change the app.update.BITS.enabled in the profile for DevEdition.

GUID: {564350D7-0B6C-4B2B-BBC8-BF0869022C41} DISPLAY: 'MozillaUpdate C7876A162579349C'
TYPE: DOWNLOAD STATE: TRANSFERRED OWNER: ERIC\honza
PRIORITY: FOREGROUND FILES: 1 / 1 BYTES: 69776808 / 69776808
CREATION TIME: 13.06.2024 8:07:25 MODIFICATION TIME: 13.06.2024 8:07:26
COMPLETION TIME: 13.06.2024 8:07:26 ACL FLAGS:
NOTIFY INTERFACE: UNREGISTERED NOTIFICATION FLAGS: 3
RETRY DELAY: 60 NO PROGRESS TIMEOUT: 3600 ERROR COUNT: 0
PROXY USAGE: PRECONFIG PROXY LIST: NULL PROXY BYPASS LIST: NULL
DESCRIPTION:
JOB FILES:
        69776808 / 69776808 WORKING https://download-installer.cdn.mozilla.net/pub/firefox/releases/127.0/update/win64/en-US/firefox-127.0.complete.mar -> C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\C7876A162579349C\updates\downloading\update.mar
NOTIFICATION COMMAND LINE: none
owner MIC integrity level: MEDIUM
owner elevated ?           false

Peercaching flags
         Enable download from peers      :false
         Enable serving to peers         :false

CUSTOM HEADERS: NULL

GUID: {2E7D6C71-02AF-4D05-BEFA-E4E4E29469E8} DISPLAY: 'MozillaUpdate CA9422711AE1A81C'
TYPE: DOWNLOAD STATE: TRANSFERRED OWNER: ERIC\honza
PRIORITY: FOREGROUND FILES: 1 / 1 BYTES: 69938232 / 69938232
CREATION TIME: 13.06.2024 11:11:46 MODIFICATION TIME: 13.06.2024 11:11:48
COMPLETION TIME: 13.06.2024 11:11:48 ACL FLAGS:
NOTIFY INTERFACE: UNREGISTERED NOTIFICATION FLAGS: 3
RETRY DELAY: 60 NO PROGRESS TIMEOUT: 3600 ERROR COUNT: 0
PROXY USAGE: PRECONFIG PROXY LIST: NULL PROXY BYPASS LIST: NULL
DESCRIPTION:
JOB FILES:
        69938232 / 69938232 WORKING https://download-installer.cdn.mozilla.net/pub/devedition/releases/127.0b9/update/win64/en-US/firefox-127.0b9.complete.mar -> C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CA9422711AE1A81C\updates\downloading\update.mar
NOTIFICATION COMMAND LINE: none
owner MIC integrity level: MEDIUM
owner elevated ?           false

Peercaching flags
         Enable download from peers      :false
         Enable serving to peers         :false

CUSTOM HEADERS: NULL

What should I do to stop the BITS queue to grow?

Honza

See Also: → 1856462

I'm a bit confused what is going on in this bug. This appears to have been filed in response to the comment:

If you have further problems disabling the Background Update Agent that you would like to investigate, please file a different bug since this bug is for BITS specifically, not the Background Update Agent.

Yet this bug seems to be exclusively about the BITS problem, which Bug 1856462 already covers. The title mentions the Background Update Agent, but none of the bug description does.

Did you file this bug because you want to talk about the Background Update Agent? If so, could you update the bug to, like, describe the problem you are having with the Background Update Agent?

Flags: needinfo?(odvarko)

Please, feel free to update the title.

I don't know what the root cause of the problem is. I am seeking for a solution that would stop the BITS queue to grow and crash my system.
Happy to use any bug you recommend.

Flags: needinfo?(odvarko)
You need to log in before you can comment on or make changes to this bug.