【转】Logs flooded with systemd messages: Created slice

【转】Logs flooded with systemd messages: Created slice

https://access.redhat.com/solutions/1564823

日志中出现很多:

Jul 24 08:50:01 example.com systemd: Created slice user-0.slice.
Jul 24 08:50:01 example.com systemd: Starting Session 150 of user root.
Jul 24 08:50:01 example.com systemd: Started Session 150 of user root.
Jul 24 09:00:01 example.com systemd: Created slice user-0.slice.
Jul 24 09:00:02 example.com systemd: Starting Session 151 of user root.
Jul 24 09:00:02 example.com systemd: Started Session 151 of user root.

解决方案:

https://access.redhat.com/solutions/1564823

注:

redhat官方给出的解决方法是屏蔽这种日志的写入,因为只要有用户登录,就会有这种日志,它认为这是正常的行为。

发表评论