Hi there.

I have encountered the same issue as Dennis Sheil in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838/comments/18
post.

The same way, was using firefox which in turn became unresponsive.

The difference is that I am running firefox v53.0 in docker
(v17.04.0-ce) using ``--kernel-memory=2G`` to limit it. Then I've
increased that limit once it has been reached up to 4G. (``docker update
--kernel-memory=4G firefox``). Shortly after that firefox became
unresponsive.


Please find attached dmesg logs in dmesg-firefox-kernel-swap-bug.txt
Linux kernel ver. 4.10.0-19-generic

And below are some outputs while I've hit that problem, hopefully some
useful info in there:

```
$ df   (hanged)

root@sony:~# ps auxww |grep Z
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
arno      8866  5.0  0.0      0     0 ?        Zl   00:18  70:14 [firefox] 
<defunct>
arno      8908 10.2  0.0      0     0 ?        Z    00:18 142:19 [Web Content] 
<defunct>

arno@sony:~$ mount |grep -i docker
rpool/docker on /var/lib/docker type zfs (rw,nodev,noatime,xattr,noacl)
rpool/docker on /var/lib/docker/zfs type zfs (rw,nodev,noatime,xattr,noacl)
rpool/docker/96f7e9089ac7e330e9868d3ff4530b39364e574a3a32479d7c3ca41f2ad76476 
on 
/var/lib/docker/zfs/graph/96f7e9089ac7e330e9868d3ff4530b39364e574a3a32479d7c3ca41f2ad76476
 type zfs (rw,relatime,xattr,noacl)
shm on 
/var/lib/docker/containers/7e253eea4f68195d1085aeb69d7f0428f0106cb414c66a27e03dab27a814b37f/shm
 type tmpfs (rw,nosuid,nodev,noexec,relatime,size=2097152k)
nsfs on /run/docker/netns/c1194198f0d2 type nsfs (rw)
```

Very strange part is that my SWAP file got reduced itself down to 16MiB:

```
root@sony:~# swapoff -a
hanged ...
though reduced swap usage down to 16M  (and Swap Total !!)

arno@sony:~$ free -mh
              total        used        free      shared  buff/cache   available
Mem:           7.7G        1.9G        3.5G        710M        2.3G        3.6G
Swap:           16M         16M          0B

arno@sony:~$ free -b
              total        used        free      shared  buff/cache   available
Mem:     8270503936  2048671744  3625005056   745644032  2596827136  3855400960
Swap:      17055744    17055744           0
```


Whilst, I should normally have 8GiB swap:

```
root@sony:~# free -mh
              total        used        free      shared  buff/cache   available
Mem:           7.7G        2.0G        4.1G        473M        1.6G        4.4G
Swap:          8.0G          0B        8.0G
root@sony:~# free -b
              total        used        free      shared  buff/cache   available
Mem:     8270512128  2095005696  4448485376   496779264  1727021056  4701388800
Swap:    8589930496           0  8589930496
root@sony:~# 
```


** Attachment added: "dmesg-firefox-kernel-swap-bug.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838/+attachment/4867386/+files/dmesg-firefox-kernel-swap-bug.txt

-- 
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/1674838

Title:
  kernel BUG at /build/linux-
  7LGLH_/linux-4.10.0/include/linux/swapops.h:129

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Zesty:
  In Progress

Bug description:
  Randomly, khugepaged process will take 100% CPU, and I can only
  restart the computer to recover it.

  Relevant dmesg attached (dmesg_crash.txt).

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: linux-image-4.10.0-14-generic 4.10.0-14.16
  ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
  Uname: Linux 4.10.0-14-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  mathieu    2221 F.... pulseaudio
   /dev/snd/pcmC1D0p:   mathieu    2221 F...m pulseaudio
   /dev/snd/controlC1:  mathieu    2221 F.... pulseaudio
  CurrentDesktop: Unity:Unity7
  Date: Tue Mar 21 23:03:23 2017
  HibernationDevice: RESUME=UUID=67e78e4c-94ee-447c-ae60-4387dae296dd
  InstallationDate: Installed on 2016-01-31 (415 days ago)
  InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160131)
  MachineType: LENOVO 20344
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.10.0-14-generic 
root=UUID=b982929e-11d0-4984-885c-6c9daba24836 ro noprompt quiet splash 
vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-4.10.0-14-generic N/A
   linux-backports-modules-4.10.0-14-generic  N/A
   linux-firmware                             1.164
  SourcePackage: linux
  UpgradeStatus: Upgraded to zesty on 2017-03-02 (19 days ago)
  dmi.bios.date: 10/16/2014
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 96CN29WW(V1.15)
  dmi.board.asset.tag: 31900058WIN
  dmi.board.name: INVALID
  dmi.board.vendor: LENOVO
  dmi.board.version: 31900058WIN
  dmi.chassis.asset.tag: 31900058WIN
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Lenovo Yoga 2 13
  dmi.modalias: 
dmi:bvnLENOVO:bvr96CN29WW(V1.15):bd10/16/2014:svnLENOVO:pn20344:pvrLenovoYoga213:rvnLENOVO:rnINVALID:rvr31900058WIN:cvnLENOVO:ct10:cvrLenovoYoga213:
  dmi.product.name: 20344
  dmi.product.version: Lenovo Yoga 2 13
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1674838/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to