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 E97461384B4 for ; Fri, 13 Nov 2015 03:09:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 219CB21C10E; Fri, 13 Nov 2015 03:09:39 +0000 (UTC) Received: from mail142c7.megamailservers.com (mail142c7.megamailservers.com [69.49.98.242]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D1F821C0F6 for ; Fri, 13 Nov 2015 03:09:37 +0000 (UTC) X-Authenticated-User: info.sys-concept.com Received: from [10.0.0.100] (S01060050da7ae68c.ed.shawcable.net [68.149.90.13]) (authenticated bits=0) by mail142c7.megamailservers.com (8.14.9/8.13.1) with ESMTP id tAD39Z22001246 for ; Thu, 12 Nov 2015 22:09:37 -0500 Subject: Re: [gentoo-user] firefox profile uses 100% CPU To: gentoo-user@lists.gentoo.org References: <5643DF95.2030507@sys-concept.com> <20151112083505.2faa9169@coreI5.fabnetwork> <5644A64F.3000700@sys-concept.com> <201511122040.44196.michaelkintzios@gmail.com> <5644FCFC.8000506@sys-concept.com> <20151113003007.GB17732@waltdnes.org> From: thelma@sys-concept.com Message-ID: <564554AF.2080200@sys-concept.com> Date: Thu, 12 Nov 2015 20:10:39 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 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 In-Reply-To: <20151113003007.GB17732@waltdnes.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CTCH-RefID: str=0001.0A020206.56455471.00B4,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-CSC: 0 X-CHA: v=2.1 cv=S/XgnucP c=1 sm=1 tr=0 a=C3ZDv51cNVt4vJz/79I2xQ==:117 a=C3ZDv51cNVt4vJz/79I2xQ==:17 a=SDcUNfBxAAAA:8 a=BDKbP5mgAAAA:8 a=046jbqsEAAAA:8 a=IkcTkHD0fZMA:10 a=pQs5aej7AAAA:8 a=OoGQFCgCuyrZ0o30Jd0A:9 a=QEXdDO2ut3YA:10 X-Archives-Salt: 73ab3b17-a955-4ce0-921c-91794c0f8d36 X-Archives-Hash: e063e5f27a036847187224580353002e 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-data > > 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