[PVE-User] PVE5/LXC CPU Shows Crazy Percentage?

Devin Acosta devin at pabstatencio.com
Sun Jul 9 04:49:30 CEST 2017


I am running the latest release of Proxmox and I am using LXC containers. I
notice that it appears that when processes run that "top" can provide crazy
numbers and almost not realistic. I installed Nessus and it was just
downloading plugins, not even doing a scan, and it says 2400% CPU load,
when the box is only 2.5x. Is this a common issue with LXC not reporting
correct percentages?

top - 22:46:58 up 0 min,  1 user,  load average: 2.52, 1.78, 0.85
Tasks:  22 total,   1 running,  21 sleeping,   0 stopped,   0 zombie
%Cpu(s): 60.6 us,  3.4 sy,  0.0 ni, 36.0 id,  0.0 wa,  0.0 hi,  0.0 si,
 0.0 st
KiB Mem :  4194304 total,   787784 free,   310964 used,  3095556 buff/cache
KiB Swap:  4194304 total,  4194304 free,        0 used.   787784 avail Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
  528 root      20   0  503520 144832   7240 S  2400  3.5  10:41.94 nessusd
    1 root      20   0   41012   4828   3720 S   0.0  0.1   0:00.16 systemd
   37 root      20   0   36828   6512   6220 S   0.0  0.2   0:00.04
systemd-journal
   56 root      20   0   82568   6128   5268 S   0.0  0.1   0:00.00 sshd
   57 root      20   0  221892   4580   3760 S   0.0  0.1   0:00.00 rsyslogd
   58 root      20   0   26540   2864   2588 S   0.0  0.1   0:00.00
systemd-logind
   59 root      20   0  221848   7336   5488 S   0.0  0.2   0:00.05 httpd
   61 dbus      20   0   26584   2816   2488 S   0.0  0.1   0:00.03
dbus-daemon
   67 root      20   0   71344   1828   1144 S   0.0  0.0   0:00.00
saslauthd
   71 root      20   0    6464   1760   1640 S   0.0  0.0   0:00.00 agetty
   72 root      20   0    6464   1640   1524 S   0.0  0.0   0:00.00 agetty
   73 root      20   0   22764   2720   2108 S   0.0  0.1   0:00.00 crond
   74 root      20   0    6464   1564   1436 S   0.0  0.0   0:00.00 agetty
   76 root      20   0   71344    684      0 S   0.0  0.0   0:00.00
saslauthd
   77 root      20   0   27188   1572   1340 S   0.0  0.0   0:00.00 xinetd
   91 root      20   0   90292   3452   1716 S   0.0  0.1   0:00.01 sendmail
   95 apache    20   0  221848   4028   2168 S   0.0  0.1   0:00.00 httpd
  114 smmsp     20   0   85736   3428   1904 S   0.0  0.1   0:00.00 sendmail
  295 root      20   0  136876   7800   6540 S   0.0  0.2   0:00.07 sshd
  297 root      20   0   11784   2988   2592 S   0.0  0.1   0:00.03 bash
  356 root      20   0    6484   1444   1336 S   0.0  0.0   0:00.00
nessus-service
  570 root      20   0   51888   3728   3128 R   0.0  0.1   0:00.00 top

-- 

Devin Acosta
Red Hat Certified Architect, LinuxStack



More information about the pve-user mailing list