KiB Mem : 49295032 total, 1546856 free, 41314504 used, 6433672 buff/cache
KiB Swap: 33554428 total, 25945196 free, 7609232 used. 6206172 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7953 root 20 0 33.439g 0.025t 17648 S 5.9 53.9 10078:10 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock
其中 dockerd 主行程,占用記憶體 53.9% 大約 26G記憶體,服務器本身只運行了一個es容器,其他沒有什么東西
這個有沒有大神幫助分析怎么釋放記憶體,原因又在哪邊
uj5u.com熱心網友回復:
[app@host150 ~]$ docker infoContainers: 5
Running: 1
Paused: 0
Stopped: 4
Images: 40
Server Version: 18.09.6
Storage Driver: devicemapper
Pool Name: docker-253:0-1611340789-pool
Pool Blocksize: 65.54kB
Base Device Size: 10.74GB
Backing Filesystem: xfs
Udev Sync Supported: true
Data file: /dev/loop0
Metadata file: /dev/loop1
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 21.2GB
Data Space Total: 107.4GB
Data Space Available: 86.18GB
Metadata Space Used: 27.16MB
Metadata Space Total: 2.147GB
Metadata Space Available: 2.12GB
Thin Pool Minimum Free Space: 10.74GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.149-RHEL7 (2018-07-20)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: active
NodeID: hq7jkaks09as4shh0y54zhnbo
Is Manager: true
ClusterID: yun5g2rbxgfy1vkejeb40tlc3
Managers: 3
Nodes: 3
Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Orchestration:
Task History Retention Limit: 5
Raft:
Snapshot Interval: 10000
Number of Old Snapshots to Retain: 0
Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 months
Force Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
Node Address: 10.0.0.150
Manager Addresses:
10.0.0.150:2377
10.0.0.151:2377
10.0.0.152:2377
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
runc version: 2b18fe1d885ee5083ef9f0838fee39b62d653e30
init version: fec3683
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-327.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 47.01GiB
Name: host150
ID: QY5H:KWFY:CFZK:DOSR:OP6G:QSWS:IC4V:FKJC:ZPKE:G5IR:NBRX:YVDH
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/257266.html
標籤:Docker
上一篇:ESP-01
