Docker Community Forums

Share and learn in the Docker community.

Lsof java process


(Solecki) #1

Hello,
I got this same problem what was in https://github.com/moby/moby/issues/22117
Can someone check lsof for java process if also have many line something like
java 2128 2418 techuser mem REG 253,7 18487654 /home/techuser/eap/standalone/tmp/vfs/deployment/deployment1b8860bdee73e7e9/xalan-2.5.1.jar-b65108dce86e5d77/xalan-2.5.1.jar (stat: No such file or directory)

lsof -n|grep java|grep ‘stat: No such file or directory’|wc -l
460395

I think, it’s too much

I tested with --privileged ,–ulimit but nothing change

docker version

Client:
Version: 17.12.0-ce
API version: 1.35
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:10:14 2017
OS/Arch: linux/amd64

Server:
Engine:
Version: 17.12.0-ce
API version: 1.35 (minimum version 1.12)
Go version: go1.9.2
Git commit: c97c6d6
Built: Wed Dec 27 20:12:46 2017
OS/Arch: linux/amd64
Experimental: true

docker info

Containers: 9
Running: 9
Paused: 0
Stopped: 0
Images: 171
Server Version: 17.12.0-ce
Storage Driver: devicemapper
Pool Name: docker-8:17-879188-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: 42.92GB
Data Space Total: 107.4GB
Data Space Available: 42.53GB
Metadata Space Used: 45.56MB
Metadata Space Total: 2.147GB
Metadata Space Available: 2.102GB
Thin Pool Minimum Free Space: 10.74GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.140-RHEL7 (2017-05-03)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: b2567b37d7b75eb4cf325b77297b140ea686ce8f
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-693.17.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 11.58GiB
Name: dev01
ID: 72TJ:UWFU:T422:KG4H:ICZG:WHU2:Q4V5:2XAC:ZRKA:MKWL:V4D3:WVY2
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: true
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false