Excessive disk writes to glean database while playing youtube video with telemetry enabled (50k writes/min)
Categories
(Data Platform and Tools :: Glean: SDK, defect)
Tracking
(firefox-esr140 unaffected, firefox-esr153 unaffected, firefox156 unaffected, firefox157 unaffected, firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox156 | --- | unaffected |
| firefox157 | --- | unaffected |
| firefox158 | --- | fixed |
People
(Reporter: ke5trel, Unassigned)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: perf, regression)
STR:
- Launch latest Nightly 158.0a1 on Ubuntu 26.04.
- Make sure "Send technical and interaction data to Mozilla" is enabled in settings.
- Play a youtube video and keep the tab active.
- Monitor disk activity for the profile directory with the command
inotifywatch -rF <profile_path>.
Expected:
Minimal disk writes like before.
Actual:
High continuous disk writes to glean database (~50,000 writes per minute).
Results after capturing for 60 seconds:
total access modify close_write open create delete filename
51108 121 50987 0 0 0 0 /datareporting/glean/db/glean.sqlite-wal
141 0 141 0 0 0 0 /datareporting/glean/db/glean.sqlite
Disabling "Send technical and interaction data to Mozilla" immediately stops disk writes.
First noticed with high mount.ntfs process CPU usage due to constant writes to a profile located on an NTFS partition.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=29d53b9c161974cd333e922f61517b62678a3075&tochange=99f6d3d31f06398a27316c5978c760bcf7b4655f
Regressed by Bug 2047566.
The update coming in bug 2072932 will reduce this to the expected low amount again.
I confirm I have the same issue with Nightly 158.0a1 (2026-09-18) (x86_64) running in X11 on ArchLinux.
Simply loading about:blank in a blank profile with telemetry enabled and moving the mouse in the window is enough to cause a steady stream of ~10 MiB/s writes to the disk.
Comment 3•1 month ago
|
||
:janerik can you confirm this is fixed now that bug 2072932 is closed?
This is fixed for now (and we will have a test to make sure Glean doesn't regress in that regard)
Updated•1 month ago
|
Description
•