<div dir="ltr"><div dir="ltr">On Wed, Jun 23, 2021 at 3:24 PM Krzysztof Kozlowski <<a href="mailto:krzysztof.kozlowski@canonical.com">krzysztof.kozlowski@canonical.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Why the filesystem fills up? Journald should have strict limits for its<br>
logs... unless we keep logging it to a file and ignore any journald<br>
MaxUse/KeepFree?<br></blockquote><div><br></div><div>/var/log/journald is about 1GB, the rest are kernel.log and syslog - 10G is the default openstack fs size:</div><div><br></div><div> $ df -h /</div><div>Filesystem Size Used Avail Use% Mounted on</div><div>/dev/vda1 9.7G 9.7G 0 100% /<br></div><div><br></div><div>$ du -hx --max-depth=1 /</div><div>9.6G /<br></div><div>5.3G /var<br></div><div>2.2G /usr<br></div><div>2.1G /home<br></div><div>...</div><div><br></div><div>-rw-r----- 1 syslog adm 1948643300 Jun 23 09:01 /var/log/kern.log<br></div><div>-rw-r----- 1 syslog adm 1949290433 Jun 23 14:12 /var/log/syslog<br></div><div><br></div><div>$ du -h --max-depth=1 /var/log/journal</div><div>970M journal<br></div><div><br></div><div>$ tail -n10 /var/log/syslog<br></div><div>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949015] flags: 0x3ffff80000202a(referenced|dirty|active|private)<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949018] raw: 003ffff80000202a c00000000d657960 c00000000d657960 c00000000bb66068<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949020] raw: 0000000000008000 c00000001653c5d8 00000003ffffffff c00000000dc43000<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949022] page dumped because: migration failure<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949023] pages's memcg:c00000000dc43000<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949057] migrating pfn 179a failed ret:1 <br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949059] page:000000000f1e9b6f refcount:3 mapcount:0 mapping:00000000652d2e2f index:0x8000 pfn:0x179a<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949061] aops:def_blk_aops ino:fc00001<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949063] flags: 0x3ffff80000202a(referenced|dirty|active|private)<br>Jun 23 09:00:21 ppisati-ppc64el-large kernel: [ 1293.949066] raw: 003ffff80000202a c00000000d657960 c00000000d657960 c00000000bb66068<br></div><div><br></div></div></div>