有时,我的专用服务器的所有网络都冻结(ssh也无法正常工作).它是随机重复的.
操作系统:Ubuntu 14.04.3 LTS
在服务器上安装的docker容器,我在dmesg日志中看到:
- [1568390.415464] IPv6: ADDRCONF(NETDEV_UP): veth70c3620: link is not ready
- [1568390.415571] docker0: port 2(vethfd09262) entered forwarding state
- [1568390.415575] docker0: port 2(vethfd09262) entered forwarding state
- [1568390.415586] IPv6: ADDRCONF(NETDEV_CHANGE): veth70c3620: link becomes ready
- [1568390.453889] eth0: renamed from veth70c3620
- [1568405.455565] docker0: port 2(vethfd09262) entered forwarding state
- [1568490.807194] aufs au_opts_verify:1612:docker[22618]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568490.839695] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568490.873185] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.213577] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.248730] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.292433] aufs au_opts_verify:1612:docker[22618]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.544051] aufs au_opts_verify:1612:docker[22618]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.571716] aufs au_opts_verify:1612:docker[22618]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.605760] aufs au_opts_verify:1612:docker[22618]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.858186] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.885767] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568491.919876] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568492.164684] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568492.197225] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568492.233425] aufs au_opts_verify:1612:docker[25041]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568502.618191] veth70c3620: renamed from eth0
- [1568502.653605] docker0: port 2(vethfd09262) entered disabled state
- [1568502.681529] docker0: port 2(vethfd09262) entered disabled state
- [1568502.682111] device vethfd09262 left promiscuous mode
- [1568502.682113] docker0: port 2(vethfd09262) entered disabled state
- [1568503.037301] aufs au_opts_verify:1612:docker[25411]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568503.071988] aufs au_opts_verify:1612:docker[25370]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568503.102768] aufs au_opts_verify:1612:docker[4932]: dirperm1 breaks the protection by the permission bits on the lower branch
- [1568503.103562] device veth6cd39d2 entered promiscuous mode
- [1568503.103649] IPv6: ADDRCONF(NETDEV_UP): vethffd65cb: link is not ready
- [1568503.103702] docker0: port 2(veth6cd39d2) entered forwarding state
- [1568503.103706] docker0: port 2(veth6cd39d2) entered forwarding state
- [1568503.103719] IPv6: ADDRCONF(NETDEV_CHANGE): vethffd65cb: link becomes ready
- [1568503.146365] eth0: renamed from vethffd65cb
- [1568518.132006] docker0: port 2(veth6cd39d2) entered forwarding state
Docker信息:
- Containers: 40
- Images: 538
- Storage Driver: aufs
- Root Dir: /var/lib/docker/aufs
- Backing Filesystem: extfs
- Dirs: 618
- Dirperm1 Supported: true
- Execution Driver: native-0.2
- Logging Driver: json-file
- Kernel Version: 3.19.0-25-generic
- Operating System: Ubuntu 14.04.3 LTS
- cpus: 8
- Total Memory: 31.29 GiB
- Name: crosspromo-inpgngno01.xxxxxxx
- ID: EOO2:DMGR:POHZ:VLKM:6KKZ:DX6S:5XIN:X4DA:22HH:L62N:FCI5:O32P
- WARNING: No swap limit support
uname -a
- Linux crosspromo-inpgngno01.xxxxxxx 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
那么:这个docker问题,还是上行链路接口坏了?
您正在运行一个已知不能与Docker一起使用的系统.
从错误来看,它只是反复崩溃系统.
从错误来看,它只是反复崩溃系统.
> AUFS不稳定,已知导致内核恐慌.
> Ubuntu 14正在运行一个缺少容器化关键组件的旧内核
>老版本的Docker,带着bug.
您可以从升级到Ubuntu 16.04 TLS开始(最新的写入时).祝Docker正常运行,默认设置通常不行.
基本上,Docker在大多数系统上完全破碎且不稳定.有关漫长而引人注目的版本,请参阅这些文章
> https://thehftguy.com/2016/11/01/docker-in-production-an-history-of-failure/
> https://thehftguy.com/2017/02/23/docker-in-production-an-update/