Gentoo Archives: gentoo-user

From: wabenbau@×××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] firefox profile uses 100% CPU
Date: Fri, 13 Nov 2015 03:44:21
Message-Id: 20151113044338.0c3c31d1@hal9000.localdomain
In Reply to: Re: [gentoo-user] firefox profile uses 100% CPU by thelma@sys-concept.com
1 thelma@×××××××××××.com wrote:
2
3 >
4 >
5 > Thelma
6 >
7 > On 11/12/2015 05:30 PM, Walter Dnes wrote:
8 > > On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@×××××××××××.com
9 > > wrote
10 > >
11 > >> I do agree, but I'm looking for a way to fix it. What file should I
12 > >> delete from Firefox profile. I just want to retain bookmarks,
13 > >> passwords etc.
14 > >
15 > > Do *NOT* delete any files just see. I would suggest the following
16 > > course of action...
17 > >
18 > > * Do not start any of the profiles unless the instructions say to
19 > > * Create 2 new profiles; call them "salvage1" and salvage2"
20 > > ***IMPORTANT*** If copying any specific file to "salvage1" screws
21 > > up that profile, do ***NOT*** copy it to "salvage2".
22 > > * Copy the "places.sqlite" file from the bad profile over top of the
23 > > "places.sqlite" file in the "salvage1" profile
24 > > * Start up the "salvage1" profile. Try surfing for a few minutes.
25 > > If it works, close "salvage1" and copy "places.sqlite" to the same
26 > > place in the "salvage2" profile, and skip "Restoring bookmarks from
27 > > backups".
28 > >
29 > > "Restoring bookmarks from backups" (ONLY IF places.sqlite IS
30 > > DAMAGED)
31 > > =====================================================================
32 > > * Copy all the files from the "bookmarksbackup" folder in the bad
33 > > profile to the "bookmarksbackup" folder in the "salvage1" profile.
34 > > * Start up the "salvage1" profile. Select...
35 > > Bookmarks ==> Manage Bookmarks
36 > > From the Bookmarks Manager select...
37 > > Tools ==> Restore
38 > > ...and select a backup. Obviously, the more recent the better.
39 > > If this works, close the browser ("salvage1") and repeat with the
40 > > "salvage2" profile.
41 > > =====================================================================
42 > >
43 > > There are several more items...
44 > > https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
45 > >
46 > > Passwords are stored in the key3.db and logins.json files.
47 > >
48 > > Site-specific preferences are stored in the permissions.sqlite and
49 > > content-prefs.sqlite files.
50 > >
51 > > Search engines are stored in the search.sqlite file and
52 > > searchplugins folder.
53 > >
54 > > Personal dictionary is stored in persdict.dat
55 > >
56 > > etc, etc. I know that it's painfull, but...
57 > >
58 > > 1) Make sure "salvage1" and "salvage2" are both shut down.
59 > > 2) Copy over *ONE* file listed on the above webpage at a time to the
60 > > "salvage1" profile, and launch "salvage1" and try it out.
61 > > 3) If it works, shut down "salvage1", and copy the same file over to
62 > > the "salvage2" profile. If "salvage1" dies, you've found a
63 > > culprit. Copy the file of the same name from the "salvage2" profile
64 > > to the "salvage1" profile.
65 > > 4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file
66 > > listed on the webpage I pointed to. There may be more than 1
67 > > corrupted file
68 > >
69 > > After you're finished, you can go to
70 > >
71 > > Tools ==> Switch Profile ==> Manage Profiles
72 > >
73 > > There, you can rename or delete the old profile, and rename
74 > > "salvage1" to the name of your old profile. Note that this will
75 > > only affect the name that it is invoked with by the "-P" option.
76 > > It will not change the directory name.
77 >
78 > Thank you for detailed instructions, that was a good idea but I'm
79 > puzzled and surprised by the result.
80 >
81 > I created two new profiles:
82 > salvage1 (new)
83 > salvage2 (new)
84 > test (this profile is damaged)
85 >
86 > Originally started profile salvage1, salvage2 to create all the
87 > necessary files.
88 >
89 > I've copied all the files from: .mozilla/firefox/tscsip8f.test/ (not
90 > sub-folders)
91 > to: salvage1 profile, indeed something is dammage CPU goes 100%
92 > Deleted "salvage1" and recreated it.
93 >
94 > Now, I copied files "one by one" from test profile to salvage1 and
95 > started "salvage1" every time to make sure it work. At the same time I
96 > copied the same file from "test" to "salvage2" (without starting
97 > "salvage2"); I was only starting "salvege1" after each file I copied.
98 > I finished copping all the file from test "one-by-one" starting the
99 > profile "salvage1" and it worked but when I started profile "salvage2"
100 > the CPU when 100%.
101 > So it seems to me every time I was restarting profile "salvage1"
102 > Firefox was correcting the error some how.
103 >
104 > Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0
105 > There is no entry: Bookmarks ==> Manage Bookmarks
106 > I have: Bookmarks ==> Show All Bookmarks
107 > where I can restore and backup bookmars. I've tried to restore
108 > bookmarks from file: bookmarks-2015-11-12.json
109 > but I'm getting an error message: "Unable to process the backup file."
110 >
111 > --
112 > Thelma
113
114 Maybe you'll find some help here:
115
116 http://kb.mozillazine.org/Unable_to_process_the_backup_file_-_Firefox
117
118 --
119 Regards
120 wabe