Choose style:

Author Topic: Unusual CPU load  (Read 1077 times)

0 Members and 1 Guest are viewing this topic.

Offline amlc

  • Newly Subscribed
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Unusual CPU load
« on: May 27, 2018, 09:56:37 pm »
Hi! I've installed Peppermit 8 a few weeks ago, and I'm very happy. But i've been experiencing a little problem in recent days. My CPU load is unusually high (~60-100%). When I installed Peppermint, I could open up to 10 tabs on my browser, maybe two of them were Youtube, and the others were simple webs. I had ~50% CPU load average, in the most heavy use maybe 60%. But now I get more than 60% with just two tabs open on Firefox, and videos glitches sometimes. I'll be grateful  if one of you guys help me  :(
Have a good day and keep the great work!

Best wishes, Mateo.

Offline alynur

  • Trusted User
  • Veteran
  • *****
  • Posts: 1149
  • Karma: 83
  • Habitual Forum Browser
    • View Profile
  • Peppermint version(s): P 9R (64bit), P 10
Re: Unusual CPU load
« Reply #1 on: May 28, 2018, 12:21:14 am »
Hi amlc, welcome to Peppermint. Could you post your computer info so the people here can get an idea of what might be happening? Open a terminal and run:
Code: [Select]
inxi -Fz
Copy and paste the output back here and encapsulate it with the insert code, the # insignia above. Someone will get back with you.
« Last Edit: May 28, 2018, 06:57:50 am by PCNetSpec »
What was I thinking?

Offline VinDSL

  • Administrator
  • Hero
  • *****
  • Posts: 5595
  • Karma: 1012
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Unusual CPU load
« Reply #2 on: May 28, 2018, 02:06:55 am »
Hrm... Interesting.

I've got 21 sites open in tabs, in 2 opera browsers, including steaming audio and YT - a mail client - a podcatcher playing a podcast - and Conky, refreshing the stats ever 2 seconds.

My rig is using 3.72 GB RAM & 18% CPU (Core i5) .

Maybe one of your sites is haxoring your rig for cryptomining   :-\

Offline amlc

  • Newly Subscribed
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Re: Unusual CPU load
« Reply #3 on: May 28, 2018, 02:54:39 pm »
Hi, the output for
Code: [Select]
inxi -Fz
is:
Code: [Select]
System:    Host: N5010 Kernel: 4.13.0-43-generic x86_64 (64 bit) Desktop: N/A
           Distro: Peppermint Eight
Machine:   Mobo: Dell model: 0WXY9J v: A12 Bios: Dell v: A12 date: 01/25/2011
CPU:       Dual core Intel Pentium P6200 (-MCP-) cache: 3072 KB
           clock speeds: max: 2128 MHz 1: 1489 MHz 2: 1230 MHz
Graphics:  Card: Intel Core Processor Integrated Graphics Controller
           Display Server: X.Org 1.19.5 drivers: (unloaded: fbdev,vesa)
           Resolution: 1366x768@60.00hz
           GLX Renderer: Mesa DRI Intel Ironlake Mobile GLX Version: 2.1 Mesa 17.0.2
Audio:     Card Intel 5 Series/3400 Series High Definition Audio
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.13.0-43-generic
Network:   Card-1: Broadcom BCM4313 802.11bgn Wireless Network Adapter
           driver: bcma-pci-bridge
           IF: wlp18s0b1 state: up mac: <filter>
           Card-2: Realtek RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           driver: r8169
           IF: enp19s0 state: down mac: <filter>
Drives:    HDD Total Size: 500.1GB (4.5% used)
           ID-1: /dev/sda model: TOSHIBA_MQ01ABF0 size: 500.1GB
Partition: ID-1: / size: 450G used: 18G (5%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 54.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 161 Uptime: 13 min Memory: 1127.1/3746.8MB
           Client: Shell (bash) inxi: 2.2.35

It's kinda weird, right now my PC is running smoothly, no issues, but I can't be sure if it'll be the same the next time I turn it on.
Have a good day and keep the great work!

Best wishes, Mateo.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unusual CPU load
« Reply #4 on: May 28, 2018, 06:12:33 pm »
Open a terminal and run:
Code: [Select]
top
and try to see which process is at the top that's hammering the CPU
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline amlc

  • Newly Subscribed
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Re: Unusual CPU load
« Reply #5 on: May 28, 2018, 07:01:46 pm »
Hi PCNetSpec. Xorg and Firefox are the heaviest task, but as I said, suddenly this time my PC is working well. I'd say it's a systemd problem, i had lubuntu and my PC was a toaster. Peppermint has been my saver.
Have a good day and keep the great work!

Best wishes, Mateo.

Offline pin

  • Trusted User
  • Veteran
  • *****
  • Posts: 1840
  • Karma: 272
    • View Profile
Re: Unusual CPU load
« Reply #6 on: May 28, 2018, 10:26:37 pm »


...I'd say it's a systemd problem, i had lubuntu and my PC was a toaster. Peppermint has been my saver.

?? Both distros use systemd, so what would the difference be ??


Skickat från min SM-G900F via Tapatalk


Offline amlc

  • Newly Subscribed
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Re: Unusual CPU load
« Reply #7 on: May 28, 2018, 10:42:14 pm »


...I'd say it's a systemd problem, i had lubuntu and my PC was a toaster. Peppermint has been my saver.

?? Both distros use systemd, so what would the difference be ??


Skickat från min SM-G900F via Tapatalk

I don't know, systemd was the heaviest task on lubuntu  :-\
Have a good day and keep the great work!

Best wishes, Mateo.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26466
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Unusual CPU load
« Reply #8 on: May 29, 2018, 01:22:51 am »
Funny you should mention systemd

The crypto mining malware that got into the snap store hid itself as a process called "systemd" and that would certainly hog the CPU

https://itsfoss.com/snapstore-cryptocurrency-saga/
(and other sources)

The affected snaps were games IIRC, so have you installed any games as snaps ?

Apparently Ubuntu released updates for the affected snaps with the crypto miner removed .. which might explain why things are okay again.

This is exactly what I don't like about snaps .. Ubuntu are trying to defend snaps by saying, hey the guy could have done the same thing with a .deb .. well that's a bit misleading in my opinion because it doesn't take into account two things

a) if it were a .deb, to get it into the default repos would have been much harder, and would have subjected it to many more prying eyes.

b) In this case he'd submitted the source code, but from what  I gather, snaps are (or at least were) going to allow pre-compiled binaries to be included .. something you can't do in the main repos, or even launchpad PPA's, the source code is ALWAYS available for peer review in the main repos and PPA's .. that's not going to be the case for snaps .. and if snaps aren't going to allow pre-compiled binaries, I'm not really seeing the 'problem; they're supposed to solve ? ("solve" is used loosely here).
« Last Edit: May 29, 2018, 01:24:46 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline amlc

  • Newly Subscribed
  • *
  • Posts: 15
  • Karma: 4
  • Trying to learn :)
    • View Profile
  • Peppermint version(s): 8
Re: Unusual CPU load
« Reply #9 on: May 29, 2018, 12:47:00 pm »
Maybe I was used to mining  :( but everything is Ok again, Peppermint running like a cheetah.
Have a good day and keep the great work!

Best wishes, Mateo.