You can also look at what is pulling the input/output subsystem:
- display and accumulate only those altlinux and root user processes that pull
I/O and update with a frequency of one second:
Code: [Select]
# iotop -d 1 -u altlinux -u root -o -a
Process activity statistics in iotop, in a live system with
xfce+systemd:
Total DISK READ: 0.00 B/s | Total DISK WRITE: 1628.33 B/s
TID PRIO USER DISK READ DISK WRITE SWAPIN IO> COMMAND
3773 be/4 altlinux 0.00 B 4.75 M 0.00 % 0.63 % firefox-bin
4602 be/4 root 0.00 B 64.00 K 0.00 % 0.78 % [kworker/u2:22]
3948 be/4 root 0.00 B 0.00 B 0.00 % 0.10 % [kworker/0:0]
319 be/4 root 40.00 K 7.72 M 0.00 % 0.08 % systemd-journald
3760 be/4 altlinux 0.00 B 13.12 M 0.00 % 0.04 % firefox-bin
4856 be/4 root 0.00 B 0.00 B 0.00 % 0.36 % [kworker/0:1]
169 be/0 root 1912.00 K 0.00 B 0.00 % 0.04 % [loop0]
3810 be/4 altlinux 0.00 B 8.54 M 0.00 % 0.02 % firefox-bin
1146 be/4 altlinux 0.00 B 52.00 K 0.00 % 0.02 % xfconfd
3746 be/4 altlinux 0.00 B 1388.00 K 0.00 % 0.02 % firefox-bin
1178 be/4 root 0.00 B 212.00 K 0.00 % 0.02 % upowerd
878 be/4 root 4.00 K 68.00 K 0.00 % 0.01 % NetworkManager
--no-daemon
936 be/4 root 0.00 B 20.00 K 0.00 % 0.00 % X :0 -auth
/var/run/light~isten tcp vt7 -novtswitch
1159 be/4 altlinux 104.00 K 24.00 K 0.00 % 0.00 % xfce4-panel
326 be/4 root 8.00 K 20.00 K 0.00 % 0.00 % systemd-udevd
1217 be/4 root 0.00 B 0.00 B 0.00 % 0.00 % udisksd --no-debug
1 be/4 root 0.00 B 4.00 K 0.00 % 0.00 % init
https://myessaytyper.ai/
1148 be/4 altlinux 0.00 B 24.00 K 0.00 % 0.00 % xfce4-session
1165 be/4 altlinux 0.00 B 4.00 K 0.00 % 0.00 % nm-applet
1261 be/4 altlinux 0.00 B 24.00 K 0.00 % 0.00 % wrapper
/usr/lib/xfce4/pa~другие системные действия
3745 be/4 altlinux 0.00 B 3.36 M 0.00 % 0.00 % firefox-bin
3747 be/4 altlinux 0.00 B 32.00 K 0.00 % 0.00 % firefox-bin
3777 be/4 altlinux 0.00 B 9.54 M 0.00 % 0.00 % firefox-bin
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1518457
Title:
kswapd0 100% CPU usage
Status in Linux:
Confirmed
Status in linux package in Ubuntu:
Fix Released
Status in linux source package in Xenial:
Fix Released
Status in linux source package in Yakkety:
Fix Released
Bug description:
As per bug 721896 and various others:
I'm on an AWS t2.micro instance (Xeon E5-2670, 991MiB of memory).
Occasionally (about once a day), kswapd0 falls into a busy loop and
spins on 100% CPU usage indefinitely. This can be provoked by
copying/writing large files (e.g. dding a 256MB file), but it happens
occasionally otherwise. System memory usage (not including
buffers/caches) currently sits at 36%, which is typical[1]. Initially
I had no swap space configured; I've since tried enabling a 256MB swap
file, but the problem continues to occur and no swap space is used.
The system can be recovered with `echo 1 > /proc/sys/vm/drop_caches`.
Happy to provide further information/take further debugging actions.
[1] Full output from `free`:
total used free shared buffers cached
Mem: 1014936 483448 531488 28556 9756 112700
-/+ buffers/cache: 360992 653944
Swap: 262140 0 262140
ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: linux-image-4.2.0-18-generic 4.2.0-18.22
ProcVersionSignature: Ubuntu 4.2.0-18.22-generic 4.2.3
Uname: Linux 4.2.0-18-generic x86_64
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Nov 19 19:40 seq
crw-rw---- 1 root audio 116, 33 Nov 19 19:40 timer
AplayDevices: Error: [Errno 2] No such file or directory: 'aplay'
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord'
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq',
'/dev/snd/timer'] failed with exit code 1:
CRDA: N/A
Date: Fri Nov 20 20:44:30 2015
Ec2AMI: ami-1c552a76
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: us-east-1d
Ec2InstanceType: t2.micro
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig'
Lsusb: Error: command ['lsusb'] failed with exit code 1: unable to initialize
libusb: -99
MachineType: Xen HVM domU
PciMultimedia:
ProcEnviron:
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 xen
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.2.0-18-generic
root=UUID=35bc01f4-4602-4823-976e-508edef899df ro console=tty1 console=ttyS0
net.ifnames=0
RelatedPackageVersions:
linux-restricted-modules-4.2.0-18-generic N/A
linux-backports-modules-4.2.0-18-generic N/A
linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 05/06/2015
dmi.bios.vendor: Xen
dmi.bios.version: 4.2.amazon
dmi.chassis.type: 1
dmi.chassis.vendor: Xen
dmi.modalias:
dmi:bvnXen:bvr4.2.amazon:bd05/06/2015:svnXen:pnHVMdomU:pvr4.2.amazon:cvnXen:ct1:cvr:
dmi.product.name: HVM domU
dmi.product.version: 4.2.amazon
dmi.sys.vendor: Xen
To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1518457/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp