[PATCH] [act] UBUNTU: SAUCE: ubuntu_kernel_selftests: disable memory-hotplug
Krzysztof Kozlowski
krzysztof.kozlowski at canonical.com
Thu Jun 24 08:03:31 UTC 2021
On 23/06/2021 16:32, Paolo Pisati wrote:
> On Wed, Jun 23, 2021 at 3:24 PM Krzysztof Kozlowski
> <krzysztof.kozlowski at canonical.com
> <mailto:krzysztof.kozlowski at canonical.com>> wrote:
>
>
> Why the filesystem fills up? Journald should have strict limits for its
> logs... unless we keep logging it to a file and ignore any journald
> MaxUse/KeepFree?
>
>
> /var/log/journald is about 1GB, the rest are kernel.log and syslog - 10G
> is the default openstack fs size:
>
> $ df -h /
> Filesystem Size Used Avail Use% Mounted on
> /dev/vda1 9.7G 9.7G 0 100% /
>
> $ du -hx --max-depth=1 /
> 9.6G /
> 5.3G /var
> 2.2G /usr
> 2.1G /home
> ...
>
> -rw-r----- 1 syslog adm 1948643300 Jun 23 09:01 /var/log/kern.log
> -rw-r----- 1 syslog adm 1949290433 Jun 23 14:12 /var/log/syslog
It's the old-syslog logging which can eat entire disk without any
self-control. :)
I understand the problem now and indeed disabling test makes sense.
However how about still keep it for few selected (always passing)
systems? This could be specific flavor/cloud with free disk space
constraint.
>
> $ du -h --max-depth=1 /var/log/journal
> 970M journal
>
> $ tail -n10 /var/log/syslog
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949015] flags:
> 0x3ffff80000202a(referenced|dirty|active|private)
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949018] raw:
> 003ffff80000202a c00000000d657960 c00000000d657960 c00000000bb66068
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949020] raw:
> 0000000000008000 c00000001653c5d8 00000003ffffffff c00000000dc43000
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949022] page dumped
> because: migration failure
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949023] pages's
> memcg:c00000000dc43000
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949057] migrating
> pfn 179a failed ret:1
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949059]
> page:000000000f1e9b6f refcount:3 mapcount:0 mapping:00000000652d2e2f
> index:0x8000 pfn:0x179a
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949061]
> aops:def_blk_aops ino:fc00001
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949063] flags:
> 0x3ffff80000202a(referenced|dirty|active|private)
> Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949066] raw:
> 003ffff80000202a c00000000d657960 c00000000d657960 c00000000bb66068
>
Best regards,
Krzysztof
More information about the kernel-team
mailing list