![我的系统每分钟创建 1GB 的 syslog 文件 Docker 错误](https://linux22.com/image/1169247/%E6%88%91%E7%9A%84%E7%B3%BB%E7%BB%9F%E6%AF%8F%E5%88%86%E9%92%9F%E5%88%9B%E5%BB%BA%201GB%20%E7%9A%84%20syslog%20%E6%96%87%E4%BB%B6%20Docker%20%E9%94%99%E8%AF%AF.png)
我正在使用 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 连接错误正在反复出现。