Firefox Trashes SSDs With Constant Writes

Constant SSD Writes

It is a well-known fact that Solid State Drives (SSD) have a singular number of available write operations before they “die”. Firefox compounds that problem with its restore option. Firefox has a feature allowing it to recover from crashes. This is a good thing, but it accomplishes this by constantly writing/updating a file called ‘recovery.js’. And when I say constantly, I’m talking to the tune of maybe 2MB/s. That’s right, every second upwards of 2 megabytes may be written to your SSD.

This number varies depending on how many tabs you have open but even if the number was as low as 300KB/s it is still huge when you start adding it up over the span of eight hours. What if you are one of those people, like me, who basically lives in the browser many hours each day? At 2MB/s that becomes 7.2GB/hour and over an eight hour period that becomes a phenomenal 57.6GB! I don’t know about you, but eight hours doesn’t come close to how long I have Firefox open every day. Double it.

Many lower-end consumer SSDs are rated at about 20GB/day. It becomes readily apparent why writing to SSD drives at these unrealistic rates is detrimental and will truly shorten the life of your precious, speedy drive. Here’s how to make Firefox behave in a more kindly manner…



My invisible friend

If you have used Firefox for any length of time at all you already know of “about:config”. By typing this in the Firefox Address Bar you will be taken to a huge settings page. I believe, in Chrome and Edge, it’s addressed with about:flags, and in IE you need to use the Group Policy Editor. Please don’t quote me on any of that– I know Firefox and that’s what I’ll stick with in this article.

There is a Firefox setting called browser.sessionstore.interval. This setting determines how often Firefox will update its session restore information in order to protect you from a browser crash. The default interval is 15 seconds. I have changed mine to a more reasonable 30 minutes but you may choose any setting you deem appropriate based on your needs. 60 seconds is 1/4 of the default but that still translates to a whopping 14.4GB per eight hour day. (I can only hope my math is correct in the preceding examples. You still get the idea. My friend up there always tries to be helpful, but he is not always right. We all know there are 10 kinds of people in the world: those who understand binary, and those who do not.)

Changing the Setting

To change the interval, follow these simple steps:

  1. Type about:config in the Firefox Address Bar
  2. If you get a tongue-in-cheek warning about how this may “…void your warranty…”, just click through
  3. On the page that opens, type browser.sessionstore.interval
  4. Right-click browser.sessionstore.interval in the main panel and choose Modify

The number is represented in milliseconds (thousandths of a second). Multiply the number of seconds by 1000 and enter that number, then click OK.

As an example, if you wanted to increase the interval to one minute (60 seconds), instead of the default 15 seconds, you would enter a value of 60000. Multiply this by the number of minutes you want. To revert to the default value at any time, simply choose Reset instead of Modify.

If you are a Chrome user don’t start gloating just yet. Chrome writes like crazy, too. Same thing– many gigabytes per day!

Monitoring SSD Writes


Most, if not all, SSDs come with some sort of software package that will allow you to monitor the drive’s health. In most cases, it will also let you see how many bytes are being written over time. If for some reason you are not happy with the provided software, there is a good generic utility called SSD Life. Scroll to the bottom of that page and you will find a link to download a Portable, free version. No installation is required. Simply unZip the file into a folder of your choice and run it.

SSDLife is compatible with most major brand SSDs; if not in your case, it will notify you, and may offer a newer version. There is also a Pro commercial version for those of you who may be interested.

(click image to enlarge)

The Bottom Line

In all honesty, the life expectancy of SSDs has drastically improved over the years and they have become a much more reliable source of storage on par with mechanical drives. Basically, by the time an SSD is about to fail you’ll probably be ready for a bigger, better one anyway.

It still behooves you to monitor your SSD’s health. Unlike mechanical drives, which will normally give you acoustic indications of imminent failure such as bearings whining or heads making unpleasant scraping noises, SSDs may “die” without notice. One minute they’re working, and the next, they are not. End of story.


About the Author

Richard Pedersen

Richard received his first computer, a C-64, in 1982 as a gift and began dabbling in BASIC. He was hooked! His love for computing has led him from the old “XT” boxes to the more modern fare and from clunky 10MB hard drives to smooth and fast modern day SSD drives. He has run BBS services, Fido mail, and even operated his own computer repair business.

There are 11 comments

Your email address will not be published. Required fields are marked *