FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 09-02-2012, 06:03 PM
Frank McCormick
 
Default Why is Nautilus using 38% CPU?

On 02/09/12 01:55 PM, Mark Allums wrote:

On 9/2/2012 12:39 PM, Mark Allums wrote:

On 9/2/2012 12:23 PM, Camaleón wrote:

On Sun, 02 Sep 2012 11:54:48 -0500, Mark Allums wrote:


On 9/2/2012 11:24 AM, Camaleón wrote:



You mean while system is idle? And it happens continously?


Yes, exactly.

I have a fairly beefy system, so it should be < 1% I would think.


YOu can create a fresh new user and check if the nautilus process runs
stable from there.


You're right. A test user appears to have no problem under GNOME3,
full
desktop. Top shows no Nautilus tasks in the top 50, and ps ditto.


Curious. Whatever is making dancing your CPU cycles there has to be
within your usual user's profile :-?


What GNOME version are you using? Nautilus should be off (not
running) since gnome-shell unless you had it configure for handling
the desktop or you manually launched it.


The GNOME metapackages all say 3.0, but most of it is 3.4. It's all
Wheezy.


Yup, Wheezy has been at 3.4 since time ago.


Is this relevant?: I'm running the 3.5-trunk kernel from
experimental. Running it on assorted VMs with no problem.


Hard to tell with the little info you provide :-)


I am looking for a starting point.


Well, you can start by saying why there's a nautilus process
running in
your session :-)


Your guess is as good as mine.


I don't get it... I can of course make some guesses but you can confirm
which is best :-)

Is either that..?

a/ You manually launch nautilus to browse files.

b/ You run gnome-fallback (gnome-classic), as this runs an instance of
nautilus by default.

c/ You run gnome-shell and have the browser handling the desktop (this
also makes nautilus to be launched on login).

d/ A mix of a/, b/ and/or c/


Then, are you using any extensions for gnome-shell? And what happens
when you login with gnome-classical instead?



No extensions beyond the standard Debian features. I run "Classic" by
default. I have desktop icons enabled.


(...)

Ah, okay. Then let's take b/ as valid :-). Then you can compare the
results with gnome-shell.

I rarely enter into the fallback mode in my wheezy system, let's see how
CPU resources is taking nautilus... (relogin) He, this is funny: I get a
0% of CPU usage but nautilus is using 20 MiB of my ram ("res" value). In
fact, it's listed as the top memory hungry process here.

Greetings,



Based on the various Google results, I am thinking that Nautilus has a
serious set of bugs. It uses 1G of memory, which is horrendous, but
another 22G become unavailable, form memleaks or something. Also, much
low level disk activity but no swapping. Weird. I think it is running
because desktop icons are enabled, I think that uses Nautilus to
implement.

I am going to temporarily retreat to another window manager and desktop
for a while, and see if this bug gets fixed. Do a lot of Googling and
follow the progress of this issue from a distance. Life's too short...




Mark, about your Nautilus problems - I gave up on Nautilus (and on
Gnome as a matter of fact) some time ago - My GUI file manager of
preference is XFE...blazingly fast but based on QT I believe not on GTK.
Perhaps not as versatile as Nautilus...but it gets the job done for me -
YMMV - but most times is use Midnight Commander...from the CLI.






--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 50439F69.5080409@videotron.ca">http://lists.debian.org/50439F69.5080409@videotron.ca
 
Old 09-02-2012, 06:25 PM
Ralf Mardorf
 
Default Why is Nautilus using 38% CPU?

On Sun, 2012-09-02 at 14:03 -0400, Frank McCormick wrote:
> On 02/09/12 01:55 PM, Mark Allums wrote:
> > On 9/2/2012 12:39 PM, Mark Allums wrote:
> >> On 9/2/2012 12:23 PM, Camaleón wrote:
> >>> On Sun, 02 Sep 2012 11:54:48 -0500, Mark Allums wrote:
> >>>
> >>>> On 9/2/2012 11:24 AM, Camaleón wrote:
> >>>
> >>>>>>> You mean while system is idle? And it happens continously?
> >>>>>>
> >>>>>> Yes, exactly.
> >>>>>>
> >>>>>> I have a fairly beefy system, so it should be < 1% I would think.
> >>>>>
> >>>>> YOu can create a fresh new user and check if the nautilus process runs
> >>>>> stable from there.
> >>>>
> >>>> You're right. A test user appears to have no problem under GNOME3,
> >>>> full
> >>>> desktop. Top shows no Nautilus tasks in the top 50, and ps ditto.
> >>>
> >>> Curious. Whatever is making dancing your CPU cycles there has to be
> >>> within your usual user's profile :-?
> >>>
> >>>>>>> What GNOME version are you using? Nautilus should be off (not
> >>>>>>> running) since gnome-shell unless you had it configure for handling
> >>>>>>> the desktop or you manually launched it.
> >>>>>>
> >>>>>> The GNOME metapackages all say 3.0, but most of it is 3.4. It's all
> >>>>>> Wheezy.
> >>>>>
> >>>>> Yup, Wheezy has been at 3.4 since time ago.
> >>>>>
> >>>>>>>> Is this relevant?: I'm running the 3.5-trunk kernel from
> >>>>>>>> experimental. Running it on assorted VMs with no problem.
> >>>>>>>
> >>>>>>> Hard to tell with the little info you provide :-)
> >>>>>>
> >>>>>> I am looking for a starting point.
> >>>>>
> >>>>> Well, you can start by saying why there's a nautilus process
> >>>>> running in
> >>>>> your session :-)
> >>>>
> >>>> Your guess is as good as mine.
> >>>
> >>> I don't get it... I can of course make some guesses but you can confirm
> >>> which is best :-)
> >>>
> >>> Is either that..?
> >>>
> >>> a/ You manually launch nautilus to browse files.
> >>>
> >>> b/ You run gnome-fallback (gnome-classic), as this runs an instance of
> >>> nautilus by default.
> >>>
> >>> c/ You run gnome-shell and have the browser handling the desktop (this
> >>> also makes nautilus to be launched on login).
> >>>
> >>> d/ A mix of a/, b/ and/or c/
> >>>
> >>>>> Then, are you using any extensions for gnome-shell? And what happens
> >>>>> when you login with gnome-classical instead?
> >>>>
> >>>>
> >>>> No extensions beyond the standard Debian features. I run "Classic" by
> >>>> default. I have desktop icons enabled.
> >>>
> >>> (...)
> >>>
> >>> Ah, okay. Then let's take b/ as valid :-). Then you can compare the
> >>> results with gnome-shell.
> >>>
> >>> I rarely enter into the fallback mode in my wheezy system, let's see how
> >>> CPU resources is taking nautilus... (relogin) He, this is funny: I get a
> >>> 0% of CPU usage but nautilus is using 20 MiB of my ram ("res" value). In
> >>> fact, it's listed as the top memory hungry process here.
> >>>
> >>> Greetings,
> >>>
> >>
> >> Based on the various Google results, I am thinking that Nautilus has a
> >> serious set of bugs. It uses 1G of memory, which is horrendous, but
> >> another 22G become unavailable, form memleaks or something. Also, much
> >> low level disk activity but no swapping. Weird. I think it is running
> >> because desktop icons are enabled, I think that uses Nautilus to
> >> implement.
> >>
> >> I am going to temporarily retreat to another window manager and desktop
> >> for a while, and see if this bug gets fixed. Do a lot of Googling and
> >> follow the progress of this issue from a distance. Life's too short...
> >>
>
>
> Mark, about your Nautilus problems - I gave up on Nautilus (and on
> Gnome as a matter of fact) some time ago - My GUI file manager of
> preference is XFE...blazingly fast but based on QT I believe not on GTK.
> Perhaps not as versatile as Nautilus...but it gets the job done for me -
> YMMV - but most times is use Midnight Commander...from the CLI.

On Ubuntu Studio I'm using Xfce4 with Nautilus 3.4.2 and Thunar.
Nautlius doesn't need memory and doesn't need CPU resources, everything
is ok here.
For Debian testing, "wheezy". I experience GNOME 3 as a PITA, especially
if it should emulate GNOME 2 and in the future GNOME upstream will make
systemd a hard dependency, IMO this is insane, it already is insane that
pulseaudio is a hard dependency.
Xfce4 is similar to GNOME 2.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/1346610333.3510.10.camel@precise
 
Old 09-02-2012, 07:29 PM
lee
 
Default Why is Nautilus using 38% CPU?

Mark Allums <mark@allums.com> writes:

> I am going to temporarily retreat to another window manager and
> desktop for a while, and see if this bug gets fixed.

Fvwm-crystal is awesome.

You have icons on the desktop background? The windows cover them all the
time, what's the point of that?


--
Debian testing amd64


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87pq641aw3.fsf@yun.yagibdah.de">http://lists.debian.org/87pq641aw3.fsf@yun.yagibdah.de
 
Old 09-02-2012, 07:52 PM
Mark Allums
 
Default Why is Nautilus using 38% CPU?

On 9/2/2012 2:29 PM, lee wrote:

Mark Allums <mark@allums.com> writes:


I am going to temporarily retreat to another window manager and
desktop for a while, and see if this bug gets fixed.


Fvwm-crystal is awesome.

You have icons on the desktop background? The windows cover them all the
time, what's the point of that?




You do it your way, I do it mine.



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 5043B918.50500@allums.com">http://lists.debian.org/5043B918.50500@allums.com
 
Old 09-03-2012, 01:17 PM
Chris Bannister
 
Default Why is Nautilus using 38% CPU?

On Sun, Sep 02, 2012 at 09:29:32PM +0200, lee wrote:
> Mark Allums <mark@allums.com> writes:
>
> > I am going to temporarily retreat to another window manager and
> > desktop for a while, and see if this bug gets fixed.
>
> Fvwm-crystal is awesome.

Huh? Compare "apt-cache show fvwm-crystal" with "apt-cache show awesome"

They are completely different.

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120903131740.GS25171@tal
 
Old 09-03-2012, 01:30 PM
Camaleón
 
Default Why is Nautilus using 38% CPU?

On Sun, 02 Sep 2012 12:55:06 -0500, Mark Allums wrote:

> On 9/2/2012 12:39 PM, Mark Allums wrote:
>> On 9/2/2012 12:23 PM, Camaleón wrote:

(...)

>>> I rarely enter into the fallback mode in my wheezy system, let's see
>>> how CPU resources is taking nautilus... (relogin) He, this is funny: I
>>> get a 0% of CPU usage but nautilus is using 20 MiB of my ram ("res"
>>> value). In fact, it's listed as the top memory hungry process here.
>>>
>> Based on the various Google results, I am thinking that Nautilus has a
>> serious set of bugs. It uses 1G of memory, which is horrendous, but
>> another 22G become unavailable, form memleaks or something. Also, much
>> low level disk activity but no swapping. Weird. I think it is running
>> because desktop icons are enabled, I think that uses Nautilus to
>> implement.

Well, AFAICT "gnome-classic" uses nautilus similary how GNOME 2 did so
it's an important piece for the desktop. This is quite different in
"gnome-shell", you can even disable nautilus so it's not started on every
boot and just launch it when you need to browse your files/folders.

>> I am going to temporarily retreat to another window manager and desktop
>> for a while, and see if this bug gets fixed. Do a lot of Googling and
>> follow the progress of this issue from a distance. Life's too short...

I share your diagnostic, doctor :-)

>> Thanks for your suggestions. Very helpful.

Your're welcome.

> sorry, I posted a message without any content by accident.

(no prob)

> I noticed that tracker is doing a lot as well. Is it advisable to
> disable it?

I "removed" tracker in my system because I don't need a desktop search in
the laptop. It can be disabled or tweaked to be less resource-intensive,
though.

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/k22bd0$vnl$3@ger.gmane.org
 
Old 09-03-2012, 04:37 PM
lee
 
Default Why is Nautilus using 38% CPU?

Chris Bannister <cbannister@slingshot.co.nz> writes:

> On Sun, Sep 02, 2012 at 09:29:32PM +0200, lee wrote:
>> Mark Allums <mark@allums.com> writes:
>>
>> > I am going to temporarily retreat to another window manager and
>> > desktop for a while, and see if this bug gets fixed.
>>
>> Fvwm-crystal is awesome.
>
> Huh? Compare "apt-cache show fvwm-crystal" with "apt-cache show awesome"
>
> They are completely different.

No, different isn't in Debian:


,----
| ~ $ apt-cache show different
| N: Unable to locate package different
| E: No packages found
| ~ $
`----


There's only libmath-calculus-differentiate-perl, and I don't know if
that is complete. There should be a different package, though, even if
it's an empty one, just for the sake of it.


--
Debian testing amd64


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87r4qjnjuf.fsf@yun.yagibdah.de">http://lists.debian.org/87r4qjnjuf.fsf@yun.yagibdah.de
 
Old 09-03-2012, 10:06 PM
Gaël DONVAL
 
Default Why is Nautilus using 38% CPU?

Le dimanche 02 septembre 2012 à 12:28 -0500, Mark Allums a écrit :
>
> I noticed a low-grade but continuous disk activity.
Check with atop or another tool like that. The two main culprits for
completely unknown and continuous IO transfers are tracker-miner and
ext4 (if your HDD/SSD is big and has just been formated).
Again atop or a similar tool could be of a great help.

> Also, it uses a lot
> of RAM. This machine has 24G of ram (way overkill, I know) and 23G of
> it can be used at times.
If this memory is just cached, this only means the kernel does a good
job at using all the available memory.

> But zero % swap. /var/log filled up with logs
> recently, and I was having lots of browser crashes and kernel oopses ,
> but I traced that to a bad wireless USB WiFi card or driver.
That could be. Did you try to run a memtest to check your RAM health?

> Diagnosing
> that is when I noticed the Nautilus thing.
Did you try to remove nautilus references in ~/.config, ~/.local/share
and ~/.gnome2?

It's also worth noting that Nautilus will overcome a major upgrade in
the upcoming version of Gnome (3.6). A lot of bug should be fixed at
that time (and a lot of others should be "released").


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1346709965.8490.36.camel@p76-nom-gd.cnrs-imn.fr">http://lists.debian.org/1346709965.8490.36.camel@p76-nom-gd.cnrs-imn.fr
 
Old 09-03-2012, 10:46 PM
Mark Allums
 
Default Why is Nautilus using 38% CPU?

On 9/3/2012 5:06 PM, Gaël DONVAL wrote:

Le dimanche 02 septembre 2012 à 12:28 -0500, Mark Allums a écrit :


I noticed a low-grade but continuous disk activity.

Check with atop or another tool like that. The two main culprits for
completely unknown and continuous IO transfers are tracker-miner and
ext4 (if your HDD/SSD is big and has just been formated).
Again atop or a similar tool could be of a great help.


Thanks. I should have thought of atop.



Also, it uses a lot
of RAM. This machine has 24G of ram (way overkill, I know) and 23G of
it can be used at times.

If this memory is just cached, this only means the kernel does a good
job at using all the available memory.


After some TLC, and removing the wireless card, and rebooting, and some
other trivia, that went from 23G to 1G. Now, it uses far too much RAM,
but not horrendous amount. I should have only made one change at a
time, though. Then I would know which change it was that solved it.




But zero % swap. /var/log filled up with logs
recently, and I was having lots of browser crashes and kernel oopses ,
but I traced that to a bad wireless USB WiFi card or driver.

That could be. Did you try to run a memtest to check your RAM health?


Yes. Testing RAM showed nothing. Removing the wireless card cured most
of that. Chrome and Chromium still act fairly unstably, however.
Iceweasel is a bit better-behaved.




Diagnosing
that is when I noticed the Nautilus thing.

Did you try to remove nautilus references in ~/.config, ~/.local/share
and ~/.gnome2?


Not yet. I created another user and Nautilus behaved much better when
logged in as him. I think there is a synergy between some other
process/task/thread and Nautilus that is making things worse. Enabling
desktop icons seems to contribute to the problem, and I think that the
networking stack may may flaky somewhere as well.




It's also worth noting that Nautilus will overcome a major upgrade in
the upcoming version of Gnome (3.6). A lot of bug should be fixed at
that time (and a lot of others should be "released").


That's good to know. I am looking forward to the maturation of GNOME3,
though I am not crazy about the current UI.


Some devs from MATE and Cinnamon are very negative about GTK3. They say
GTK3 and GNOME3 are too mutually dependent, and it there needs to be
some refactoring and rearchitecting to make GTK3 into a true toolkit for
app development, and not merely the GNOME3 Desktop implementation
libraries.


Thanks for your input. Your suggestions are taken to heart.

Mark



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Archive: 50453333.504@allums.com">http://lists.debian.org/50453333.504@allums.com
 
Old 09-04-2012, 12:19 PM
Chris Bannister
 
Default Why is Nautilus using 38% CPU?

On Mon, Sep 03, 2012 at 06:37:28PM +0200, lee wrote:
> Chris Bannister <cbannister@slingshot.co.nz> writes:
> > On Sun, Sep 02, 2012 at 09:29:32PM +0200, lee wrote:
> >> Fvwm-crystal is awesome.
> >
> > Huh? Compare "apt-cache show fvwm-crystal" with "apt-cache show awesome"
> >
> > They are completely different.
>
> No, different isn't in Debian:
>
>
> ,----
> | ~ $ apt-cache show different
> | N: Unable to locate package different
> | E: No packages found
> | ~ $
> `----

%-)

--
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the
oppressing." --- Malcolm X


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/20120904121928.GD31727@tal
 

Thread Tools




All times are GMT. The time now is 08:57 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org