Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] firefox profile uses 100% CPU wabenbau@×××××.com
Re: [gentoo-user] firefox profile uses 100% CPU Walter Dnes <waltdnes@××××××××.org>
Re: [gentoo-user] firefox profile uses 100% CPU wabenbau@×××××.com
Re: [gentoo-user] firefox profile uses 100% CPU "J. Roeleveld" <joost@××××××××.org>