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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674838

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to