jbd2/sda2-8利用磁盘I/O和Xorg.0.log日志

jbd2/sda2-8利用磁盘I/O和Xorg.0.log日志

我注意到它jbd2/sda2-8始终使用磁盘并iotop显示 IO% 在 1%-5% 之间。

我检查了日志,发现 Xorg.0.log 相当大。我发现连接和断开很频繁。有没有办法减少这种情况。

[root@vmcloudm51 autoit]# tail -f /var/log/Xorg.0.log
[177501.285] AUDIT: Tue Feb 28 14:00:23 2023: 3444: client 19 disconnected
[177531.342] AUDIT: Tue Feb 28 14:00:53 2023: 3444: client 19 connected from local host ( uid=986 gid=1009 pid=29884 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 919
[177531.343] AUDIT: Tue Feb 28 14:00:53 2023: 3444: client 19 disconnected
[177561.398] AUDIT: Tue Feb 28 14:01:23 2023: 3444: client 19 connected from local host ( uid=986 gid=1009 pid=29884 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 919
[177561.399] AUDIT: Tue Feb 28 14:01:23 2023: 3444: client 19 disconnected
[177591.541] AUDIT: Tue Feb 28 14:01:53 2023: 3444: client 19 connected from local host ( uid=986 gid=1009 pid=29884 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 919
[177591.557] AUDIT: Tue Feb 28 14:01:53 2023: 3444: client 19 disconnected
[177621.616] AUDIT: Tue Feb 28 14:02:23 2023: 3444: client 19 connected from local host ( uid=986 gid=1009 pid=29884 )
  Auth name: MIT-MAGIC-COOKIE-1 ID: 919
[177621.617] AUDIT: Tue Feb 28 14:02:23 2023: 3444: client 19 disconnected

答案1

这可能不是原因,但有一个选择-审计数字到可用于在 stderr 上获取此类消息的 Xorg 服务器。看man Xserver。如果您可以在进程命令行上看到该选项的值为2或更大,则需要找到它的设置位置并将其更改为 1 或 0:

默认级别为 1,表示仅报告连接拒绝。 2 级还报告所有成功的连接和断开连接。 [...] 0 级关闭审计跟踪。审核行作为标准错误输出发送。

相关内容