Home > other >  Dockerd takes up a lot of memory, for unknown reasons
Dockerd takes up a lot of memory, for unknown reasons

Time:02-07

KiB Mem: total 49295032, 1546856 free, 41314504 2, 6433672 buff/cache
KiB Swap: total 33554428, 25945196 free, 7609232 2. 6206172 the avail Mem
PID USER PR NI VIRT RES SHR S % % MEM CPU TIME + COMMAND 7953 root 20 0 33.439 g 0.025 t 17648 S 5.9 53.9 10078:10/usr/bin/dockerd -h fd://-- containerd=/run/containerd containerd. The sock

53.9% of dockerd main process, memory about 26 gb of memory, the server itself only run an es container, other nothing

Did the great god help analysis how to release the memory, why and where

CodePudding user response:

[app @ host150 ~] $docker info
5 Containers:
Running: 1
Paused: 0
Stopped: 4
Images: 40
Server Version: 18.09.6
Storage Driver: the devicemapper
The Pool Name: docker - 253:0-1611340789 - Pool
The Pool Blocksize: 65.54 kB
The Base Device Size: 10.74 GB
Backing Filesystem: XFS
Udev Sync Supported: true
The Data file:/dev/loop0
The Metadata file:/dev/loop1
Data loop file:/var/lib/docker devicemapper/devicemapper/Data
The Metadata loop file:/var/lib/docker devicemapper/devicemapper/Metadata
The Data Space, informs: 21.2 GB
Data Space Total: 107.4 GB
Data Space Available: 86.18 GB
The Metadata Space 2:27.16 MB
The Metadata Space Total: 2.147 GB
The Metadata Space Available: 2.12 GB
Thin the Pool Minimum Free Space: 10.74 GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred does Device Count: 0
The Library Version: 1.02.149 - RHEL7 (2018-07-20)
Logging Driver: json - the 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
The Default Address Pool: 10.0.0.0/8
SubnetSize: 24
Orchestration:
The Task History Retention Limit: 5
Raft:
The Snapshot Interval: 10000
The Number of Old Snapshots to Retain: 0
The Heartbeat Tick: 1
Election Tick: 10
Dispatcher:
The Heartbeat Period: 5 seconds
CA Configuration:
Expiry Duration: 3 have
Force the Rotate: 0
Autolock Managers: false
Root Rotation In Progress: false
The 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
The Default Runtime: runc
Init Binary: docker - Init
Containerd version: bb71b10fd8f58240ca47fbb579b9d1028eea7c84
2 b18fe1d885ee5083ef9f0838fee39b62d653e30 runc version:
Init version: fec3683
Security Options:
Seccomp
Profile: default
The Kernel Version: 3.10.0-327. El7. X86_64
Operating System: CentOS Linux 7 (Core)
OSType: Linux
Architecture: x86_64
16 CPUs:
The Total Memory: 47.01 GiB
Name: host150
ID: QY5H: KWFY: CFZK: DOSR: OP6G: QSWS: IC4V: FKJC: ZPKE: G5IR: NBRX: YVDH
Docker Root Dir:/var/lib/Docker
The Debug Mode (the client) : false
The Debug Mode (server) : false
Registry: https://index.docker.io/v1/
  • Related