Firefox’s WOT rewrites wot/storage.json constantly

User avatar
ErmineMD
Posts: 6
Joined: Tue Aug 25, 2015 1:21 am

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by ErmineMD » Thu Sep 24, 2015 6:43 pm

I’m not alone. Thank you jeffbuhrt.
OR is there a way to tell where WOT should create the file?
You can use a symlink for a WOT directory.

I did not not check but I believe that content of these files is the same all the time.

jeffbuhrt
Posts: 2
Joined: Thu Sep 24, 2015 6:28 pm

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by jeffbuhrt » Thu Sep 24, 2015 7:38 pm


ErmineMD good point...

I made a quick fix/hack:
cat > ~/.config/autostart/firefox-tmp.sh
#!/bin/sh

TMPDIR=/tmp/.WOT-`whoami`
mkdir -p $TMPDIR
rm -rf ~/.mozilla/firefox/Profiles/m5864zs0.default/WOT
ln -s $TMPDIR ~/.mozilla/firefox/Profiles/m5864zs0.default/WOT

then: chmod 755 ~/.config/autostart/firefox-tmp.sh
replace m5864zs0.default with your profile... or if you want to spend more time modify the script for a quick scan of all the profiles in ~/.mozilla/firefox/Profiles and make a WOT symlink to something in memory (for me /tmp is a tmpfs).

User avatar
hotdoge3
Posts: 866
Joined: Sat Jan 03, 2009 9:14 pm

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by hotdoge3 » Wed Sep 30, 2015 8:22 am

hotdoge3, could you show me WriteFile operations screenshot? Like mine.
no for one not find that one and # 2 as no way to post screenshot
Process Monitor Portable said Showing 100.458 of 249.700 (41%)
High Resolution Date & Time: 30/09/2015 9:08:36.5127871 PM
Event Class: File System
Operation: QueryNetworkOpenInformationFile
Result: SUCCESS
Path: C:\Users\Ken\AppData\Roaming\Mozilla\Firefox\Profiles\mymlwxc9.default\WOT\storage.json
TID: 3300
Duration: 0.0000030
CreationTime: 30/09/2015 4:38:51 PM
LastAccessTime: 30/09/2015 9:08:31 PM
LastWriteTime: 30/09/2015 9:08:31 PM
ChangeTime: 30/09/2015 9:08:31 PM
AllocationSize: 1/01/1601 1:00:00 PM
EndOfFile: 1/01/1601 1:00:00 PM
FileAttributes: ANCI
..
High Resolution Date & Time: 30/09/2015 9:08:36.5100115 PM
Event Class: File System
Operation: CreateFile
Result: NAME COLLISION
Path: C:\Users\Ken\AppData\Roaming\Mozilla\Firefox\Profiles\mymlwxc9.default\WOT
TID: 112
Duration: 0.0000129
Desired Access: Read Data/List Directory, Synchronize
Disposition: Create
Options: Directory, Synchronous IO Non-Alert, Open Reparse Point
Attributes: N
ShareMode: Read, Write
AllocationSize: 0

User avatar
donsorg
Posts: 2023
Joined: Wed Nov 30, 2011 8:42 am

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by donsorg » Tue Oct 06, 2015 10:59 am

<quote user="erminemd">
Why does WOT rewrite the file so often? It may do it once a minute if it likes. Or if something happens. But not many times a minute even if firefox is idle. Is it really necessary? Am I wrong?

The file is only 43 KB. Not much. But it is recreated constantly. It is just not right. I use 2013 version because of that.
[/quote]

> Or if something happens

exactly. Because there are many things happens that should be stored in persistent DB. But I got your point and I feel the pain.
We'll take a look into this issue.

xuboying
Posts: 1
Joined: Sat Sep 24, 2016 4:10 pm

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by xuboying » Sat Sep 24, 2016 4:10 pm

Is this issue fixed, I still found wot keeping writing storage-5.json which is not actually found on disk, if the frequent IO writing issue not fixed, I have to uninstall this plugin. (checking by resource manager in windows 7)

Guest

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by Guest » Sat Sep 24, 2016 5:27 pm

Hi there,

not fixed at all, still rewrite over and over again on the disk.

Guest

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by Guest » Fri Oct 21, 2016 12:06 am

I think the point is to see how quickly they can destroy your SSD drives. I'm getting nearly 100 writes per second!!!

Site-rater
Posts: 2926
Joined: Tue Sep 15, 2009 7:48 pm

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by Site-rater » Fri Oct 21, 2016 12:10 am

<quote user="steveshank">
I think the point is to see how quickly they can destroy your SSD drives. I'm getting nearly 100 writes per second!!!
[/quote]

Have you actually gauged how much data is being written to your SSD per day due to this? I'm guessing it is still likely your drive will become obsolete before it burns out, unless you do something crazy like run defrag on it every day.

User avatar
hotdoge3
Posts: 866
Joined: Sat Jan 03, 2009 9:14 pm

RE: Firefox’s WOT rewrites wot/storage.json constantly

Post by hotdoge3 » Wed Nov 30, 2016 9:45 pm

htxxtp://news.softpedia.com/news/adjust-this-setting-before-firefox-wears-off-your-ssd-drive-508665.shtml


Adjusting this setting is easy. Users should type "about:config" in their address bar and press Enter.

Here they should search for "browser.sessionstore.interval" and double-click the option to change it.

The default is "15000" which is 15 seconds, the interval at which Firefox re-writes the contents of the recovery.js file.
One second is 1000, so if you want to set this to five minutes you should enter 300000, and if you want to use 30 minutes you should enter 1800000.
.~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Adjust This Setting Before Firefox Wears Down Your SSD Drive

Google Chrome seems to exhibit the same behavior

Sep 26, 2016 16:40 GMT · By Catalin Cimpanu · Share:

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.

Firefox uses the first file to store session information used to recover after crashes, and the second files are created on a per-site basis to store cookie-related data.

As the user browses the Internet, Firefox will update these files at regular intervals, generating a large amount of constant write operations.
"Some fixes are available for Firefox"

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.

Adjusting this setting is easy.
Users should type "about:config" in their address bar and press Enter.
Here they should search for "browser.sessionstore.interval" and double-click the option to change it.

The default is "15000" which is 15 seconds, the interval at which Firefox re-writes the contents of the recovery.js file.

One second is 1000, so if you want to set this to five minutes you should enter 300000, and if you want to use 30 minutes you should enter 1800000.
.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests