-
Notifications
You must be signed in to change notification settings - Fork 18.9k
Closed
Labels
area/loggingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.
Description
dockerd left open file descriptors do deleted /var/log/journal//.journal files
I'm using dockerd with --log-driver=journald.
After few days it left many open fd to files in /var/log/journal:
ls -l /proc/$(cat /var/run/docker.pid)/fd |grep deleted |wc -l
6250
which store place on disk.
Steps to reproduce the issue:
- install docker, configure it to use journald
Describe the results you received:
ls -l /proc/$(cat /var/run/docker.pid)/fd |grep deleted |wc -l
6250
Describe the results you expected:
no open deleted files.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker version:
docker -v
Docker version 1.12.1, build 23cf638
Output of docker info:
# docker info
Containers: 44
Running: 41
Paused: 0
Stopped: 3
Images: 58
Server Version: 1.12.1
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: xfs
Dirs: 193
Dirperm1 Supported: true
Logging Driver: journald
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: apparmor seccomp
Kernel Version: 4.4.0-36-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 15.67 GiB
Name: docker-name
ID: XXX
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Insecure Registries:
127.0.0.0/8
Additional environment details (AWS, VirtualBox, physical, etc.):
kvm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/loggingkind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.