Date: Wed, 20 Mar 2013 16:20:29 -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: <CADLFttcZidtruemmj-w-4_=4NvDZZ08JgEFKkTX8dJp=Fyevnw@mail.gmail.com> In-Reply-To: <CAN6yY1u-RGWzoycqKa=MXoA3tLz1=D=F=kKb1EcX7Qqa8_4UdA@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> <CADLFttcOYYAyb3QavuCF4s-hPyTFTsYfqM3bvrMoHniTxNQ5Vg@mail.gmail.com> <CAN6yY1u-RGWzoycqKa=MXoA3tLz1=D=F=kKb1EcX7Qqa8_4UdA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 20, 2013 at 1:30 PM, Kevin Oberman <rkoberman@gmail.com> wrote: > On Wed, Mar 20, 2013 at 9:37 AM, Jeremy Messenger > <mezz.freebsd@gmail.com> wrote: >> On Wed, Mar 20, 2013 at 11:24 AM, Kevin Oberman <rkoberman@gmail.com> wr= ote: >>> 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> = wrote: >>>>>> 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 behavi= or. >>>>>>> >>>>>>> When I open a nautilus window, I see my CPUs at 20-25% load, mostly= in nautilus. I/O jumps from near zero to several MBps,. It varies in the o= nes I tried between 4 and 16 MBps depending on the number of files (not fol= ders). ktrace shows lots of reads returning "Resource temporarily unavailab= le". I also note that most of my thumbnails are not showing up, just the ge= neric icons for the file type. I'm guessing some issue with finding, loadin= g or generating the thumbnails. >>>>>>> >>>>>>> I have no idea what to look for to provide any real data or to trac= k this. >>>>>> >>>>>> I just noticed this post to ports@ made earlier today pointing out t= he >>>>>> 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.pn= g >>>>>> >>>>>> Can some "nautilus guru" tell me how to fix this??? >>>>>> >>>>>> for now I create a liink in the .cache/thumbnails -> ./thumbnails t= his >>>>>> works >>>>>> but is not a solution... >>>>> >>>>> That is very weird problem. Gotta figure where the .cache is at one o= f >>>>> 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. > > OK. I don't know enough of Gnome 2 organization to know that, so it's pre= tty > straight-forward. > >>> 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. > > No symlink and the thumbs are generated and CPU and I/O are normal. Looks= good! > Looks ready to commit. > > Thanks! I have committed it. Thanks too! > -- > 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?CADLFttcZidtruemmj-w-4_=4NvDZZ08JgEFKkTX8dJp=Fyevnw>