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.
I am currently running Mint 18.3 initially installed with KDE, now usually run Xfce and have done so for a while without problems until a recent update. Now the cpu is racing away at an average of about 25%, this is shared over 6 processors. It has nothing running apart from the Xfce gui. Usually this would only average about 0.1 to 2% but it runs at 25% unless I run top which (without me doing anything else) seems to quell the enthusiasm of the offending processes and usage returns to normal, providing I don't shutdown top.
The offending processes have been:
systemd
gvfsd
systemctl
but not all at once, i, e, only one at once. (as reported by top)
Also it will behave itself if I don't login from the splash page but give Ctrl+Alt+F1 login from a terminal and give startx to start Xfce.
This behavior also happens with KDE.
Yes and all appears well until I shutdown top then cpu usage creeps up to the same level. If I leave the system running without top, for say an hour it will be at about 50% and nothing is running apart from Xfce.
I have to leave top running if I want to keep cpu usage at normal levels.
I would be looking very closely for something like a mining malware sneaking around. I'm sure I saw something a while back about one that kept a lookout for things that could monitor it.
Try ps (without top running) and see if anything looks suspect.
I did try diff on the 2 ps versions and it did spit out a lot differences, as you would expect really with different cpu usages at specific times.
I could attach all 3 files if that would help but I think the offending process is hiding behind a legitimate process like systemd, systemctl and ibus-x11, all of which have seen extra activity unexpectedly.
I also ran a clamscan on the whole system but all that came up with was an old "Windows" file that had been on there for ages.
I was thinking of reinstalling with Mint 19 and reintroducing a backup of my data, hopefully that won't reintroduce the problem, any thoughts?
I'm not suggesting making the /bin, & /sbin (/usr/bin, /usr/local, /opt, etc) directories non executable, but the datadirectories. Particularly in your home dir. By default directories get 0755, but in files owned by you in your root drive. That means others can ls the files, but not cd into the directories or execute them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.