Closed
Bug 1159740
Opened 11 years ago
Closed 6 years ago
cookies.sqlite-wal can grow to several gigabytes
Categories
(Core :: Networking: Cookies, defect, P3)
Core
Networking: Cookies
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: avih, Unassigned)
Details
(Whiteboard: [necko-backlog])
I bumped into the following description taken from here: http://forums.pcsx2.net/Thread-Well-this-is-interesting-Firefox-problem :
-------------------
Lately I've been noticing my SSD drive filling up like crazy. To the point where I'm out of space entirely. When I checked where it was coming from, I saw that Firefox created a 10GB file called cookies.sqlite-wal in the AppData/Firefox folder. Normally cookies shouldn't even reach 10MB (and believe me, I got a lot of cookies stored), let alone 10GB. W-T-F.
So, I deleted the file. And everything seems okay, cookies are still functioning fine too. But now after checking again today, the file is created again, and taking up another 6GB of space.
This creates 2 issues.
1. Space is being consumed for no reason. And it's not a small amount either.
2. This means the SDD drive is CONSTANTLY being written to, in absurd amounts too. Eventually this can easily affect the lifespan of the SSD if this continues happening.
So, does anyone know what this file is for exactly, or how I can possibly prevent it from being created (or becoming that insanely large?)
If nothing can be done about this I'll have to look and see if I can somehow move my AppData folder to another drive where I don't care about the amount of Read/Writes being performed.
PS: Already did a full clean reinstall of Firefox with a brand new profile as well. (Only kept my passwords and bookmarks).
Currently running Firefox 37.0.1
-------------------
And when I searched the web, I bumped to what might be related: http://superuser.com/questions/399473/firefox-writes-megabytes-of-data-per-minute-to-disk-why (Firefox writes megabytes per minute to disk).
I don't have an STR and I don't think I bumped into this issue myself, but mak thought I should file this anyway.
Comment 1•11 years ago
|
||
I can see 3 possibilities (even multiple at the same time are possible):
1. the pragmas to limit the wal size are not set
2. somewhere we have a large read transaction that doesn't allow us to checkpoint
3. an add-on in the user's profile plays with cookies.sqlite
I have the following addons installed right now:
- Adblock Plus 2.6.9
- Classic Theme Restorer 1.3.1.1
- IDM CC 7.3.99
- Status-4-Evar 2015.02.06.23
- Stylish 2.0.2
- YouTube Auto Replay 3.3
No idea what's causing it to be honest. I didn't have this issue with versions FF 28.0 and below (and I actually had way more addons back then besides the current ones.)
Comment 3•11 years ago
|
||
would you mind trying to install the Sqlite Manager add-on, opening cookies.sqlite and trying to execute the following SQL on it:
PRAGMA integrity_check
Ideally it should return OK
Updated•10 years ago
|
Whiteboard: [necko-backlog]
Comment 5•9 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P1
Comment 6•9 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: P1 → P3
Comment 7•6 years ago
|
||
Marco, do you think we have to do something for this bug or we can close it?
Flags: needinfo?(mak)
Comment 8•6 years ago
|
||
(In reply to Andrea Marchesini [:baku] from comment #7)
Marco, do you think we have to do something for this bug or we can close it?
I can't tell off-hand if the original issue is gone, but the code changed from then so I'm not sure it's worth keeping this around, considered it doesn't look very actionable.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(mak)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•