Date: Wed, 20 Mar 2013 11:37:43 -0500 From: Jeremy Messenger <mezz.freebsd@gmail.com> To: Kevin Oberman <rkoberman@gmail.com> Cc: FreeBSD GNOME Users <gnome@freebsd.org>, Sergio Lenzi <lenzi.sergio@gmail.com> Subject: Re: nautilus eating 1 CPU and doing lots of I/O Message-ID: <CADLFttcOYYAyb3QavuCF4s-hPyTFTsYfqM3bvrMoHniTxNQ5Vg@mail.gmail.com> In-Reply-To: <CAN6yY1uWiaJELLNjx=v5%2BSAFOV10yB6wkDaq4Ngea3ZnR1UPFw@mail.gmail.com> References: <CAN6yY1sP%2Bj4AS4f1XeaoDg5LOHachWCDVRU%2BgdRU5Hy-Sv85MA@mail.gmail.com> <CAN6yY1vXO44GVbgwu3BqMg2tdDP6CenLZCo3PFRyK9y-owx=Bw@mail.gmail.com> <CADLFttetHzf50a6nS40Q75gj0jMsJMB2tLFQVgztdagdhMN16A@mail.gmail.com> <CADLFttf%2B8HET3Z4%2B5gcL_rM6UkaQ2-eowQiNq27WySJ-Bo%2BB8Q@mail.gmail.com> <CAN6yY1uWiaJELLNjx=v5%2BSAFOV10yB6wkDaq4Ngea3ZnR1UPFw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 20, 2013 at 11:24 AM, Kevin Oberman <rkoberman@gmail.com> wrote= : > On Wed, Mar 20, 2013 at 9:04 AM, Jeremy Messenger > <mezz.freebsd@gmail.com> wrote: >> On Wed, Mar 20, 2013 at 10:24 AM, Jeremy Messenger >> <mezz.freebsd@gmail.com> wrote: >>> On Wed, Mar 20, 2013 at 1:13 AM, Kevin Oberman <rkoberman@gmail.com> wr= ote: >>>> On Tue, Mar 19, 2013 at 10:03 PM, Kevin Oberman <rkoberman@gmail.com> = wrote: >>>>> >>>>> Since I updated nautilus a few days ago I am seeing very odd behavior= . >>>>> >>>>> When I open a nautilus window, I see my CPUs at 20-25% load, mostly i= n nautilus. I/O jumps from near zero to several MBps,. It varies in the one= s I tried between 4 and 16 MBps depending on the number of files (not folde= rs). ktrace shows lots of reads returning "Resource temporarily unavailable= ". I also note that most of my thumbnails are not showing up, just the gene= ric icons for the file type. I'm guessing some issue with finding, loading = or generating the thumbnails. >>>>> >>>>> I have no idea what to look for to provide any real data or to track = this. >>>> >>>> I just noticed this post to ports@ made earlier today pointing out the >>>> problem, but not a good solution. >>>> : >>>> Sergio de Almeida Lenzi Tue, 19 Mar 2013 12:42:16 -0700 >>>> >>>> Hello,, >>>> >>>> On update ports via svn from 2013-03-10 to today, >>>> after a portmaster -a, the system (gnome2) >>>> stopped to show any thumbnails.. >>>> >>>> The main reason is that it writes the thumbnail >>>> in .thumbnails/normal/xxxxxxx.png >>>> but than tries to read it from .cache/thumbnails/normal/xxxxxxxxx.png >>>> >>>> Can some "nautilus guru" tell me how to fix this??? >>>> >>>> for now I create a liink in the .cache/thumbnails -> ./thumbnails thi= s >>>> works >>>> but is not a solution... >>> >>> That is very weird problem. Gotta figure where the .cache is at one of >>> port. Must be one of kwm's recently update. >> >> Found it, it's related with the glib20 update. See here: >> >> https://bugzilla.gnome.org/show_bug.cgi?id=3D675168 >> >> I found it from in its NEWS, it's in the "Overview of changes from >> GLib 2.33.2 to 2.33.3" section. >> >> It looks like we will have to search for a better solution. By either >> patch in GNOME 2 stuff or patch in glib20 to make it fallback >> (compatible). The developer will not create a fallback for old stuff's >> sake. > > Sigh. So some apps are still assuming .thumbnails and glib has moved Which apps? Add patch in gnome-desktop should take care if other apps are depend on gnome-desktop. > to 'doing the right thing" but not allowed for apps that don't yet > know it. For nautilus it creates an endless loop of looking for the > thumbnail in A, not finding it, calling the routines to create a new > thumbnail which puts it in B, and then repeats forever. The CPU is > eaten and I/O generated in making new thumbs continually. > > What all creates the thumbnails? If it is a single place that contains > the location, it's not too much to fix, but finding it could be > tricky. I'm hunting for it now in header files but there are a LOT of > them that contain "thumbnails" and I have just started looking. > > For now I'm taking the easy way out by creating a symlink as Sergio > suggested. Not the right answer, I know, but it should work. I'm also > copying him as he posted to ports and may not read gnome@. Please try http://people.freebsd.org/~mezz/patch/patch-glib2_34 by put it in the x11/gnome-desktop/files/ then reinstall it. Remove the symlink. > -- > R. Kevin Oberman, Network Engineer > E-mail: rkoberman@gmail.com --=20 mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLFttcOYYAyb3QavuCF4s-hPyTFTsYfqM3bvrMoHniTxNQ5Vg>