Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi to all, Some days ago I realized that my laptop going so slow (taking into account that it is COREi7 2ng Gen with 8GB RAM) and hot. And checking with the top command I found that some command called 'nemo' is using ~73% of CPU and ~50% of memory. What can I do here?
Other info:
OS: Linux Mint 17.1 Cinnamon 64-bit
Cinnamon version: 2.4.6
Linux kernel: 3.13.0-37-generic
Processor Intel Core i7-2630QM CPU @ 2.00 GHz x 4
Memory 7.7GiB
Hard Drive 606.9 GB
Graphics card: Intel corporation 2nd generation core processor family integrated graphics controller
PC: Toshiba Satellite serie P755
Nemo is the name of your file manager. It may be possible to see behavior like you describe when you open a folder that contains a large number of images or videos. Nemo will try to create thumbnails of the videos, which can need a lot of resources.
Try the following command to display your thumbnail usage
Code:
du -sh ~/.cache/thumbnails
If this is very large your can delete thumbnails as you wish...
Thumbnails are not automatically removed when a file is deleted or renamed or otherwise altered.
I run a daily crontab job to remove all thumbnails which are more than 15 days old - nemo will recreate them if it needs to.
Code:
find ~/.cache/thumbnails -type f -atime +15 -exec rm '{}' \;
Last edited by JeremyBoden; 03-28-2015 at 05:54 PM.
I'm confused. He says his issue is cpu usage and you tell him to delete thumbnail files? If his problem was disk usage, that would make sense.
I have similar cpu usage issues with nemo constantly and it is so bad I venture as often as possible to kill all nemo processes and use nautilus instead. Every time I research the issues I find nothing but a bunch of if-maybe-might-be-possibly type suggestions that never seem to stop it entirely.
It's easier to me when that's the case (and the cinnamon dev and or nemo dev doesn't see a filemanager spinning out of control and gobbling up 100%+ of system resources as a significant enough problem to fix) to use something else.
> sudo pkill nemo
If your desktop icons suddenly vanish, nemo was handling your desktop also.
click on Menu, type in 'nautilus' - click the file cabinet icon. Enjoy!
If you hear your hard drive caching again and run top to find out nemo snuck back in again, and/or notice the sudden doubling of content on your desktop, repeat the process. You'll have far less headaches in the long run.
Member since 2008, and this drags you out to respond. Must really have pissed you off treii28 ...
Largely whistling in the wind without real data - for example it's possible some malformed data (even a single thumbnail ) could be causing it to loop. Getting rid of nemo sounds a good way to go. But I see a Cinnamon tag assigned - so any update is likely to bring it back.
Note that this is an old thread (started over 3 years ago).
I don't currently get any problems with nemo in 2018 - although it was a problem a few years back.
I am STILL having problems with nemo-desktop taking enormous amounts of resource (up to 50% CPU) even when nothing at all is happening. Linux Mint 19. However, clearing out old thumbnails seems to have made a difference. I have also recently been scanning a lot of old photos, which would presumably result also in lots of thimbnails. Not sure why this would affect CPU usage, but on the face of it there appears to be a correlation.
I have a 6 core machine with 16 gigs of memory running Linux Mint 19. Top shows nemo-desktop running between 78 and 100 %, which presumably is most of one whole core. Memory usage claimed: VIRT 20.381g RES 0.011t SHR 10976 %MEM 71.0 These numbers are appalling to me. Can the nemo-desktop process really be using 125% of the entire memory in my computer (recognizing that almost half of that is virtual memory, but still a problem affecting swap usage.) The only good thing I can say is that my CPU is not running hot (at least I don't consider 45 degrees C as particularly hot.)
Personally, I appreciate JeremyBoden comment regarding thumbnails. Looking in my thumbnails/normal folder, I see 24,760 entries, plus another 15,766 in the subfolder fail/gnome-thumbnail-factory.
I have five RAID5 file servers on my network, totalling just over 34 terabytes. I assume this collection of thumbnails is because of access to the servers.
Is there any way to limit the creation of all these thumbnails? I created the crontab process as specified, but I assume that won't stop nemo from continuing to create new ones. My default folder view is List, so I'm really not interested in creation of thumbnails, possibly excepting my pictures folder.
Hazel suggested switching file managers. Do you have one to suggest, or is that just like Microsoft techs who's first suggestion is always, "Did you reboot?" Treii28 suggests nautilus. Is there any reason to believe it would create less icons, or at least use less CPU power in doing so, or otherwise affect the issue?
I also plan on building a computer and running MXLinux on it. MxLinux uses Xcfe. I have no reason to believe it will solve the problem, but being a mid-grade OS, as opposed to everything-but-the-kitchen-sink, it might help. Comments on this would be appreciated, even if they are, "Did you check to see if it's plugged in?"
Thanks!
Last edited by Toadbrooks; 04-26-2021 at 10:26 AM.
Reason: addition
Hazel suggested switching file managers. Do you have one to suggest, or is that just like Microsoft techs who's first suggestion is always, "Did you reboot?"
I must admit I'm rusty on graphical file managers. I haven't used one for years on my main machine. I do all my file management on the command line because it's so much quicker. Why should I sit twiddling my thumbs while a program translates a load of plain text (which is what filenames are after all) into a pretty picture that I have to scroll up and down to read?
I have AntiX on my laptop and that runs rox-filer which is pretty snappy. It can manage your desktop too.
Anyone tried Thunar? I once started using it and since it does what I want I keep using it. I'm not picky about software, but if there is anything better I will switch.
Anyone tried Thunar? I once started using it and since it does what I want I keep using it. I'm not picky about software, but if there is anything better I will switch.
Ck thunar for cpu and then try pcmanfm. It's small and fast too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.