springboot2 + docker 线上运行时 docker异常停止?

部署环境:docker19.03.13 + docker composer + CentOS Linux release 8.5.2111+32G服务器内存
docker 版本

[root@S11-43 ~]# docker version

Client: Docker Engine - Community

Version: 19.03.13

API version: 1.40

Go version: go1.13.15

Git commit: 4484c46d9d

Built: Wed Sep 16 17:02:36 2020

OS/Arch: linux/amd64

Experimental: false

Server: Docker Engine - Community

Engine:

Version: 19.03.13

API version: 1.40 (minimum version 1.12)

Go version: go1.13.15

Git commit: 4484c46d9d

Built: Wed Sep 16 17:01:11 2020

OS/Arch: linux/amd64

Experimental: false

containerd:

Version: 1.6.15

GitCommit: 5b842e528e99d4d4c1686467debf2bd4b88ecd86

runc:

Version: 1.1.4

GitCommit: v1.1.4-0-g5fd4c4d

docker-init:

Version: 0.18.0

GitCommit: fec3683

启动了2个java,使用同一个Dockerfile,-Xmn1g -Xms9g -Xmx9g 内存都是一样9G,
有2个yml文件分别为:
docker-compose-step-image-pod1.yml

version: '3.0'

services:

xc_mall_pod1:

container_name: pod1

image: "registry.cn-hangzhou.aliyuncs.com/open_list/xc_mall:latest"

volumes:

- ./docker-logs-pod1:/application/logs

environment:

TZ: Asia/Shanghai

restart: always

network_mode: bridge

ports:

- 8083:8081

docker-compose-step-image-pod2.yml

version: '3.0'

services:

xc_mall_pod2:

container_name: pod2

image: "registry.cn-hangzhou.aliyuncs.com/open_list/xc_mall:latest"

volumes:

- ./docker-logs-pod2:/application/logs

environment:

TZ: Asia/Shanghai

network_mode: bridge

ports:

- 8084:8081

由于使用了huttool图形验证码
构建了中间镜像DockerfileJDKFont

FROM openjdk:8-jdk-alpine

# 安装字体库

RUN apk add --update --no-cache ttf-dejavu fontconfig && rm -rf /var/cache/apk/*

构建镜像Dockerfile为:

FROM openjdk:8-jdk-alpine-with-font as builder

# 进入工作目录

WORKDIR application

# 将jar包添加到容器中并更名为app.jar

ARG JAR_FILE=target/*.jar

COPY ${JAR_FILE} application.jar

# 分层打包:解压 jar 包

RUN java -Djarmode=layertools -jar application.jar extract

# 第二次构建

FROM openjdk:8-jdk-alpine-with-font

# 进入工作目录

WORKDIR application

# 分层打包:复制解压 jar 包后的数据

COPY --from=builder application/dependencies/ ./

COPY --from=builder application/spring-boot-loader/ ./

COPY --from=builder application/snapshot-dependencies/ ./

COPY --from=builder application/application/ ./

ENV LANG=zh_CN.UTF-8

# 添加时区环境变量,亚洲,上海

ENV TimeZone=Asia/Shanghai

# 使用软连接,并且将时区配置覆盖/etc/timezone

RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone

#暴露jar运行的端口 容器内部端口

EXPOSE 8081

# 16G jvm参数 内存配置

ENV JVM_OPTS="-server -Xmn1g -Xms9g -Xmx9g -Xss512K -XX:+UseConcMarkSweepGC -XX:+CMSParallelRemarkEnabled -XX:+UseCMSCompactAtFullCollection -XX:LargePageSizeInBytes=128m -XX:+UseFastAccessorMethods -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=70 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/application/logs/gc-memory-export.hprof -Xloggc:/application/logs/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+ParallelRefProcEnabled -XX:MetaspaceSize=512m -XX:MaxMetaspaceSize=1g"

# java参数

ENV JAVA_OPTS="-Duser.timezone=GMT+08 -Dserver.port=8081 -Dspring.profiles.active=prod"

ENTRYPOINT ["sh","-c","java $JVM_OPTS $JAVA_OPTS org.springframework.boot.loader.JarLauncher"]

1、查看docker日志
/var/lib/docker/containers/d85a515e342b94784fc6ffaf398ced7d8d9872c3a6708f42d2bb42afdade8a47-json.log

看到结尾处报错:

{"log":"#\n","stream":"stdout","time":"2023-03-20T04:56:28.427304168Z"}

{"log":"# A fatal error has been detected by the Java Runtime Environment:\n","stream":"stdout","time":"2023-03-20T04:56:28.427341855Z"}

{"log":"#\n","stream":"stdout","time":"2023-03-20T04:56:28.427354145Z"}

{"log":"# SIGILL (0x4) at pc=0x00007f78d6c50816, pid=1, tid=0x00007f78dc4bfb10\n","stream":"stdout","time":"2023-03-20T04:56:28.427365558Z"}

{"log":"#\n","stream":"stdout","time":"2023-03-20T04:56:28.427375535Z"}

{"log":"# JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04)\n","stream":"stdout","time":"2023-03-20T04:56:28.427385018Z"}

{"log":"# Java VM: OpenJDK 64-Bit Server VM (25.212-b04 mixed mode linux-amd64 compressed oops)\n","stream":"stdout","time":"2023-03-20T04:56:28.427417615Z"}

{"log":"# Derivative: IcedTea 3.12.0\n","stream":"stdout","time":"2023-03-20T04:56:28.427430208Z"}

{"log":"# Distribution: Custom build (Sat May 4 17:33:35 UTC 2019)\n","stream":"stdout","time":"2023-03-20T04:56:28.427440505Z"}

{"log":"# Problematic frame:\n","stream":"stdout","time":"2023-03-20T04:56:28.427450498Z"}

{"log":"# C [libawt.so+0x2d816]\n","stream":"stdout","time":"2023-03-20T04:56:28.427587068Z"}

{"log":"#\n","stream":"stdout","time":"2023-03-20T04:56:28.427626438Z"}

{"log":"# Core dump written. Default location: /application/core or core.1\n","stream":"stdout","time":"2023-03-20T04:56:28.427639151Z"}

{"log":"#\n","stream":"stdout","time":"2023-03-20T04:56:28.427650795Z"}

{"log":"# An error report file with more information is saved as:\n","stream":"stdout","time":"2023-03-20T04:56:28.427683291Z"}

{"log":"# /tmp/hs_err_pid1.log\n","stream":"stdout","time":"2023-03-20T04:56:28.427720755Z"}

2、复制容器内日志文件并且查看
怀疑是不是libawt.so导致的

# Problematic frame:

# C [libawt.so+0x2d816]

查看java是否存在 libjawt.so

/usr/lib/jvm/java-1.8-openjdk/lib/amd64 # ls

jli libjawt.so

查看依赖(不知道是不是这里问题)

/usr/lib/jvm/java-1.8-openjdk/lib/amd64 # ldd libjawt.so 

ldd (0x7fba28ebc000)

Error loading shared library libawt_xawt.so: No such file or directory (needed by libjawt.so)

libc.musl-x86_64.so.1 => ldd (0x7fba28ebc000)

Error relocating libjawt.so: awt_Lock: symbol not found

Error relocating libjawt.so: awt_Unlock: symbol not found

Error relocating libjawt.so: awt_GetDrawingSurface: symbol not found

Error relocating libjawt.so: awt_GetComponent: symbol not found

Error relocating libjawt.so: awt_FreeDrawingSurface: symbol not found

#

# A fatal error has been detected by the Java Runtime Environment:

#

# SIGILL (0x4) at pc=0x00007f78d6c50816, pid=1, tid=0x00007f78dc4bfb10

#

# JRE version: OpenJDK Runtime Environment (8.0_212-b04) (build 1.8.0_212-b04)

# Java VM: OpenJDK 64-Bit Server VM (25.212-b04 mixed mode linux-amd64 compressed oops)

# Derivative: IcedTea 3.12.0

# Distribution: Custom build (Sat May 4 17:33:35 UTC 2019)

# Problematic frame:

# C [libawt.so+0x2d816]

#

# Core dump written. Default location: /application/core or core.1

#

# If you would like to submit a bug report, please include

# instructions on how to reproduce the bug and visit:

# https://icedtea.classpath.org/bugzilla

# The crash happened outside the Java Virtual Machine in native code.

# See problematic frame for where to report the bug.

#

--------------- T H R E A D ---------------

Current thread (0x000055bfe3ec9000): JavaThread "http-nio-8081-exec-5" daemon [_thread_in_native, id=81, stack(0x00007f78dc43f000,0x00007f78dc4bfad0)]

siginfo: si_signo: 4 (SIGILL), si_code: 2 (ILL_ILLOPN), si_addr: 0x00007f78d6c50816

Registers:

RAX=0x00000005894e9d44, RBX=0x00000005894e98ec, RCX=0x0000000000000001, RDX=0x0000000000000117

RSP=0x00007f78dc4bd7e0, RBP=0x0000000000000001, RSI=0x00000005894e98e8, RDI=0x00000005894e98ec

R8 =0x00007f78dc4bd8b0, R9 =0x00007f78dc4bd950, R10=0x00000005894e98e8, R11=0x00007f7906d70a7c

R12=0x000000000000045c, R13=0x0000000000000460, R14=0x0000000000000460, R15=0x00007f78dc4bd950

RIP=0x00007f78d6c50816, EFLAGS=0x0000000000010283, CSGSFS=0x002b000000000033, ERR=0x0000000000000000

TRAPNO=0x0000000000000006

Top of Stack: (sp=0x00007f78dc4bd7e0)

0x00007f78dc4bd7e0: 0000000000000001 00007f78d6ccfec0

0x00007f78dc4bd7f0: 00007f78dc4bd880 0000000000000000

0x00007f78dc4bd800: 00007f78dc4bd864 00007f78d6c53e8f

0x00007f78dc4bd810: 00007f78d6ccfec0 00007f78dc4bd864

0x00007f78dc4bd820: 00007f78dc4bd8b0 00007f78dc4bd8b0

0x00007f78dc4bd830: 00000001e3ec9000 000055bfe3ec91e0

0x00007f78dc4bd840: 00007f78dc4bd870 0000000000000001

0x00007f78dc4bd850: 000055bfdb49b740 000055bfdb49b740

0x00007f78dc4bd860: 00007f78d6cd05c0 00007f78dc4bda28

0x00007f78dc4bd870: 0000003500000000 0000003600000117

0x00007f78dc4bd880: 0000003500000000 0000003600000117

0x00007f78dc4bd890: ff4abfb800000000 0000000000000000

0x00007f78dc4bd8a0: 0000000000000001 0000000000000000

0x00007f78dc4bd8b0: 0000003500000001 0000003600000118

0x00007f78dc4bd8c0: 00000005894db108 0000000400000000

0x00007f78dc4bd8d0: 0000000000000460 0000000000000000

0x00007f78dc4bd8e0: 0000000000000000 0000000000000000

0x00007f78dc4bd8f0: 0000000000000000 0000000000000000

0x00007f78dc4bd900: 0000000000000017 0000000000000001

0x00007f78dc4bd910: 00000005894db108 0000000000000000

0x00007f78dc4bd920: 0000000000000000 00000005c3ad3188

0x00007f78dc4bd930: 00000005c663aeb0 00000005894f6da0

0x00007f78dc4bd940: 00000005c3ad3188 00007f78e4d10330

0x00007f78dc4bd950: 0000003500000000 0000003600000117

0x00007f78dc4bd960: 00000005894db108 0000000400000000

0x00007f78dc4bd970: 0000000000000460 0000000000000000

0x00007f78dc4bd980: 0000000000000000 0000000000000000

0x00007f78dc4bd990: 0000000000000000 0000000000000000

0x00007f78dc4bd9a0: 3ff0000000000000 0000000000000002

0x00007f78dc4bd9b0: 00000005894db108 0000000000000000

0x00007f78dc4bd9c0: 0000000000000000 0000000000000000

0x00007f78dc4bd9d0: 3fd05e1ba9c38571 0000000000000000

Instructions: (pc=0x00007f78d6c50816)

0x00007f78d6c507f6: 66 90 ff 25 3a 86 07 00 66 90 ff 25 42 86 07 00

0x00007f78d6c50806: 66 90 ff 25 fa 86 07 00 66 90 0f 0b 0f 0b 0f 0b

0x00007f78d6c50816: 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b

0x00007f78d6c50826: 0f 0b 0f 0b 0f 0b 0f 0b 0f 0b 48 8d 3d 21 2f 08

Register to memory mapping:

RAX=

不理解信息

3、查看docker ps -a

[root@S11-43 ~]# docker ps -a

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

0167ee15833e registry.cn-hangzhou.aliyuncs.com/open_list/xc_mall:latest "sh -c 'java $JVM_OP…" 47 hours ago Up About an hour 0.0.0.0:8083->8081/tcp pod1

d85a515e342b registry.cn-hangzhou.aliyuncs.com/open_list/xc_mall:latest "sh -c 'java $JVM_OP…" 47 hours ago Exited (139) 23 hours ago pod2

7289a962b91d redis:6.2.6-alpine "docker-entrypoint.s…" 7 weeks ago Up 7 weeks 0.0.0.0:6379->6379/tcp redis

百度“Exited (139) 23 hours ago”
猜测:
1、容器可能会因为内存不足显示Exited (139)
看到windows解决方案:

[wsl2]

kernelCommandLine = vsyscall=emulate

实际:我是用的centos7

[root@S11-43 ~]# cat /etc/redhat-release

CentOS Linux release 8.5.2111

2、看到
如果不了解正在运行的映像的更多信息,就不可能说出根本原因是什么。但是,Exited (139)基本上意味着发送了容器的 PID 1 SIGKILL。它可以是任何东西,段错误,内存不足,堆栈溢出等。
但是,不是程序正常api处理出错,可能:内存不足,堆栈溢出。

3、于是查看内存

[root@S11-43 ~]# free -mh

total used free shared buff/cache available

Mem: 31Gi 2.4Gi 14Gi 225Mi 14Gi 28Gi

Swap: 8.0Gi 0B 8.0Gi

内存剩余量足够,百度后不知道是具体什么原因导致docker异常停止

4、查看pod2容器记录的gc日志

OpenJDK 64-Bit Server VM (25.212-b04) for linux-amd64 JRE (1.8.0_212-b04), built on May  4 2019 17:56:12 by "buildozer" with gcc 8.3.0

Memory: 4k page, physical 32713480k(15908256k free), swap 8388604k(8388604k free)

CommandLine flags: -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:CompressedClassSpaceSize=1065353216 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/application/logs/gc-memory-export.hprof -XX:InitialHeapSize=9663676416 -XX:LargePageSizeInBytes=134217728 -XX:MaxHeapSize=9663676416 -XX:MaxMetaspaceSize=1073741824 -XX:MaxNewSize=1073741824 -XX:MaxTenuringThreshold=6 -XX:MetaspaceSize=536870912 -XX:NewSize=1073741824 -XX:OldPLABSize=16 -XX:+ParallelRefProcEnabled -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:ThreadStackSize=512 -XX:+UseCMSCompactAtFullCollection -XX:+UseCMSInitiatingOccupancyOnly -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseFastAccessorMethods -XX:+UseParNewGC

2023-03-19T05:58:22.860+0000: 12.655: [GC (Allocation Failure) 2023-03-19T05:58:22.860+0000: 12.655: [ParNew: 838912K->56460K(943744K), 0.2340168 secs] 838912K->56460K(9332352K), 0.2343294 secs] [Times: user=3.11 sys=2.07, real=0.23 secs]

2023-03-19T05:58:26.193+0000: 15.987: [GC (Allocation Failure) 2023-03-19T05:58:26.193+0000: 15.987: [ParNew: 895372K->34667K(943744K), 0.2639958 secs] 895372K->59849K(9332352K), 0.2641800 secs] [Times: user=1.64 sys=0.19, real=0.26 secs]

2023-03-19T05:58:39.086+0000: 28.881: [GC (Allocation Failure) 2023-03-19T05:58:39.086+0000: 28.881: [ParNew: 873579K->68216K(943744K), 0.0907219 secs] 898761K->93398K(9332352K), 0.0909862 secs] [Times: user=1.42 sys=0.14, real=0.09 secs]

2023-03-19T06:05:28.026+0000: 437.820: [GC (Allocation Failure) 2023-03-19T06:05:28.026+0000: 437.820: [ParNew: 902643K->89047K(943744K), 0.1257777 secs] 927826K->131265K(9332352K), 0.1260123 secs] [Times: user=1.65 sys=0.10, real=0.13 secs]

2023-03-19T06:14:44.443+0000: 994.237: [GC (Allocation Failure) 2023-03-19T06:14:44.443+0000: 994.237: [ParNew: 927959K->69561K(943744K), 0.1377926 secs] 970177K->143073K(9332352K), 0.1380343 secs] [Times: user=1.49 sys=0.10, real=0.14 secs]

2023-03-19T06:27:00.830+0000: 1730.624: [GC (Allocation Failure) 2023-03-19T06:27:00.831+0000: 1730.626: [ParNew: 908473K->49837K(943744K), 0.1155283 secs] 981985K->123349K(9332352K), 0.1173989 secs] [Times: user=1.66 sys=0.05, real=0.11 secs]

2023-03-19T06:38:09.164+0000: 2398.958: [GC (Allocation Failure) 2023-03-19T06:38:09.164+0000: 2398.958: [ParNew: 888749K->50036K(943744K), 0.0948630 secs] 962261K->123548K(9332352K), 0.0951174 secs] [Times: user=1.27 sys=0.10, real=0.10 secs]

2023-03-19T06:49:54.277+0000: 3104.072: [GC (Allocation Failure) 2023-03-19T06:49:54.278+0000: 3104.072: [ParNew: 888948K->54274K(943744K), 0.0747093 secs] 962460K->127786K(9332352K), 0.0749785 secs] [Times: user=1.02 sys=0.01, real=0.08 secs]

2023-03-19T07:00:00.002+0000: 3709.797: [GC (Allocation Failure) 2023-03-19T07:00:00.002+0000: 3709.797: [ParNew: 893186K->51480K(943744K), 0.0880523 secs] 966698K->124992K(9332352K), 0.0883011 secs] [Times: user=1.32 sys=0.05, real=0.09 secs]

2023-03-19T07:09:30.695+0000: 4280.489: [GC (Allocation Failure) 2023-03-19T07:09:30.695+0000: 4280.489: [ParNew: 890392K->40081K(943744K), 0.1185276 secs] 963904K->130927K(9332352K), 0.1187951 secs] [Times: user=1.47 sys=0.06, real=0.12 secs]

2023-03-19T07:23:17.821+0000: 5107.616: [GC (Allocation Failure) 2023-03-19T07:23:17.822+0000: 5107.616: [ParNew: 878993K->17956K(943744K), 0.0803872 secs] 969839K->116892K(9332352K), 0.0806186 secs] [Times: user=1.07 sys=0.04, real=0.08 secs]

2023-03-19T07:37:41.424+0000: 5971.219: [GC (Allocation Failure) 2023-03-19T07:37:41.425+0000: 5971.219: [ParNew: 856868K->8896K(943744K), 0.0840065 secs] 955804K->112246K(9332352K), 0.0842400 secs] [Times: user=1.00 sys=0.05, real=0.09 secs]

2023-03-19T07:50:39.965+0000: 6749.759: [GC (Allocation Failure) 2023-03-19T07:50:39.965+0000: 6749.759: [ParNew: 847808K->7371K(943744K), 0.0760574 secs] 951158K->111640K(9332352K), 0.0762802 secs] [Times: user=0.92 sys=0.02, real=0.08 secs]

2023-03-19T08:00:12.609+0000: 7322.403: [GC (Allocation Failure) 2023-03-19T08:00:12.609+0000: 7322.403: [ParNew: 846283K->5194K(943744K), 0.0723350 secs] 950552K->110029K(9332352K), 0.0725528 secs] [Times: user=1.05 sys=0.01, real=0.07 secs]

2023-03-19T08:11:20.526+0000: 7990.320: [GC (Allocation Failure) 2023-03-19T08:11:20.526+0000: 7990.320: [ParNew: 844106K->6319K(943744K), 0.0744422 secs] 948941K->111436K(9332352K), 0.0746775 secs] [Times: user=1.10 sys=0.02, real=0.08 secs]

2023-03-19T08:22:31.921+0000: 8661.715: [GC (Allocation Failure) 2023-03-19T08:22:31.921+0000: 8661.715: [ParNew: 845231K->5417K(943744K), 0.0745710 secs] 950348K->111094K(9332352K), 0.0748248 secs] [Times: user=0.94 sys=0.02, real=0.07 secs]

2023-03-19T08:32:50.123+0000: 9279.918: [GC (Allocation Failure) 2023-03-19T08:32:50.123+0000: 9279.918: [ParNew: 844329K->4912K(943744K), 0.0728154 secs] 950006K->110851K(9332352K), 0.0730067 secs] [Times: user=0.98 sys=0.01, real=0.07 secs]

2023-03-19T08:41:47.901+0000: 9817.695: [GC (Allocation Failure) 2023-03-19T08:41:47.901+0000: 9817.695: [ParNew: 843824K->4968K(943744K), 0.0711327 secs] 949763K->111248K(9332352K), 0.0713746 secs] [Times: user=0.89 sys=0.03, real=0.07 secs]

2023-03-19T08:50:26.301+0000: 10336.096: [GC (Allocation Failure) 2023-03-19T08:50:26.302+0000: 10336.096: [ParNew: 843880K->4438K(943744K), 0.0742257 secs] 950160K->110923K(9332352K), 0.0744836 secs] [Times: user=1.00 sys=0.03, real=0.07 secs]

2023-03-19T08:59:28.032+0000: 10877.826: [GC (Allocation Failure) 2023-03-19T08:59:28.032+0000: 10877.826: [ParNew: 843350K->5668K(943744K), 0.0722110 secs] 949835K->112192K(9332352K), 0.0724649 secs] [Times: user=1.01 sys=0.02, real=0.07 secs]

2023-03-19T09:09:13.626+0000: 11463.420: [GC (Allocation Failure) 2023-03-19T09:09:13.626+0000: 11463.421: [ParNew: 844580K->4973K(943744K), 0.0714754 secs] 951104K->111926K(9332352K), 0.0717406 secs] [Times: user=0.91 sys=0.04, real=0.08 secs]

2023-03-19T09:20:58.592+0000: 12168.386: [GC (Allocation Failure) 2023-03-19T09:20:58.592+0000: 12168.386: [ParNew: 843885K->5283K(943744K), 0.0733851 secs] 950838K->112276K(9332352K), 0.0736115 secs] [Times: user=1.07 sys=0.02, real=0.07 secs]

2023-03-19T09:30:09.316+0000: 12719.110: [GC (Allocation Failure) 2023-03-19T09:30:09.316+0000: 12719.110: [ParNew: 844195K->8542K(943744K), 0.0709855 secs] 951188K->115703K(9332352K), 0.0711863 secs] [Times: user=0.99 sys=0.03, real=0.07 secs]

2023-03-19T09:42:00.991+0000: 13430.785: [GC (Allocation Failure) 2023-03-19T09:42:00.991+0000: 13430.785: [ParNew: 847454K->5476K(943744K), 0.0713651 secs] 954615K->112824K(9332352K), 0.0715706 secs] [Times: user=0.92 sys=0.03, real=0.07 secs]

2023-03-19T09:54:19.927+0000: 14169.722: [GC (Allocation Failure) 2023-03-19T09:54:19.928+0000: 14169.722: [ParNew: 844388K->5843K(943744K), 0.0707716 secs] 951736K->113278K(9332352K), 0.0709711 secs] [Times: user=0.96 sys=0.02, real=0.08 secs]

2023-03-19T10:02:31.075+0000: 14660.869: [GC (Allocation Failure) 2023-03-19T10:02:31.075+0000: 14660.869: [ParNew: 844755K->5415K(943744K), 0.0698743 secs] 952190K->112939K(9332352K), 0.0700717 secs] [Times: user=1.01 sys=0.02, real=0.07 secs]

2023-03-19T10:14:43.939+0000: 15393.733: [GC (Allocation Failure) 2023-03-19T10:14:43.939+0000: 15393.733: [ParNew: 844327K->4058K(943744K), 0.0581874 secs] 951851K->112246K(9332352K), 0.0583964 secs] [Times: user=0.61 sys=0.04, real=0.05 secs]

2023-03-19T10:24:26.191+0000: 15975.986: [GC (Allocation Failure) 2023-03-19T10:24:26.191+0000: 15975.986: [ParNew: 842970K->4077K(943744K), 0.0702961 secs] 951158K->112284K(9332352K), 0.0705429 secs] [Times: user=0.92 sys=0.02, real=0.07 secs]

2023-03-19T10:33:59.737+0000: 16549.531: [GC (Allocation Failure) 2023-03-19T10:33:59.737+0000: 16549.532: [ParNew: 842989K->3969K(943744K), 0.0695842 secs] 951196K->112638K(9332352K), 0.0697743 secs] [Times: user=0.90 sys=0.01, real=0.07 secs]

2023-03-19T10:45:06.343+0000: 17216.138: [GC (Allocation Failure) 2023-03-19T10:45:06.343+0000: 17216.138: [ParNew: 842881K->4083K(943744K), 0.0705012 secs] 951550K->112803K(9332352K), 0.0707105 secs] [Times: user=0.97 sys=0.02, real=0.07 secs]

2023-03-19T10:55:13.600+0000: 17823.394: [GC (Allocation Failure) 2023-03-19T10:55:13.600+0000: 17823.394: [ParNew: 842995K->3734K(943744K), 0.0718364 secs] 951715K->112543K(9332352K), 0.0720412 secs] [Times: user=0.97 sys=0.02, real=0.07 secs]

2023-03-19T11:06:04.429+0000: 18474.223: [GC (Allocation Failure) 2023-03-19T11:06:04.429+0000: 18474.223: [ParNew: 842646K->3218K(943744K), 0.0667519 secs] 951455K->112033K(9332352K), 0.0669599 secs] [Times: user=0.88 sys=0.01, real=0.06 secs]

2023-03-19T11:15:27.847+0000: 19037.642: [GC (Allocation Failure) 2023-03-19T11:15:27.849+0000: 19037.643: [ParNew: 842130K->3204K(943744K), 0.0694360 secs] 950945K->112097K(9332352K), 0.0712810 secs] [Times: user=0.91 sys=0.03, real=0.08 secs]

2023-03-19T11:27:12.046+0000: 19741.840: [GC (Allocation Failure) 2023-03-19T11:27:12.046+0000: 19741.840: [ParNew: 842116K->3780K(943744K), 0.0679927 secs] 951009K->112692K(9332352K), 0.0682178 secs] [Times: user=1.00 sys=0.03, real=0.07 secs]

2023-03-19T11:38:34.793+0000: 20424.587: [GC (Allocation Failure) 2023-03-19T11:38:34.793+0000: 20424.587: [ParNew: 842692K->3478K(943744K), 0.0670542 secs] 951604K->112406K(9332352K), 0.0672570 secs] [Times: user=1.01 sys=0.01, real=0.07 secs]

2023-03-19T11:50:56.201+0000: 21165.995: [GC (Allocation Failure) 2023-03-19T11:50:56.201+0000: 21165.995: [ParNew: 842390K->3313K(943744K), 0.0693755 secs] 951318K->112267K(9332352K), 0.0696027 secs] [Times: user=0.90 sys=0.03, real=0.07 secs]

2023-03-19T12:06:29.840+0000: 22099.635: [GC (Allocation Failure) 2023-03-19T12:06:29.841+0000: 22099.636: [ParNew: 842225K->7464K(943744K), 0.0693915 secs] 951179K->116432K(9332352K), 0.0704704 secs] [Times: user=0.95 sys=0.02, real=0.07 secs]

2023-03-19T12:25:29.533+0000: 23239.328: [GC (Allocation Failure) 2023-03-19T12:25:29.533+0000: 23239.328: [ParNew: 846376K->5180K(943744K), 0.0726928 secs] 955344K->114185K(9332352K), 0.0728938 secs] [Times: user=1.00 sys=0.02, real=0.07 secs]

2023-03-19T12:36:50.871+0000: 23920.666: [GC (Allocation Failure) 2023-03-19T12:36:50.871+0000: 23920.666: [ParNew: 844092K->3941K(943744K), 0.0687951 secs] 953097K->113054K(9332352K), 0.0689943 secs] [Times: user=0.89 sys=0.05, real=0.07 secs]

2023-03-19T12:50:45.267+0000: 24755.062: [GC (Allocation Failure) 2023-03-19T12:50:45.268+0000: 24755.062: [ParNew: 842853K->3509K(943744K), 0.0722411 secs] 951966K->112656K(9332352K), 0.0724695 secs] [Times: user=1.00 sys=0.02, real=0.08 secs]

2023-03-19T12:59:51.913+0000: 25301.708: [GC (Allocation Failure) 2023-03-19T12:59:51.913+0000: 25301.708: [ParNew: 842421K->7934K(943744K), 0.0704403 secs] 951568K->117089K(9332352K), 0.0706481 secs] [Times: user=0.85 sys=0.01, real=0.07 secs]

2023-03-19T13:13:41.680+0000: 26131.475: [GC (Allocation Failure) 2023-03-19T13:13:41.681+0000: 26131.475: [ParNew: 846846K->5352K(943744K), 0.0648151 secs] 956001K->114520K(9332352K), 0.0650478 secs] [Times: user=0.93 sys=0.01, real=0.06 secs]

2023-03-19T13:29:30.002+0000: 27079.796: [GC (Allocation Failure) 2023-03-19T13:29:30.002+0000: 27079.796: [ParNew: 844264K->3270K(943744K), 0.0680378 secs] 953432K->112468K(9332352K), 0.0682512 secs] [Times: user=0.98 sys=0.02, real=0.07 secs]

2023-03-19T13:46:09.467+0000: 28079.261: [GC (Allocation Failure) 2023-03-19T13:46:09.467+0000: 28079.261: [ParNew: 842182K->3839K(943744K), 0.0681272 secs] 951380K->113129K(9332352K), 0.0683441 secs] [Times: user=0.84 sys=0.03, real=0.07 secs]

2023-03-19T13:54:31.550+0000: 28581.345: [GC (Allocation Failure) 2023-03-19T13:54:31.551+0000: 28581.346: [ParNew: 842751K->3707K(943744K), 0.0710842 secs] 952041K->113079K(9332352K), 0.0721433 secs] [Times: user=0.93 sys=0.02, real=0.07 secs]

2023-03-19T14:05:13.459+0000: 29223.253: [GC (Allocation Failure) 2023-03-19T14:05:13.459+0000: 29223.254: [ParNew: 842619K->3583K(943744K), 0.0728521 secs] 951991K->112961K(9332352K), 0.0730622 secs] [Times: user=1.00 sys=0.02, real=0.07 secs]

2023-03-19T14:16:11.564+0000: 29881.358: [GC (Allocation Failure) 2023-03-19T14:16:11.564+0000: 29881.358: [ParNew: 842495K->3730K(943744K), 0.0773494 secs] 951873K->113115K(9332352K), 0.0775907 secs] [Times: user=1.01 sys=0.02, real=0.08 secs]

2023-03-19T14:23:28.989+0000: 30318.784: [GC (Allocation Failure) 2023-03-19T14:23:28.989+0000: 30318.784: [ParNew: 842642K->3970K(943744K), 0.0682434 secs] 952027K->113370K(9332352K), 0.0684565 secs] [Times: user=0.88 sys=0.03, real=0.07 secs]

2023-03-19T14:38:31.265+0000: 31221.060: [GC (Allocation Failure) 2023-03-19T14:38:31.265+0000: 31221.060: [ParNew: 842882K->4417K(943744K), 0.0740196 secs] 952282K->113849K(9332352K), 0.0742367 secs] [Times: user=0.94 sys=0.02, real=0.08 secs]

2023-03-19T14:59:01.729+0000: 32451.523: [GC (Allocation Failure) 2023-03-19T14:59:01.729+0000: 32451.523: [ParNew: 843329K->3991K(943744K), 0.0659386 secs] 952761K->113580K(9332352K), 0.0661481 secs] [Times: user=0.95 sys=0.02, real=0.06 secs]

2023-03-19T15:14:28.346+0000: 33378.140: [GC (Allocation Failure) 2023-03-19T15:14:28.346+0000: 33378.140: [ParNew: 842903K->3547K(943744K), 0.0720018 secs] 952492K->113142K(9332352K), 0.0722095 secs] [Times: user=0.98 sys=0.02, real=0.08 secs]

2023-03-19T15:26:21.102+0000: 34090.897: [GC (Allocation Failure) 2023-03-19T15:26:21.102+0000: 34090.897: [ParNew: 842459K->3615K(943744K), 0.0587308 secs] 952054K->113276K(9332352K), 0.0589796 secs] [Times: user=0.79 sys=0.01, real=0.06 secs]

2023-03-19T15:48:12.399+0000: 35402.194: [GC (Allocation Failure) 2023-03-19T15:48:12.399+0000: 35402.194: [ParNew: 841093K->12382K(943744K), 0.0678631 secs] 950754K->122224K(9332352K), 0.0680765 secs] [Times: user=0.83 sys=0.04, real=0.06 secs]

2023-03-19T16:00:23.013+0000: 36132.808: [GC (Allocation Failure) 2023-03-19T16:00:23.014+0000: 36132.809: [ParNew: 851294K->9059K(943744K), 0.0794739 secs] 961136K->118929K(9332352K), 0.0805172 secs] [Times: user=0.97 sys=0.01, real=0.08 secs]

2023-03-19T16:13:26.415+0000: 36916.210: [GC (Allocation Failure) 2023-03-19T16:13:26.415+0000: 36916.210: [ParNew: 847971K->6788K(943744K), 0.0687453 secs] 957841K->116702K(9332352K), 0.0689847 secs] [Times: user=0.91 sys=0.02, real=0.07 secs]

2023-03-19T16:29:16.959+0000: 37866.753: [GC (Allocation Failure) 2023-03-19T16:29:16.959+0000: 37866.754: [ParNew: 845700K->4781K(943744K), 0.0710138 secs] 955614K->114701K(9332352K), 0.0712273 secs] [Times: user=0.90 sys=0.03, real=0.07 secs]

2023-03-19T16:45:22.234+0000: 38832.028: [GC (Allocation Failure) 2023-03-19T16:45:22.234+0000: 38832.028: [ParNew: 843693K->10307K(943744K), 0.0712556 secs] 953613K->120288K(9332352K), 0.0715046 secs] [Times: user=0.85 sys=0.03, real=0.07 secs]

2023-03-19T17:10:53.075+0000: 40362.869: [GC (Allocation Failure) 2023-03-19T17:10:53.075+0000: 40362.869: [ParNew: 849219K->6955K(943744K), 0.0765665 secs] 959200K->116952K(9332352K), 0.0768408 secs] [Times: user=1.00 sys=0.01, real=0.08 secs]

2023-03-19T17:34:35.849+0000: 41785.644: [GC (Allocation Failure) 2023-03-19T17:34:35.849+0000: 41785.644: [ParNew: 845867K->3150K(943744K), 0.0700021 secs] 955864K->113209K(9332352K), 0.0702509 secs] [Times: user=0.98 sys=0.02, real=0.07 secs]

2023-03-19T18:36:50.694+0000: 45520.489: [GC (Allocation Failure) 2023-03-19T18:36:50.694+0000: 45520.489: [ParNew: 842062K->4950K(943744K), 0.0727803 secs] 952121K->115093K(9332352K), 0.0730030 secs] [Times: user=0.89 sys=0.03, real=0.07 secs]

2023-03-19T19:09:41.816+0000: 47491.611: [GC (Allocation Failure) 2023-03-19T19:09:41.816+0000: 47491.611: [ParNew: 843862K->3426K(943744K), 0.0613965 secs] 954005K->113581K(9332352K), 0.0616751 secs] [Times: user=0.77 sys=0.02, real=0.07 secs]

2023-03-19T21:40:13.872+0000: 56523.666: [GC (Allocation Failure) 2023-03-19T21:40:13.872+0000: 56523.666: [ParNew: 842338K->2968K(943744K), 0.0634705 secs] 952493K->113168K(9332352K), 0.0637353 secs] [Times: user=0.81 sys=0.02, real=0.06 secs]

2023-03-19T23:37:07.930+0000: 63537.724: [GC (Allocation Failure) 2023-03-19T23:37:07.930+0000: 63537.725: [ParNew: 841880K->3923K(943744K), 0.0661742 secs] 952080K->114193K(9332352K), 0.0663972 secs] [Times: user=0.99 sys=0.01, real=0.06 secs]

2023-03-20T00:21:33.385+0000: 66203.179: [GC (Allocation Failure) 2023-03-20T00:21:33.385+0000: 66203.179: [ParNew: 842835K->3653K(943744K), 0.0654214 secs] 953105K->113956K(9332352K), 0.0656709 secs] [Times: user=0.79 sys=0.02, real=0.07 secs]

2023-03-20T00:48:56.831+0000: 67846.625: [GC (Allocation Failure) 2023-03-20T00:48:56.832+0000: 67846.626: [ParNew: 842565K->3618K(943744K), 0.0754022 secs] 952868K->113943K(9332352K), 0.0765950 secs] [Times: user=0.97 sys=0.03, real=0.07 secs]

2023-03-20T01:10:44.251+0000: 69154.046: [GC (Allocation Failure) 2023-03-20T01:10:44.252+0000: 69154.046: [ParNew: 842530K->3787K(943744K), 0.0668020 secs] 952855K->114138K(9332352K), 0.0670480 secs] [Times: user=0.95 sys=0.03, real=0.07 secs]

2023-03-20T01:38:14.223+0000: 70804.017: [GC (Allocation Failure) 2023-03-20T01:38:14.223+0000: 70804.017: [ParNew: 842699K->5364K(943744K), 0.0916921 secs] 953050K->115716K(9332352K), 0.0919354 secs] [Times: user=1.19 sys=0.03, real=0.09 secs]

2023-03-20T02:00:35.415+0000: 72145.209: [GC (Allocation Failure) 2023-03-20T02:00:35.415+0000: 72145.209: [ParNew: 844276K->4833K(943744K), 0.0711881 secs] 954628K->115229K(9332352K), 0.0713966 secs] [Times: user=0.97 sys=0.01, real=0.07 secs]

2023-03-20T02:12:51.098+0000: 72880.892: [GC (Allocation Failure) 2023-03-20T02:12:51.098+0000: 72880.892: [ParNew: 842316K->20727K(943744K), 0.0887935 secs] 952712K->131126K(9332352K), 0.0890633 secs] [Times: user=1.17 sys=0.03, real=0.08 secs]

2023-03-20T02:14:05.357+0000: 72955.151: [GC (Allocation Failure) 2023-03-20T02:14:05.357+0000: 72955.151: [ParNew: 854574K->12429K(943744K), 0.0694894 secs] 964972K->122919K(9332352K), 0.0698841 secs] [Times: user=0.96 sys=0.03, real=0.07 secs]

2023-03-20T02:34:54.796+0000: 74204.590: [GC (Allocation Failure) 2023-03-20T02:34:54.796+0000: 74204.590: [ParNew: 851341K->4203K(943744K), 0.0711900 secs] 961831K->114790K(9332352K), 0.0714414 secs] [Times: user=0.98 sys=0.01, real=0.07 secs]

2023-03-20T02:56:15.624+0000: 75485.418: [GC (Allocation Failure) 2023-03-20T02:56:15.624+0000: 75485.419: [ParNew: 843115K->4881K(943744K), 0.0690700 secs] 953702K->115523K(9332352K), 0.0693212 secs] [Times: user=1.00 sys=0.01, real=0.07 secs]

2023-03-20T03:10:17.577+0000: 76327.371: [GC (Allocation Failure) 2023-03-20T03:10:17.577+0000: 76327.371: [ParNew: 843793K->4420K(943744K), 0.0682000 secs] 954435K->115658K(9332352K), 0.0684444 secs] [Times: user=0.82 sys=0.04, real=0.07 secs]

2023-03-20T03:32:03.451+0000: 77633.245: [GC (Allocation Failure) 2023-03-20T03:32:03.451+0000: 77633.246: [ParNew: 843332K->3899K(943744K), 0.0595504 secs] 954570K->115141K(9332352K), 0.0597878 secs] [Times: user=0.76 sys=0.02, real=0.06 secs]

2023-03-20T03:42:50.537+0000: 78280.331: [GC (Allocation Failure) 2023-03-20T03:42:50.537+0000: 78280.331: [ParNew: 842811K->3961K(943744K), 0.0697982 secs] 954053K->115326K(9332352K), 0.0700254 secs] [Times: user=0.96 sys=0.02, real=0.07 secs]

2023-03-20T03:56:49.291+0000: 79119.086: [GC (Allocation Failure) 2023-03-20T03:56:49.291+0000: 79119.086: [ParNew: 842873K->7747K(943744K), 0.0603562 secs] 954238K->119124K(9332352K), 0.0605639 secs] [Times: user=0.74 sys=0.02, real=0.06 secs]

2023-03-20T04:14:25.530+0000: 80175.325: [GC (Allocation Failure) 2023-03-20T04:14:25.531+0000: 80175.325: [ParNew: 846659K->5772K(943744K), 0.0734315 secs] 958036K->117236K(9332352K), 0.0736736 secs] [Times: user=0.95 sys=0.02, real=0.07 secs]

2023-03-20T04:32:25.453+0000: 81255.247: [GC (Allocation Failure) 2023-03-20T04:32:25.453+0000: 81255.247: [ParNew: 844684K->3675K(943744K), 0.0686520 secs] 956148K->115177K(9332352K), 0.0689383 secs] [Times: user=0.94 sys=0.03, real=0.07 secs]

2023-03-20T04:49:01.370+0000: 82251.164: [GC (Allocation Failure) 2023-03-20T04:49:01.370+0000: 82251.164: [ParNew: 842587K->3840K(943744K), 0.0669181 secs] 954089K->115348K(9332352K), 0.0671408 secs] [Times: user=0.98 sys=0.02, real=0.06 secs]

5、进入运行中的pod1容器(跟pod2配置相同,不过always挂掉自动重新启动)

[root@S11-43 ~]# docker exec -it pod1 sh

/application # java -XX:+PrintCommandLineFlags -version

-XX:InitialHeapSize=523415680 -XX:MaxHeapSize=8374650880 -XX:+PrintCommandLineFlags -XX:+UseCompressedClassPointers -XX:+UseCompressedOops -XX:+UseParallelGC

openjdk version "1.8.0_212"

OpenJDK Runtime Environment (IcedTea 3.12.0) (Alpine 8.212.04-r0)

OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)

6、本地java版本(猜测是不是本地java版本>linux容器内java版本导致的),docker镜像是在本地编译,推送阿里云镜像仓库

java -version

java version "1.8.0_341"

Java(TM) SE Runtime Environment (build 1.8.0_341-b10)

Java HotSpot(TM) 64-Bit Server VM (build 25.341-b10, mixed mode)

7、本地docker版本(猜测会不会本地docker版本>linux宿主docker版本导致,但这个可能性微乎其微),

>docker version

Client:

Cloud integration: v1.0.29

Version: 20.10.20

API version: 1.41

Go version: go1.18.7

Git commit: 9fdeb9c

Built: Tue Oct 18 18:28:44 2022

OS/Arch: windows/amd64

Context: default

Experimental: true

Server: Docker Desktop 4.13.1 (90346)

Engine:

Version: 20.10.20

API version: 1.41 (minimum version 1.12)

Go version: go1.18.7

Git commit: 03df974

Built: Tue Oct 18 18:18:35 2022

OS/Arch: linux/amd64

Experimental: false

containerd:

Version: 1.6.8

GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6

runc:

Version: 1.1.4

GitCommit: v1.1.4-0-g5fd4c4d

docker-init:

Version: 0.19.0

GitCommit: de40ad0

8、查看 /var/lib/messages

Mar 20 00:00:14 S11-43 systemd[1]: Starting update of the root trust anchor for DNSSEC validation in unbound...

Mar 20 00:01:05 S11-43 systemd[1]: unbound-anchor.service: Succeeded.

Mar 20 00:01:05 S11-43 systemd[1]: Started update of the root trust anchor for DNSSEC validation in unbound.

Mar 20 00:23:26 S11-43 chronyd[259710]: Source 202.112.29.82 replaced with 94.237.64.20 (2.centos.pool.ntp.org)

Mar 20 01:00:37 S11-43 chronyd[259710]: Source 185.209.85.222 replaced with 78.46.102.180 (2.centos.pool.ntp.org)

Mar 20 01:26:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 01:26:15 S11-43 dnf[1654769]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 62 kB/s | 3.9 kB 00:00

Mar 20 01:26:15 S11-43 dnf[1654769]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 45 kB/s | 1.5 kB 00:00

Mar 20 01:26:15 S11-43 dnf[1654769]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 83 kB/s | 4.3 kB 00:00

Mar 20 01:26:15 S11-43 dnf[1654769]: Docker CE Stable - x86_64 40 kB/s | 3.5 kB 00:00

Mar 20 01:26:16 S11-43 dnf[1654769]: Metadata cache created.

Mar 20 01:26:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 01:26:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 02:43:43 S11-43 chronyd[259710]: Source 162.159.200.1 replaced with 193.182.111.142 (2.centos.pool.ntp.org)

Mar 20 03:14:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 03:14:15 S11-43 dnf[1655963]: Metadata cache refreshed recently.

Mar 20 03:14:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 03:14:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 03:15:43 S11-43 chronyd[259710]: Source 94.237.64.20 replaced with 194.58.202.20 (2.centos.pool.ntp.org)

Mar 20 03:52:18 S11-43 chronyd[259710]: Source 78.46.102.180 replaced with 162.159.200.1 (2.centos.pool.ntp.org)

Mar 20 04:27:35 S11-43 chronyd[259710]: Source 202.112.31.197 replaced with 88.157.128.22 (2.centos.pool.ntp.org)

Mar 20 04:53:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 04:53:15 S11-43 dnf[1656963]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 53 kB/s | 3.9 kB 00:00

Mar 20 04:53:15 S11-43 dnf[1656963]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 38 kB/s | 1.5 kB 00:00

Mar 20 04:53:15 S11-43 dnf[1656963]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 48 kB/s | 4.3 kB 00:00

Mar 20 04:53:15 S11-43 dnf[1656963]: Docker CE Stable - x86_64 29 kB/s | 3.5 kB 00:00

Mar 20 04:53:16 S11-43 dnf[1656963]: Metadata cache created.

Mar 20 04:53:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 04:53:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 05:02:04 S11-43 chronyd[259710]: Source 79.133.44.136 replaced with 84.16.67.12 (2.centos.pool.ntp.org)

Mar 20 05:35:27 S11-43 chronyd[259710]: Source 193.182.111.142 replaced with 37.230.228.40 (2.centos.pool.ntp.org)

Mar 20 06:08:04 S11-43 chronyd[259710]: Source 194.58.202.20 replaced with 38.229.60.9 (2.centos.pool.ntp.org)

Mar 20 06:30:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 06:30:15 S11-43 dnf[1658030]: Metadata cache refreshed recently.

Mar 20 06:30:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 06:30:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 06:44:49 S11-43 chronyd[259710]: Source 162.159.200.1 replaced with 193.182.111.14 (2.centos.pool.ntp.org)

Mar 20 07:19:45 S11-43 chronyd[259710]: Source 88.157.128.22 replaced with 202.112.29.82 (2.centos.pool.ntp.org)

Mar 20 07:54:22 S11-43 chronyd[259710]: Source 84.16.67.12 replaced with 193.182.111.143 (2.centos.pool.ntp.org)

Mar 20 08:28:25 S11-43 chronyd[259710]: Source 37.230.228.40 replaced with 84.16.67.12 (2.centos.pool.ntp.org)

Mar 20 08:30:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 08:30:15 S11-43 dnf[1659342]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 25 kB/s | 3.9 kB 00:00

Mar 20 08:30:15 S11-43 dnf[1659342]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 28 kB/s | 1.5 kB 00:00

Mar 20 08:30:15 S11-43 dnf[1659342]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 73 kB/s | 4.3 kB 00:00

Mar 20 08:30:15 S11-43 dnf[1659342]: Docker CE Stable - x86_64 41 kB/s | 3.5 kB 00:00

Mar 20 08:30:16 S11-43 dnf[1659342]: Metadata cache created.

Mar 20 08:30:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 08:30:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 09:00:33 S11-43 chronyd[259710]: Source 38.229.60.9 replaced with 202.118.1.81 (2.centos.pool.ntp.org)

Mar 20 09:18:00 S11-43 systemd[1]: Created slice User Slice of UID 0.

Mar 20 09:18:00 S11-43 systemd[1]: Starting User runtime directory /run/user/0...

Mar 20 09:18:00 S11-43 systemd-logind[1194]: New session 1148 of user root.

Mar 20 09:18:00 S11-43 systemd[1]: Started Session 1148 of user root.

Mar 20 09:18:00 S11-43 systemd[1]: Started User runtime directory /run/user/0.

Mar 20 09:18:00 S11-43 systemd[1]: Starting User Manager for UID 0...

Mar 20 09:18:00 S11-43 systemd[1659922]: Starting D-Bus User Message Bus Socket.

Mar 20 09:18:00 S11-43 systemd[1659922]: Reached target Timers.

Mar 20 09:18:00 S11-43 systemd[1659922]: Reached target Paths.

Mar 20 09:18:00 S11-43 systemd[1659922]: Listening on D-Bus User Message Bus Socket.

Mar 20 09:18:00 S11-43 systemd[1659922]: Reached target Sockets.

Mar 20 09:18:00 S11-43 systemd[1659922]: Reached target Basic System.

Mar 20 09:18:00 S11-43 systemd[1659922]: Reached target Default.

Mar 20 09:18:00 S11-43 systemd[1659922]: Startup finished in 79ms.

Mar 20 09:18:00 S11-43 systemd[1]: Started User Manager for UID 0.

Mar 20 09:23:17 S11-43 dockerd[308583]: time="2023-03-20T09:23:17.545532336+08:00" level=error msg="stream copy error: reading from a closed fifo"

Mar 20 09:23:17 S11-43 dockerd[308583]: time="2023-03-20T09:23:17.549011745+08:00" level=error msg="Error running exec e9e1ffa866cd6ebc599bb987943c6d5f891f67d3c2cf92b1cd2a0a6d2f3e53db in container: OCI runtime exec failed: exec failed: unable to start container process: exec: \"/bin/bash\": stat /bin/bash: no such file or directory: unknown"

Mar 20 09:23:40 S11-43 dockerd[308583]: time="2023-03-20T09:23:40.577192728+08:00" level=error msg="stream copy error: reading from a closed fifo"

Mar 20 09:23:40 S11-43 dockerd[308583]: time="2023-03-20T09:23:40.580889550+08:00" level=error msg="Error running exec 592b9187e862b822e2a4811009c438ff940fbebe372d01192525ce2af74e4f03 in container: OCI runtime exec failed: exec failed: unable to start container process: exec: \"/bin/bash\": stat /bin/bash: no such file or directory: unknown"

Mar 20 09:30:50 S11-43 systemd-logind[1194]: Session 1148 logged out. Waiting for processes to exit.

Mar 20 09:30:50 S11-43 systemd[1]: session-1148.scope: Succeeded.

Mar 20 09:30:50 S11-43 systemd-logind[1194]: Removed session 1148.

Mar 20 09:30:50 S11-43 systemd[1]: Stopping User Manager for UID 0...

Mar 20 09:30:50 S11-43 systemd[1659922]: Stopped target Default.

Mar 20 09:30:50 S11-43 systemd[1659922]: Stopped target Basic System.

Mar 20 09:30:50 S11-43 systemd[1659922]: Stopped target Timers.

Mar 20 09:30:50 S11-43 systemd[1659922]: Stopped target Paths.

Mar 20 09:30:50 S11-43 systemd[1659922]: Stopped target Sockets.

Mar 20 09:30:50 S11-43 systemd[1659922]: Closed D-Bus User Message Bus Socket.

Mar 20 09:30:50 S11-43 systemd[1659922]: Reached target Shutdown.

Mar 20 09:30:50 S11-43 systemd[1659922]: Starting Exit the Session...

Mar 20 09:30:50 S11-43 systemd[1]: user@0.service: Succeeded.

Mar 20 09:30:50 S11-43 systemd[1]: Stopped User Manager for UID 0.

Mar 20 09:30:50 S11-43 systemd[1]: Stopping User runtime directory /run/user/0...

Mar 20 09:30:50 S11-43 systemd[1]: run-user-0.mount: Succeeded.

Mar 20 09:30:50 S11-43 systemd[1]: user-runtime-dir@0.service: Succeeded.

Mar 20 09:30:50 S11-43 systemd[1]: Stopped User runtime directory /run/user/0.

Mar 20 09:30:50 S11-43 systemd[1]: Removed slice User Slice of UID 0.

Mar 20 09:36:58 S11-43 chronyd[259710]: Source 193.182.111.14 replaced with 3.121.254.221 (2.centos.pool.ntp.org)

Mar 20 09:37:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 09:37:15 S11-43 dnf[1660452]: Metadata cache refreshed recently.

Mar 20 09:37:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 09:37:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 09:54:07 S11-43 systemd[1]: Created slice User Slice of UID 0.

Mar 20 09:54:07 S11-43 systemd[1]: Starting User runtime directory /run/user/0...

Mar 20 09:54:07 S11-43 systemd-logind[1194]: New session 1150 of user root.

Mar 20 09:54:07 S11-43 systemd[1]: Started Session 1150 of user root.

Mar 20 09:54:07 S11-43 systemd[1]: Started User runtime directory /run/user/0.

Mar 20 09:54:07 S11-43 systemd[1]: Starting User Manager for UID 0...

Mar 20 09:54:07 S11-43 systemd[1660654]: Reached target Paths.

Mar 20 09:54:07 S11-43 systemd[1660654]: Starting D-Bus User Message Bus Socket.

Mar 20 09:54:07 S11-43 systemd[1660654]: Reached target Timers.

Mar 20 09:54:07 S11-43 systemd[1660654]: Listening on D-Bus User Message Bus Socket.

Mar 20 09:54:07 S11-43 systemd[1660654]: Reached target Sockets.

Mar 20 09:54:07 S11-43 systemd[1660654]: Reached target Basic System.

Mar 20 09:54:07 S11-43 systemd[1660654]: Reached target Default.

Mar 20 09:54:07 S11-43 systemd[1660654]: Startup finished in 78ms.

Mar 20 09:54:07 S11-43 systemd[1]: Started User Manager for UID 0.

Mar 20 10:09:36 S11-43 systemd-logind[1194]: Session 1150 logged out. Waiting for processes to exit.

Mar 20 10:09:36 S11-43 systemd[1]: session-1150.scope: Succeeded.

Mar 20 10:09:36 S11-43 systemd-logind[1194]: Removed session 1150.

Mar 20 10:09:36 S11-43 systemd[1]: Stopping User Manager for UID 0...

Mar 20 10:09:36 S11-43 systemd[1660654]: Stopped target Default.

Mar 20 10:09:36 S11-43 systemd[1660654]: Stopped target Basic System.

Mar 20 10:09:36 S11-43 systemd[1660654]: Stopped target Sockets.

Mar 20 10:09:36 S11-43 systemd[1660654]: Stopped target Timers.

Mar 20 10:09:36 S11-43 systemd[1660654]: Stopped target Paths.

Mar 20 10:09:36 S11-43 systemd[1660654]: Closed D-Bus User Message Bus Socket.

Mar 20 10:09:36 S11-43 systemd[1660654]: Reached target Shutdown.

Mar 20 10:09:36 S11-43 systemd[1660654]: Starting Exit the Session...

Mar 20 10:09:36 S11-43 systemd[1]: user@0.service: Succeeded.

Mar 20 10:09:36 S11-43 systemd[1]: Stopped User Manager for UID 0.

Mar 20 10:09:36 S11-43 systemd[1]: Stopping User runtime directory /run/user/0...

Mar 20 10:09:36 S11-43 systemd[1]: run-user-0.mount: Succeeded.

Mar 20 10:09:36 S11-43 systemd[1]: user-runtime-dir@0.service: Succeeded.

Mar 20 10:09:36 S11-43 systemd[1]: Stopped User runtime directory /run/user/0.

Mar 20 10:09:36 S11-43 systemd[1]: Removed slice User Slice of UID 0.

Mar 20 10:12:38 S11-43 chronyd[259710]: Source 202.112.29.82 replaced with 94.237.64.20 (2.centos.pool.ntp.org)

Mar 20 10:46:26 S11-43 chronyd[259710]: Source 193.182.111.143 replaced with 36.110.233.85 (2.centos.pool.ntp.org)

Mar 20 11:21:10 S11-43 chronyd[259710]: Source 84.16.67.12 replaced with 85.209.96.20 (2.centos.pool.ntp.org)

Mar 20 11:23:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 11:23:15 S11-43 dnf[1662068]: Metadata cache refreshed recently.

Mar 20 11:23:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 11:23:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 11:52:39 S11-43 chronyd[259710]: Source 202.118.1.81 replaced with 202.112.31.197 (2.centos.pool.ntp.org)

Mar 20 12:11:56 S11-43 systemd[1]: Created slice User Slice of UID 0.

Mar 20 12:11:56 S11-43 systemd[1]: Starting User runtime directory /run/user/0...

Mar 20 12:11:56 S11-43 systemd-logind[1194]: New session 1152 of user root.

Mar 20 12:11:56 S11-43 systemd[1]: Started Session 1152 of user root.

Mar 20 12:11:56 S11-43 systemd[1]: Started User runtime directory /run/user/0.

Mar 20 12:11:56 S11-43 systemd[1]: Starting User Manager for UID 0...

Mar 20 12:11:56 S11-43 systemd[1662649]: Reached target Paths.

Mar 20 12:11:56 S11-43 systemd[1662649]: Starting D-Bus User Message Bus Socket.

Mar 20 12:11:56 S11-43 systemd[1662649]: Reached target Timers.

Mar 20 12:11:56 S11-43 systemd[1662649]: Listening on D-Bus User Message Bus Socket.

Mar 20 12:11:56 S11-43 systemd[1662649]: Reached target Sockets.

Mar 20 12:11:56 S11-43 systemd[1662649]: Reached target Basic System.

Mar 20 12:11:56 S11-43 systemd[1662649]: Reached target Default.

Mar 20 12:11:56 S11-43 systemd[1662649]: Startup finished in 77ms.

Mar 20 12:11:56 S11-43 systemd[1]: Started User Manager for UID 0.

Mar 20 12:15:37 S11-43 systemd-logind[1194]: New session 1154 of user root.

Mar 20 12:15:37 S11-43 systemd[1]: Started Session 1154 of user root.

Mar 20 12:21:01 S11-43 systemd-logind[1194]: Session 1154 logged out. Waiting for processes to exit.

Mar 20 12:21:01 S11-43 systemd[1]: session-1154.scope: Succeeded.

Mar 20 12:21:01 S11-43 systemd-logind[1194]: Removed session 1154.

Mar 20 12:29:32 S11-43 chronyd[259710]: Source 3.121.254.221 replaced with 72.30.35.89 (2.centos.pool.ntp.org)

Mar 20 12:56:28 S11-43 systemd[1]: Started Process Core Dump (PID 1663404/UID 0).

Mar 20 12:56:28 S11-43 systemd-coredump[1663405]: Removed old coredump core.java.0.fb03306fd5b34a4481b8d302c8060a0e.1631933.1679196605000000.lz4.

Mar 20 12:56:34 S11-43 systemd-coredump[1663405]: Core file was truncated to 2147483648 bytes.

Mar 20 12:56:41 S11-43 systemd-coredump[1663405]: Process 1646600 (java) of user 0 dumped core.#012#012Stack trace of thread 81:#012#0 0x00007f790674a796 n/a (n/a)

Mar 20 12:56:42 S11-43 systemd[1]: systemd-coredump@185-1663404-0.service: Succeeded.

Mar 20 12:56:42 S11-43 containerd[304696]: time="2023-03-20T12:56:42.663408233+08:00" level=info msg="shim reaped" id=d85a515e342b94784fc6ffaf398ced7d8d9872c3a6708f42d2bb42afdade8a47

Mar 20 12:56:42 S11-43 dockerd[308583]: time="2023-03-20T12:56:42.674616161+08:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete"

Mar 20 12:56:42 S11-43 kernel: vethbaa2e8f: renamed from eth0

Mar 20 12:56:42 S11-43 kernel: docker0: port 3(vethcbe064a) entered disabled state

Mar 20 12:56:42 S11-43 NetworkManager[961]: <info> [1679288202.7641] manager: (vethbaa2e8f): new Veth device (/org/freedesktop/NetworkManager/Devices/1623)

Mar 20 12:56:42 S11-43 systemd-udevd[1663447]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.

Mar 20 12:56:42 S11-43 kernel: docker0: port 3(vethcbe064a) entered disabled state

Mar 20 12:56:42 S11-43 kernel: device vethcbe064a left promiscuous mode

Mar 20 12:56:42 S11-43 kernel: docker0: port 3(vethcbe064a) entered disabled state

Mar 20 12:56:42 S11-43 NetworkManager[961]: <info> [1679288202.7917] device (vethcbe064a): released from master device docker0

Mar 20 12:56:42 S11-43 systemd[1]: run-docker-netns-55a7b7ccd69c.mount: Succeeded.

Mar 20 12:56:42 S11-43 systemd[1]: var-lib-docker-overlay2-36e698972103bad2a87a228fd96333bff233455f76e23941bb16349c10f94197-merged.mount: Succeeded.

Mar 20 13:05:00 S11-43 chronyd[259710]: Source 94.237.64.20 replaced with 193.182.111.12 (2.centos.pool.ntp.org)

Mar 20 13:06:19 S11-43 systemd-logind[1194]: Session 1152 logged out. Waiting for processes to exit.

Mar 20 13:06:19 S11-43 systemd[1]: session-1152.scope: Succeeded.

Mar 20 13:06:19 S11-43 systemd-logind[1194]: Removed session 1152.

Mar 20 13:06:19 S11-43 systemd[1]: Stopping User Manager for UID 0...

Mar 20 13:06:19 S11-43 systemd[1662649]: Stopped target Default.

Mar 20 13:06:19 S11-43 systemd[1662649]: Stopped target Basic System.

Mar 20 13:06:19 S11-43 systemd[1662649]: Stopped target Sockets.

Mar 20 13:06:19 S11-43 systemd[1662649]: Closed D-Bus User Message Bus Socket.

Mar 20 13:06:19 S11-43 systemd[1662649]: Stopped target Timers.

Mar 20 13:06:19 S11-43 systemd[1662649]: Stopped target Paths.

Mar 20 13:06:19 S11-43 systemd[1662649]: Reached target Shutdown.

Mar 20 13:06:19 S11-43 systemd[1662649]: Starting Exit the Session...

Mar 20 13:06:19 S11-43 systemd[1]: user@0.service: Succeeded.

Mar 20 13:06:19 S11-43 systemd[1]: Stopped User Manager for UID 0.

Mar 20 13:06:19 S11-43 systemd[1]: Stopping User runtime directory /run/user/0...

Mar 20 13:06:19 S11-43 systemd[1]: run-user-0.mount: Succeeded.

Mar 20 13:06:19 S11-43 systemd[1]: user-runtime-dir@0.service: Succeeded.

Mar 20 13:06:19 S11-43 systemd[1]: Stopped User runtime directory /run/user/0.

Mar 20 13:06:19 S11-43 systemd[1]: Removed slice User Slice of UID 0.

Mar 20 13:10:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 13:10:15 S11-43 dnf[1663667]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 24 kB/s | 3.9 kB 00:00

Mar 20 13:10:15 S11-43 dnf[1663667]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 13 kB/s | 1.5 kB 00:00

Mar 20 13:10:15 S11-43 dnf[1663667]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 92 kB/s | 4.3 kB 00:00

Mar 20 13:10:16 S11-43 dnf[1663667]: Docker CE Stable - x86_64 20 kB/s | 3.5 kB 00:00

Mar 20 13:10:16 S11-43 dnf[1663667]: Metadata cache created.

Mar 20 13:10:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 13:10:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 13:14:24 S11-43 systemd[1]: Created slice User Slice of UID 0.

Mar 20 13:14:24 S11-43 systemd[1]: Starting User runtime directory /run/user/0...

Mar 20 13:14:24 S11-43 systemd-logind[1194]: New session 1155 of user root.

Mar 20 13:14:24 S11-43 systemd[1]: Started Session 1155 of user root.

Mar 20 13:14:24 S11-43 systemd[1]: Started User runtime directory /run/user/0.

Mar 20 13:14:24 S11-43 systemd[1]: Starting User Manager for UID 0...

Mar 20 13:14:24 S11-43 systemd[1663735]: Reached target Paths.

Mar 20 13:14:24 S11-43 systemd[1663735]: Reached target Timers.

Mar 20 13:14:24 S11-43 systemd[1663735]: Starting D-Bus User Message Bus Socket.

Mar 20 13:14:24 S11-43 systemd[1663735]: Listening on D-Bus User Message Bus Socket.

Mar 20 13:14:24 S11-43 systemd[1663735]: Reached target Sockets.

Mar 20 13:14:24 S11-43 systemd[1663735]: Reached target Basic System.

Mar 20 13:14:24 S11-43 systemd[1663735]: Reached target Default.

Mar 20 13:14:24 S11-43 systemd[1663735]: Startup finished in 75ms.

Mar 20 13:14:24 S11-43 systemd[1]: Started User Manager for UID 0.

Mar 20 13:23:27 S11-43 systemd-logind[1194]: Session 1155 logged out. Waiting for processes to exit.

Mar 20 13:23:27 S11-43 systemd[1]: session-1155.scope: Succeeded.

Mar 20 13:23:27 S11-43 systemd-logind[1194]: Removed session 1155.

Mar 20 13:23:27 S11-43 systemd[1]: Stopping User Manager for UID 0...

Mar 20 13:23:27 S11-43 systemd[1663735]: Stopped target Default.

Mar 20 13:23:27 S11-43 systemd[1663735]: Stopped target Basic System.

Mar 20 13:23:27 S11-43 systemd[1663735]: Stopped target Timers.

Mar 20 13:23:27 S11-43 systemd[1663735]: Stopped target Paths.

Mar 20 13:23:27 S11-43 systemd[1663735]: Stopped target Sockets.

Mar 20 13:23:27 S11-43 systemd[1663735]: Closed D-Bus User Message Bus Socket.

Mar 20 13:23:27 S11-43 systemd[1663735]: Reached target Shutdown.

Mar 20 13:23:27 S11-43 systemd[1663735]: Starting Exit the Session...

Mar 20 13:23:27 S11-43 systemd[1]: user@0.service: Succeeded.

Mar 20 13:23:27 S11-43 systemd[1]: Stopped User Manager for UID 0.

Mar 20 13:23:27 S11-43 systemd[1]: Stopping User runtime directory /run/user/0...

Mar 20 13:23:27 S11-43 systemd[1]: run-user-0.mount: Succeeded.

Mar 20 13:23:27 S11-43 systemd[1]: user-runtime-dir@0.service: Succeeded.

Mar 20 13:23:27 S11-43 systemd[1]: Stopped User runtime directory /run/user/0.

Mar 20 13:23:27 S11-43 systemd[1]: Removed slice User Slice of UID 0.

Mar 20 13:27:14 S11-43 systemd[1]: Starting Cleanup of Temporary Directories...

Mar 20 13:27:14 S11-43 systemd[1]: systemd-tmpfiles-clean.service: Succeeded.

Mar 20 13:27:14 S11-43 systemd[1]: Started Cleanup of Temporary Directories.

Mar 20 13:38:40 S11-43 chronyd[259710]: Source 36.110.233.85 replaced with 119.28.206.193 (2.centos.pool.ntp.org)

Mar 20 13:50:21 S11-43 systemd[1]: Created slice User Slice of UID 0.

Mar 20 13:50:21 S11-43 systemd[1]: Starting User runtime directory /run/user/0...

Mar 20 13:50:21 S11-43 systemd-logind[1194]: New session 1157 of user root.

Mar 20 13:50:21 S11-43 systemd[1]: Started Session 1157 of user root.

Mar 20 13:50:21 S11-43 systemd[1]: Started User runtime directory /run/user/0.

Mar 20 13:50:21 S11-43 systemd[1]: Starting User Manager for UID 0...

Mar 20 13:50:21 S11-43 systemd[1664354]: Reached target Paths.

Mar 20 13:50:21 S11-43 systemd[1664354]: Reached target Timers.

Mar 20 13:50:21 S11-43 systemd[1664354]: Starting D-Bus User Message Bus Socket.

Mar 20 13:50:21 S11-43 systemd[1664354]: Listening on D-Bus User Message Bus Socket.

Mar 20 13:50:21 S11-43 systemd[1664354]: Reached target Sockets.

Mar 20 13:50:21 S11-43 systemd[1664354]: Reached target Basic System.

Mar 20 13:50:21 S11-43 systemd[1664354]: Reached target Default.

Mar 20 13:50:21 S11-43 systemd[1664354]: Startup finished in 76ms.

Mar 20 13:50:21 S11-43 systemd[1]: Started User Manager for UID 0.

Mar 20 13:56:52 S11-43 systemd-logind[1194]: Session 1157 logged out. Waiting for processes to exit.

Mar 20 13:56:52 S11-43 systemd[1]: session-1157.scope: Succeeded.

Mar 20 13:56:52 S11-43 systemd-logind[1194]: Removed session 1157.

Mar 20 13:56:52 S11-43 systemd[1]: Stopping User Manager for UID 0...

Mar 20 13:56:52 S11-43 systemd[1664354]: Stopped target Default.

Mar 20 13:56:52 S11-43 systemd[1664354]: Stopped target Basic System.

Mar 20 13:56:52 S11-43 systemd[1664354]: Stopped target Timers.

Mar 20 13:56:52 S11-43 systemd[1664354]: Stopped target Sockets.

Mar 20 13:56:52 S11-43 systemd[1664354]: Stopped target Paths.

Mar 20 13:56:52 S11-43 systemd[1664354]: Closed D-Bus User Message Bus Socket.

Mar 20 13:56:52 S11-43 systemd[1664354]: Reached target Shutdown.

Mar 20 13:56:52 S11-43 systemd[1664354]: Starting Exit the Session...

Mar 20 13:56:52 S11-43 systemd[1]: user@0.service: Succeeded.

Mar 20 13:56:52 S11-43 systemd[1]: Stopped User Manager for UID 0.

Mar 20 13:56:52 S11-43 systemd[1]: Stopping User runtime directory /run/user/0...

Mar 20 13:56:52 S11-43 systemd[1]: run-user-0.mount: Succeeded.

Mar 20 13:56:52 S11-43 systemd[1]: user-runtime-dir@0.service: Succeeded.

Mar 20 13:56:52 S11-43 systemd[1]: Stopped User runtime directory /run/user/0.

Mar 20 13:56:52 S11-43 systemd[1]: Removed slice User Slice of UID 0.

Mar 20 14:13:10 S11-43 chronyd[259710]: Source 85.209.96.20 replaced with 202.112.29.82 (2.centos.pool.ntp.org)

Mar 20 14:13:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 14:13:15 S11-43 dnf[1664739]: Metadata cache refreshed recently.

Mar 20 14:13:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 14:13:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 14:44:20 S11-43 chronyd[259710]: Source 202.112.31.197 replaced with 162.159.200.1 (2.centos.pool.ntp.org)

Mar 20 15:22:08 S11-43 chronyd[259710]: Source 72.30.35.89 replaced with 78.46.102.180 (2.centos.pool.ntp.org)

Mar 20 15:36:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 15:36:15 S11-43 dnf[1665638]: Metadata cache refreshed recently.

Mar 20 15:36:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 15:36:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 15:57:19 S11-43 chronyd[259710]: Source 193.182.111.12 replaced with 94.237.64.20 (2.centos.pool.ntp.org)

Mar 20 16:30:44 S11-43 chronyd[259710]: Source 119.28.206.193 replaced with 5.79.108.34 (2.centos.pool.ntp.org)

Mar 20 17:05:48 S11-43 chronyd[259710]: Source 202.112.29.82 replaced with 103.242.68.69 (2.centos.pool.ntp.org)

Mar 20 17:27:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 17:27:15 S11-43 dnf[1666885]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 46 kB/s | 3.9 kB 00:00

Mar 20 17:27:15 S11-43 dnf[1666885]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 55 kB/s | 1.5 kB 00:00

Mar 20 17:27:15 S11-43 dnf[1666885]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 114 kB/s | 4.3 kB 00:00

Mar 20 17:27:15 S11-43 dnf[1666885]: Docker CE Stable - x86_64 51 kB/s | 3.5 kB 00:00

Mar 20 17:27:16 S11-43 dnf[1666885]: Metadata cache created.

Mar 20 17:27:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 17:27:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 17:36:36 S11-43 chronyd[259710]: Source 162.159.200.1 replaced with 212.26.18.43 (2.centos.pool.ntp.org)

Mar 20 18:15:06 S11-43 chronyd[259710]: Source 78.46.102.180 replaced with 119.28.206.193 (2.centos.pool.ntp.org)

Mar 20 18:49:52 S11-43 chronyd[259710]: Source 94.237.64.20 replaced with 193.47.147.20 (2.centos.pool.ntp.org)

Mar 20 19:07:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 19:07:15 S11-43 dnf[1668047]: Metadata cache refreshed recently.

Mar 20 19:07:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 19:07:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 19:22:52 S11-43 chronyd[259710]: Source 5.79.108.34 replaced with 202.118.1.81 (2.centos.pool.ntp.org)

Mar 20 19:58:24 S11-43 chronyd[259710]: Source 103.242.68.69 replaced with 79.133.44.136 (2.centos.pool.ntp.org)

Mar 20 20:26:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 20:26:15 S11-43 dnf[1668955]: Metadata cache refreshed recently.

Mar 20 20:26:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 20:26:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 20:29:19 S11-43 chronyd[259710]: Source 212.26.18.43 replaced with 162.159.200.1 (2.centos.pool.ntp.org)

Mar 20 21:06:50 S11-43 chronyd[259710]: Source 119.28.206.193 replaced with 162.159.200.123 (2.centos.pool.ntp.org)

Mar 20 21:31:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 21:31:15 S11-43 dnf[1669715]: CentOS-8.5.2111 - Base - mirrors.aliyun.com 70 kB/s | 3.9 kB 00:00

Mar 20 21:31:15 S11-43 dnf[1669715]: CentOS-8.5.2111 - Extras - mirrors.aliyun.com 26 kB/s | 1.5 kB 00:00

Mar 20 21:31:15 S11-43 dnf[1669715]: CentOS-8.5.2111 - AppStream - mirrors.aliyun.co 116 kB/s | 4.3 kB 00:00

Mar 20 21:31:15 S11-43 dnf[1669715]: Docker CE Stable - x86_64 48 kB/s | 3.5 kB 00:00

Mar 20 21:31:16 S11-43 dnf[1669715]: Metadata cache created.

Mar 20 21:31:16 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 21:31:16 S11-43 systemd[1]: Started dnf makecache.

Mar 20 21:41:59 S11-43 chronyd[259710]: Source 193.47.147.20 replaced with 84.16.67.12 (2.centos.pool.ntp.org)

Mar 20 22:14:38 S11-43 chronyd[259710]: Source 202.118.1.81 replaced with 202.118.1.130 (2.centos.pool.ntp.org)

Mar 20 22:50:45 S11-43 chronyd[259710]: Source 79.133.44.136 replaced with 144.76.76.107 (2.centos.pool.ntp.org)

Mar 20 22:52:14 S11-43 systemd[1]: Starting dnf makecache...

Mar 20 22:52:15 S11-43 dnf[1670602]: Metadata cache refreshed recently.

Mar 20 22:52:15 S11-43 systemd[1]: dnf-makecache.service: Succeeded.

Mar 20 22:52:15 S11-43 systemd[1]: Started dnf makecache.

Mar 20 23:21:34 S11-43 chronyd[259710]: Source 162.159.200.1 replaced with 79.133.44.136 (2.centos.pool.ntp.org)

Mar 20 23:59:00 S11-43 chronyd[259710]: Source 162.159.200.123 replaced with 108.59.2.24 (2.centos.pool.ntp.org)


回答:

题主问题描述很清晰,赞一个。

感觉仍然是使用了huttool图形验证码,但缺少依赖的问题。
openjdk:8-jdk-alpine 镜像不包含图形化环境需要的库。
仅仅安装 ttf-dejavu fontconfig 这两个依赖包,可能仍然不够。

我尝试过,在centos:centos7.9.2009 + openjdk:8u181混合环境下,
如果要支持图形化环境,需要额外安装:xorg-x11-utils、fontconfig这两个库
然后就可以启动类似 jconsole 这样的图形化程序了。

楼主尝试下安装 xorg-x11-utils 试试?(centos下的依赖,不确定debian下叫什么名字)

或者底层镜像不要使用 openjdk:8-jdk-alpine ?

另外,错误明确指出是 libawt.so 抛出。 应该和内存关系不大。
题主是否可以附上完整的 hs_err_pid1.log 文件看一下?(可作为附件)


回答:

看不出问题,提几个解决思路:

  1. 把 xms 和 xmx 调小,排除是不是内存的原因
  2. 升级基础镜像版本(openjdk),排除 awt 的那个问题
  3. 去掉各种 jvm 参数,排除参数问题
  4. 在镜像构建过程中解压 jar 包没意义,凭空增加镜像体积,正确做法是在脚本里解压然后直接 copy 进镜像

以上是 springboot2 + docker 线上运行时 docker异常停止? 的全部内容, 来源链接: utcz.com/p/945072.html

回到顶部