我的系统每分钟创建 1GB 的 syslog 文件 Docker 错误

我的系统每分钟创建 1GB 的 syslog 文件 Docker 错误

我正在使用 Ubuntu 18.04。最近每当我启动电脑时,我都会收到一条错误消息,提示您的 /root 目录中剩余 0 字节。我使用命令du发现和的/var/log/syslog大小/var/log/syslog.1非常大,syslog 大约 832M,syslog.1 大约 44G。我删除了 syslog.1,但我的 syslog 文件以每分钟约 1G 的速度增加。

系统日志详细信息:

samxaverian@sam-pc:~$ tail /var/log/syslog
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040442741+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040490440+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040548312+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040601064+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040647849+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040700726+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040758378+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040806368+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040855320+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby
Nov 20 09:50:36 sam-pc docker.dockerd[1845]: time="2019-11-20T09:50:36.040909485+05:30" level=error msg="failed to get event" error="rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = \"transport: Error while dialing dial unix /run/containerd/containerd.sock: connect: permission denied\"" module=libcontainerd namespace=moby

我注意到这个 docker 和 socket 连接错误正在反复出现。

相关内容