Adjust This Setting Before Firefox Wears Down Your SSD Drive

Borg 386

ADHD Senior Member
Guru
Gold Member
VIP
Local time
3:50 PM
Messages
5,489
Location
In a house with a cat trying to kill me
Firefox browsers are constantly writing large amounts of data to SSD drives, sometimes at higher values than the ones recommended by their vendors for daily writes.

According to the tech experts from ServeTheHome, a Firefox browser in its default configuration can write between 10GB and 30GB per day to SSD drives, depending on the number of opened tabs and windows.

The main two reasons behind these heavy-duty SSD write operations are the recovery.js and cookie.* files.
Sergei Bobik of ServeTheHome , who discovered this issue, says there’s a way to limit some of the write operations for the recovery.js file by tweaking one of Firefox’s settings.
Adjust This Setting Before Firefox Wears Down Your SSD Drive - MSFN
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell Hell oh Well
OS
Win 7 32 Home Premium, Win 7 64 Pro, Win 8.1, Win 10
CPU
Intel Core 2 Duo 2.93GHz
Memory
Not much with my ADHD
Graphics Card(s)
ATI Radeon HD 4350
Monitor(s) Displays
24" HDTV/Monitor
Screen Resolution
Blurry after a Scotch or 2
Hard Drives
1 HDD 250 GB, 1 HDD 1 TB, 3 - 1 TB Externals
Case
Don't get on my case...man :D
Cooling
I have an Air Conditioner & Diet Pepsi
Keyboard
Saitek Cyborg
Mouse
10 yr old MS optical mouse that still works
Internet Speed
Never fast enough
Antivirus
Various
Browser
Various
I changed all 5 of my computers the day the article became available.

No adverse effects.:)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built
OS
Windows `10 Professional 64bit
CPU
Intel i5 [email protected]
Motherboard
MSI P67A-GD55 (MS7681)
Memory
Corsair Vengeance DDR3 1600 16G
Graphics Card(s)
NVIDIA GeForce GT520 1GHz
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Haans G 241
Screen Resolution
1600X1024
Hard Drives
Crucial MX100 256GB SSD
PSU
OCZ ModXStream Modular High Performance 500 Watt
Case
Rosewill Challenger-U3
Cooling
Just Fans
Keyboard
Kensington K64338B
Mouse
Microsoft wheel mouse 1.1A
Internet Speed
240.0 Mbps
Antivirus
ESET Internet Security
Browser
Firefox
Other Info
SuperAntiSpyware-Pro
Malwarebytes (Premium)
Kerish Doctor
I'm using Pale Moon.

I can't find that "recovery.js" file.
Where is it supposed to be?

I do have the "browser.sessionstore.interval" setting in "about:config" (in PM the default seems to be 60000).

I moved my profile folders out of my user folder onto a HDD partition years ago.

I got sick of losing my browser data when re-imaging my OS partition.
It also means that all of my PCs can use the same PM profiles.

If that file is supposed to be in my profile folder, this won't affect me.


In my case, the Pagefile is more of a menace.
According to my system monitors, my W7 Pagefile changes size by 1 MB or 2 MB every second.

I moved the Pagefile off of my OS partition when I first installed my SSD.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Frequent session backups may decrease SSD lifetime - Pale Moon forum

More discussion at the above link regarding Pale Moon, which is a fork of Firefox.

The Firefox default is to write session backups every 15 seconds.

The Pale Moon default is every minute.

The Pale Moon developer says 15 seconds is ridiculous, but that the issue is largely overblown as are most discussions of "wearing out" an SSD.

He says:

"I found Mozilla's choice of interval poor as well (it previously was every 10 seconds!) and bumped it to a minute a long time ago, before SSDs were really a thing or commonplace.

Sure, it may (and probably will) decrease SSD lifetime, but the question is "by how much?" - ANY write, no matter how small, will decrease the lifetime of any SSD because the chips simply only last so long as far as rewriting the flash memory contents are concerned. I've done some checking previously as far as using disk cache on an SSD is concerned and that was insignificant in terms of expected life of an SSD (and that would have a lot more impact than any sessionstore writing would have).

You want to buy an SSD, but not have it wear down? That's like buying a sports car to just have it sit in front of your house and never use it."
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
Last edited:

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
I'm using Pale Moon.

I can't find that "recovery.js" file.
Where is it supposed to be?

In Firefox, recovery.js is located in the sessionstore_backups folder in your profile folder. Might be the same for Pale Moon?
 

My Computer My Computer

OS
Windows 7 Home Premium x64
I use Intel SSD's with a 5 year warranty.
My mind thought is simple.
I use the Intel Tool Box.
Use the damn SSD and enjoy it.
If the SSD breaks before the 5 year warranty, no problem. Intel will send me another one.
If the SSD breaks after the 5 year warranty, no problems. I'm due for a newer one anyway.

From the beginning when SSD's came out their is always someone, somewhere tell us that SSD's won't live very long. Well they are wrong. SSD's have got better and better. They also have got cheaper.

If I remember correctly this forums computer (Server) uses SSD's in raid 10. Obviously they are used a lot.

Some people scratch spots that might itch tomorrow.
SSD's were put on earth by the computer gods for our enjoyment.
Enjoy.

Jack
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
Hi,
The writes seem pretty whacky to me quite frankly for a feature I could care a less about so hopefully that ends that mayhem :p

And for the record a replacement ssd under warranty is just another used ssd not a new one just new to whomever they mailed back too ;)
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom assembled by me :}
OS
Win-7-Pro64bit 7-H-Prem-64bit
CPU
i7-5930K 2nd i9-9940x both water blocked VRM's too
Motherboard
ASUS SABERTOOTH X99 2nd ASUS x299 Apex
Memory
Trident-z 3200C14 2nd Trident-z 3600C16
Graphics Card(s)
EVGA 1080ti ftw3 2nd Titan Xp both water blocked
Sound Card
Built-in Realtek
Monitor(s) Displays
1-AOC G2460PG 24"G-Sync 144Hz/ 2nd 1-ASUS VG248QE 24" 144Hz
Screen Resolution
1920 x 1080 144Hz
Hard Drives
2-Samsung M.2 Evo & Evo Plus
2-Samsung 850 EVO 500GB SSD's/ 3-2.5 W.D. Black 1tb-&3-1tb/3-3.5 WD Black 1tb hdd's
PSU
EVGA SuperNOVA 1000-P2 2nd 1200-P2
Case
2-Corsair Obsidian Series 450D Black ATX Mid Tower
Cooling
Custom water loops
Keyboard
Logitech G710+/ 2nd Logitech G910
Mouse
2-RedDragon M901 Perdition 16400 dpi Gaming mouse = wired
Internet Speed
Comcast Ping 19ms 89.31mbps download speed 6.12mbps upload
Antivirus
Malwarebytes Pro/ Superantispyware Pro
Browser
FireFox & Pale moon
Other Info
2nd ASUS X299 Apex/Intel i9-9940x with Custom water loop/7H-Prem-x64/Corsair 450D case/Ram Trident-z 3600C16 4x8gb / Samsung970Evo plus 500gb SSD/Dual ssd EZ swap evo/PSU EVGA SuperNova 1200w-P2 80+Platinum/GPU Titan Xp /8-ML-140 on push-pull on 2-280GTX rads
I did have a problem with a Intel SSD and I did get a new one for the replacement.
Either way new or refurbished doesn't matter to me as long as it works as it should.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.
I'm using Pale Moon.

I can't find that "recovery.js" file.
Where is it supposed to be?

In Firefox, recovery.js is located in the sessionstore_backups folder in your profile folder. Might be the same for Pale Moon?
PM doesn't seem to have that folder.

I have a sessionbackup folder, but that may have been created by Tab Mix Plus, as the only items in it are tabmix_sessions-xxxx-xx-xx.rdf files.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Firefox browsers are constantly writing large amounts of data to SSD drives, sometimes at higher values than the ones recommended by their vendors for daily writes.

According to the tech experts from ServeTheHome, a Firefox browser in its default configuration can write between 10GB and 30GB per day to SSD drives, depending on the number of opened tabs and windows.

The main two reasons behind these heavy-duty SSD write operations are the recovery.js and cookie.* files.
Sergei Bobik of ServeTheHome , who discovered this issue, says there’s a way to limit some of the write operations for the recovery.js file by tweaking one of Firefox’s settings.
Adjust This Setting Before Firefox Wears Down Your SSD Drive - MSFN


I did this a few days ago. Just typed about.config today and I totally got a redirect! Seems as if Mozilla is putting scripts in the browser to keep a user unaware of the fact that Firefox is using space.
maybe I should run Hijack This and see what it has to say.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell XPS 15z
OS
Windows 7 Pro X64
CPU
core i5 2430-M
Memory
8Gb
Graphics Card(s)
NVIDIA GeForce GT525M
Screen Resolution
1920x1080
Antivirus
AVAST
Browser
firefox
No need to run HJT, I got the same redirect, did you see a bluish question bar pop-up asking if you wanted to go there? clicking on it took me to about.config, then I saved a bookmark for it, been okay ever since.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
No need to run HJT, I got the same redirect, did you see a bluish question bar pop-up asking if you wanted to go there? clicking on it took me to about.config, then I saved a bookmark for it, been okay ever since.

No...seems it was an ID10T error LOL! typed about(.)config instead of about:config
dang ol typos :confused:
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Dell XPS 15z
OS
Windows 7 Pro X64
CPU
core i5 2430-M
Memory
8Gb
Graphics Card(s)
NVIDIA GeForce GT525M
Screen Resolution
1920x1080
Antivirus
AVAST
Browser
firefox
What I've done to "save" FF stuff when FF's working aok is to "parallel" save both AppData Local and Roaming Mozilla directories to another internal or external media. I save approximately monthly. That way, regardless of where the profiles stuff is located, such can be rebuilt by a copy-back without having to resort to massive OS or data partition restores. And, if one is making routine backups, the folders can be retrieved from said backup images.
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Antec desktop; Acer Aspire laptops
OS
Windows 7 Professional 64-bit
CPU
Desktop i5; Acers i5 & i7
Memory
desktop 16GB; 1 Acer 8GB & 1 Acer 16GB
Hard Drives
1TB split into 2 equal partitions [OS and data] usable by RJS
Internet Speed
AT&T DSL
Browser
FF, GChrome, msIE
Other Info
Windows 7 Firewall, Emsisoft AM/AV, MSE [scan-only], SpywareBlaster, Ruiware/BillP combine
DrmWarrior Ahh....A learning experience, don't be to hard on yourself, I also have these on a regular basis...:zip:

RolandJS That's a sound plan you have for yourself Roland....:thumbsup:
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Gateway DX4831-01e (Mid-Tower Desktop)
OS
Originally Win 7 Hm Prem x64 Ver 6.1.7600 Build 7601-SP1 | Upgraded to Windows 10 December 14, 2019
CPU
Intel i3 530 2.93GHz, 2933MHz 2 Cores 4 Logical Processors
Motherboard
Gateway H57M01 133 megahertz
Memory
6GB of 1,333MHz DDR3 SDRAM
Graphics Card(s)
32MB Intel Graphics Media Accelerator HD IGChip
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Gateway HX2000 20inch TFT active matrix TN
Screen Resolution
1600 x 900 x 59 hertz
Hard Drives
WDC WD10EADS-00M2B0 [HDD] (1000.20 GB) -- drive 0,
HL-DT-ST DVDRAM GH41N [CD-ROM dr]
Four card readers, and Four USB 2.0
PSU
300watts.
Case
Mid-Tower Desktop
Cooling
Stock from Gateway
Keyboard
Natural Ergonomic Keyboard 4000, see Other Info
Mouse
Orig. Gateway wore out now using Insignia USB wired optical
Internet Speed
Vz FIOS 10ms png 57.64Mbps down 65.53Mbps up Speedtest.org
Antivirus
Zamana Anti-logger with Anti-malware, MSE, Windows Firewall,
Browser
IE11.0.9600.19399-Upd ver11.0.135, Firefox 68.0.1 x64
Other Info
System Specs by Belarc.

BIOS: American Megatrends Inc. P01-A0 11/17/2009

Replaced the MS 'Natural' Standard PS/2 Enhanced 101-102 Keyboard with a new Natural Ergonomic Keyboard 4000 on August 1st 2014.

Canon Pixma MG3222 Printer.

Updated to IE11 on 12102015 | Fios Quantum Router g1100

Additional AV: SpywareBlaster, manual Mbam, SAS
Back
Top