From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BCEEA1384B4 for ; Fri, 13 Nov 2015 06:26:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E70621C077; Fri, 13 Nov 2015 06:26:41 +0000 (UTC) Received: from gw2.antarean.org (gw2.antarean.org [141.105.125.208]) by pigeon.gentoo.org (Postfix) with ESMTP id D9EAE21C009 for ; Fri, 13 Nov 2015 06:26:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id ECF631216FF for ; Fri, 13 Nov 2015 06:24:55 +0000 () X-Virus-Scanned: amavisd-new at antarean.org Received: from gw2.antarean.org ([127.0.0.1]) by localhost (gw2.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DcYw-6sszThL for ; Fri, 13 Nov 2015 06:24:54 +0000 (%Z) Received: from data.antarean.org (localhost [127.0.0.1]) by gw2.antarean.org (Postfix) with ESMTP id 2DEA8121341 for ; Fri, 13 Nov 2015 06:24:54 +0000 () Received: from andromeda.localnet (unknown [10.20.13.50]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by data.antarean.org (Postfix) with ESMTPSA id 763C54C for ; Fri, 13 Nov 2015 07:26:28 +0100 (CET) From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] firefox profile uses 100% CPU Date: Fri, 13 Nov 2015 07:26:36 +0100 Message-ID: <1809688.i8MiuxAep3@andromeda> User-Agent: KMail/4.14.8 (Linux/4.0.9-gentoo; KDE/4.14.8; x86_64; ; ) In-Reply-To: <564554AF.2080200@sys-concept.com> References: <5643DF95.2030507@sys-concept.com> <20151113003007.GB17732@waltdnes.org> <564554AF.2080200@sys-concept.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: e414744d-2260-46b6-954f-364a0237d95b X-Archives-Hash: 9e39f9fb901113a1a04d7fc8196f3e43 On Thursday, November 12, 2015 08:10:39 PM thelma@sys-concept.com wrote: > Thelma > > On 11/12/2015 05:30 PM, Walter Dnes wrote: > > On Thu, Nov 12, 2015 at 01:56:28PM -0700, thelma@sys-concept.com wrote > > > >> I do agree, but I'm looking for a way to fix it. What file should I > >> delete from Firefox profile. I just want to retain bookmarks, passwords > >> etc. > >> > > Do *NOT* delete any files just see. I would suggest the following > > > > course of action... > > > > * Do not start any of the profiles unless the instructions say to > > * Create 2 new profiles; call them "salvage1" and salvage2" > > > > ***IMPORTANT*** If copying any specific file to "salvage1" screws up > > that profile, do ***NOT*** copy it to "salvage2". > > > > * Copy the "places.sqlite" file from the bad profile over top of the > > > > "places.sqlite" file in the "salvage1" profile > > > > * Start up the "salvage1" profile. Try surfing for a few minutes. If > > > > it works, close "salvage1" and copy "places.sqlite" to the same place > > in the "salvage2" profile, and skip "Restoring bookmarks from backups". > > > > "Restoring bookmarks from backups" (ONLY IF places.sqlite IS DAMAGED) > > ===================================================================== > > * Copy all the files from the "bookmarksbackup" folder in the bad > > > > profile to the "bookmarksbackup" folder in the "salvage1" profile. > > > > * Start up the "salvage1" profile. Select... > > > > Bookmarks ==> Manage Bookmarks > > From the Bookmarks Manager select... > > Tools ==> Restore > > ...and select a backup. Obviously, the more recent the better. If > > this works, close the browser ("salvage1") and repeat with the > > "salvage2" profile. > > > > ===================================================================== > > > > There are several more items... > > > > https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-da > > ta > > > > Passwords are stored in the key3.db and logins.json files. > > > > Site-specific preferences are stored in the permissions.sqlite and > > content-prefs.sqlite files. > > > > Search engines are stored in the search.sqlite file and searchplugins > > folder. > > > > Personal dictionary is stored in persdict.dat > > > > etc, etc. I know that it's painfull, but... > > > > 1) Make sure "salvage1" and "salvage2" are both shut down. > > 2) Copy over *ONE* file listed on the above webpage at a time to the > > > > "salvage1" profile, and launch "salvage1" and try it out. > > > > 3) If it works, shut down "salvage1", and copy the same file over to > > > > the "salvage2" profile. If "salvage1" dies, you've found a culprit. > > Copy the file of the same name from the "salvage2" profile to the > > "salvage1" profile. > > > > 4) GOTO 1 (i.e. "rinse, lather, repeat") and repeat for every file > > > > listed on the webpage I pointed to. There may be more than 1 > > corrupted file > > > > After you're finished, you can go to > > > > Tools ==> Switch Profile ==> Manage Profiles > > > > There, you can rename or delete the old profile, and rename "salvage1" > > > > to the name of your old profile. Note that this will only affect the > > name that it is invoked with by the "-P" option. It will not change the > > directory name. > > Thank you for detailed instructions, that was a good idea but I'm > puzzled and surprised by the result. > > I created two new profiles: > salvage1 (new) > salvage2 (new) > test (this profile is damaged) > > Originally started profile salvage1, salvage2 to create all the > necessary files. > > I've copied all the files from: .mozilla/firefox/tscsip8f.test/ (not > sub-folders) > to: salvage1 profile, indeed something is dammage CPU goes 100% > Deleted "salvage1" and recreated it. > > Now, I copied files "one by one" from test profile to salvage1 and > started "salvage1" every time to make sure it work. At the same time I > copied the same file from "test" to "salvage2" (without starting > "salvage2"); I was only starting "salvege1" after each file I copied. > I finished copping all the file from test "one-by-one" starting the > profile "salvage1" and it worked but when I started profile "salvage2" > the CPU when 100%. > So it seems to me every time I was restarting profile "salvage1" Firefox > was correcting the error some how. > > Though, I can not import the bookmarks, I'm on Firefox-bin-38.3.0 > There is no entry: Bookmarks ==> Manage Bookmarks > I have: Bookmarks ==> Show All Bookmarks > where I can restore and backup bookmars. I've tried to restore bookmarks > from file: bookmarks-2015-11-12.json > but I'm getting an error message: "Unable to process the backup file." > > -- > Thelma Thelma, Does this mean "salvage1" works, but "salvage2" does not? Then why not simply keep "salvage1" and remove the broken ones? -- Joost