AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 1165857
Accepted
jjepsuomi
jjepsuomi
Asked: 2019-08-15 22:30:29 +0800 CST2019-08-15 22:30:29 +0800 CST 2019-08-15 22:30:29 +0800 CST

Ubuntu 18.04 中存储在 /var/log 中的巨大 syslog、syslog.1 和 kern.log 文件

  • 772

我最近在我的 PC 上将 Ubuntu 16.04 升级到 18.04(使用 Nvidia GeForce GTX 1080 Ti GPU),自从我的文件系统是从这些巨大的日志文件中建立起来的。每次我关闭我的电脑时,我都会收到无数的 pcieport 消息,直到电脑自行关闭。

昨天我把我的机器开着过夜,当我回到它时,有一个通知说磁盘空间已全部用完,即/dev/sda1100% 使用。我设法通过du-command 找到了这一点,并将问题定位到/var/log/-folder 中的日志文件,其中包含超过350GB.

目前,日志文件正在重新构建,现在它们占用的空间大约为150GB. 导致问题的日志文件是:syslog.1, syslog和kern.log

我的问题是:是什么导致了这个问题以及如何解决它?

我在下面列出了有关我的系统的信息和日志文件中的几行。我将再次删除它们,但无休止地删除它们似乎不是最好的长期解决方案。

Distributor ID: Ubuntu
Description:    Ubuntu 18.04.3 LTS
Release:    18.04
Codename:   bionic

nvidia-smi
Thu Aug 15 09:25:53 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.40       Driver Version: 430.40       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:01:00.0  On |                  N/A |
| 24%   58C    P0    67W / 250W |   1373MiB / 11177MiB |      1%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1298      G   /usr/lib/xorg/Xorg                            89MiB |
|    0      1337      G   /usr/bin/gnome-shell                          50MiB |
|    0      2258      G   /usr/lib/xorg/Xorg                           726MiB |
|    0      2465      G   /usr/bin/gnome-shell                         189MiB |
|    0     14914      G   ...e --type=gpu-process --field-trial-hand   154MiB |
|    0     18206      C   /usr/lib/libreoffice/program/soffice.bin     137MiB |
+-----------------------------------------------------------------------------+

lspci -vt
-[0000:00]-+-00.0  Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers
           +-01.0-[01]--+-00.0  NVIDIA Corporation GP102 [GeForce GTX 1080 Ti]
           |            \-00.1  NVIDIA Corporation GP102 HDMI Audio Controller
           +-02.0  Intel Corporation Device 3e92
           +-14.0  Intel Corporation 200 Series/Z370 Chipset Family USB 3.0 xHCI Controller
           +-16.0  Intel Corporation 200 Series PCH CSME HECI #1
           +-17.0  Intel Corporation 200 Series PCH SATA controller [AHCI mode]
           +-1b.0-[02]--
           +-1c.0-[03]--
           +-1c.4-[04]----00.0  ASMedia Technology Inc. Device 2142
           +-1c.7-[05]----00.0  Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter
           +-1d.0-[06]--
           +-1f.0  Intel Corporation Z370 Chipset LPC/eSPI Controller
           +-1f.2  Intel Corporation 200 Series/Z370 Chipset Family Power Management Controller
           +-1f.3  Intel Corporation 200 Series PCH HD Audio
           +-1f.4  Intel Corporation 200 Series/Z370 Chipset Family SMBus Controller
           \-1f.6  Intel Corporation Ethernet Connection (2) I219-V

系统日志.1

Aug 14 10:14:03 user kernel: [   10.680132] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   10.680135] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   10.680135] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   10.680136] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   10.680187] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   10.680190] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   10.680190] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   10.680191] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   10.680281] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   10.680284] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   10.680284] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   10.680285] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   10.680374] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   10.680378] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   10.680379] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   10.680380] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   10.680586] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   10.680590] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   10.680591] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   10.680591] pcieport 0000:00:1c.7:    [ 0] RxErr                 

系统日志

Aug 15 09:04:23 user kernel: [  307.590656] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 15 09:04:23 user kernel: [  307.590836] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 15 09:04:23 user kernel: [  307.590841] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 15 09:04:23 user kernel: [  307.590843] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 15 09:04:23 user kernel: [  307.590844] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 15 09:04:23 user kernel: [  307.591125] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 15 09:04:23 user kernel: [  307.591134] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 15 09:04:23 user kernel: [  307.591135] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 15 09:04:23 user kernel: [  307.591136] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 15 09:04:23 user kernel: [  307.591414] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 15 09:04:23 user kernel: [  307.591419] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 15 09:04:23 user kernel: [  307.591420] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 15 09:04:23 user kernel: [  307.591422] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 15 09:04:23 user kernel: [  307.591607] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 15 09:04:23 user kernel: [  307.591614] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 15 09:04:23 user kernel: [  307.591616] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 15 09:04:23 user kernel: [  307.591617] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 15 09:04:23 user kernel: [  307.591896] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 15 09:04:23 user kernel: [  307.591901] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)

内核日志

Aug 14 10:14:03 user kernel: [   11.219257] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   11.219259] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   11.219260] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   11.219260] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   11.219443] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   11.219448] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   11.219448] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   11.219449] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   11.219714] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   11.219717] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   11.219718] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   11.219718] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   11.219916] pcieport 0000:00:1c.7: AER: Multiple Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   11.219922] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   11.219923] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   11.219924] pcieport 0000:00:1c.7:    [ 0] RxErr                 
Aug 14 10:14:03 user kernel: [   11.220101] pcieport 0000:00:1c.7: AER: Corrected error received: 0000:00:1c.7
Aug 14 10:14:03 user kernel: [   11.220104] pcieport 0000:00:1c.7: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Aug 14 10:14:03 user kernel: [   11.220105] pcieport 0000:00:1c.7:   device [8086:a297] error status/mask=00000001/00002000
Aug 14 10:14:03 user kernel: [   11.220105] pcieport 0000:00:1c.7:    [ 0] RxErr                 
log nvidia pcie 18.04
  • 1 1 个回答
  • 3293 Views

1 个回答

  • Voted
  1. Best Answer
    jjepsuomi
    2019-08-16T03:28:02+08:002019-08-16T03:28:02+08:00

    通过使用此处的说明,我已经解决了问题(我认为):

    https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1521173

    解决方法:将 pci=noaer 添加到内核命令行:

    (1) 编辑 /etc/default/grub 并将 pci=noaer 添加到以 GRUB_CMDLINE_LINUX_DEFAULT 开头的行。它看起来像这样:

    GRUB_CMDLINE_LINUX_DEFAULT="安静飞溅 pci=noaer"

    (2) 运行“sudo update-grub”

    (3) 重启

    实施这些步骤pcieport后,关闭系​​统后我不再收到 -messages,并且日志文件的大小停止了大幅增长。

    但是,我不知道这是否解决了错误消息的根本原因......

    • 0

相关问题

  • 如何更改确定有效用户密码的规则?[关闭]

  • 10.04 Lucid 中的多席位状态如何?[关闭]

  • 我如何知道 Ubuntu 的安装日期?

  • 升级到 10.04 后字体模糊,Nvidia 问题?

  • 帮助让 Flash 播放器在第二个屏幕上工作?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve