华硕z790主板安装ubuntu2204后系统日志膨胀

查看系统日志

日志文件大小超过10G,以下内容不断重复

Jul  3 10:23:19 server3 kernel: [325275.103731] pcieport 0000:00:01.1: AER: Corrected error received: 0000:02:00.0
Jul  3 10:23:19 server3 kernel: [325275.103732] nvme 0000:02:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Jul  3 10:23:19 server3 kernel: [325275.103733] nvme 0000:02:00.0:   device [8086:0b60] error status/mask=00000001/00002000
Jul  3 10:23:19 server3 kernel: [325275.103733] nvme 0000:02:00.0:    [ 0] RxErr                 
Jul  3 10:23:19 server3 kernel: [325275.103903] pcieport 0000:00:01.1: AER: Corrected error received: 0000:02:00.0
Jul  3 10:23:19 server3 kernel: [325275.103904] nvme 0000:02:00.0: PCIe Bus Error: severity=Corrected, type=Physical Layer, (Receiver ID)
Jul  3 10:23:19 server3 kernel: [325275.103904] nvme 0000:02:00.0:   device [8086:0b60] error status/mask=00000001/00002000
Jul  3 10:23:19 server3 kernel: [325275.103905] nvme 0000:02:00.0:    [ 0] RxErr 

解决方法

修改pcie_aspm=off

1、编辑GRUB

sudo nano /etc/default/grub

2、保存编辑:Ctrl + O 然后Enter 退出编辑:Ctrl + X

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash pcie_aspm=off"

3、更新 GRUB

sudo update-grub

4、重启机器

sudo reboot

你可能感兴趣的:(linux,运维,服务器)