Skip to content

Java console logging or STDOUT inside Docker container hangs #1051

Closed
@pu2925

Description

@pu2925

e have Weblogic server running inside the docker container it is
been observed the Weblogic JVM hangs becomes unresponsive. The issue is
reproducible with small java code simulating logging.

Thread dump analysis confirm it hangs with console logging. We tried the same
code on OEL6 environment and it is working fine, Process execute without any
hang.

Environment details below

Issue Environment -

Linux Server release 7.5 (Maipo)
4.14.35-1818.3.3.el7uek.x86_64

Docker Info

[root@prakash ~]# docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.03.1-ol
Storage Driver: overlay2
Backing Filesystem: xfs
Supports d_type: true
Native Overlay Diff: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host 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: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
seccomp
 Profile: default
selinux
Kernel Version: 4.14.35-1818.3.3.el7uek.x86_64
Operating System: Oracle Linux Server 7.5
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 29.18GiB
Name: prakash
ID: FORP:QPCV:IK7D:U2RV:A63C:ODDG:LATY:6AQO:EABJ:M4ZG:F3S5:36NG
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/

(Edited for formatting)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions