MeterSphere在没有任何任务的情况下持续写入磁盘(每秒几K)

没有任何任务运行时持续低速写入磁盘,担心对SSD寿命造成影响,请给看看如何解决,谢谢。

使用Docker安装,脚本如下:

docker run -d --name metersphere --restart unless-stopped --cpus="3" \
    -h c-metersphere \
    -p 8081:8081 \
    -v /home/admin/container-data/metersphere/data:/opt/metersphere/data \
    -e TZ=Asia/Shanghai \
    -v /etc/timezone:/etc/timezone   \
    -v /etc/localtime:/etc/localtime \
    metersphere/metersphere-ce-allinone

相关容器与镜像:

~> docker ps | grep meter
91602a9d3b4b   metersphere/metersphere-ce-allinone                         "sh /shells/start-al…"   2 days ago     Up 2 days               0.0.0.0:8081->8081/tcp                                                    metersphere

~> ~/c/metersphere> docker images
REPOSITORY                                           TAG                 IMAGE ID       CREATED         SIZE
metersphere/metersphere-ce-allinone                  latest              9621de71574a   3 weeks ago     1.39GB

用htop监控,发现几个metersphere相关进程持续低速向磁盘写入数据。metersphere刚安装,尚未创建任何任务。

相关进程信息:

~ > sudo cat /proc/2285906/cmdline 
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/metersphere:/opt/jmeter/lib/ext/*:/metersphere/lib/*:/standalone/lib/*io.metersphere.Application⏎                                                                                                          

~> sudo cat /proc/2285907/cmdline
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/task-runner:/opt/jmeter/lib/ext/*:/task-runner/lib/*:/standalone/lib/*io.metersphere.runner.Application⏎                                                                                                   

~> sudo cat /proc/2285908/cmdline
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/result-hub:/opt/jmeter/lib/ext/*:/result-hub/lib/*:/standalone/lib/*io.metersphere.result.Application⏎                                                                                                     

~> sudo cat /proc/2286065/cmdline
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/result-hub:/opt/jmeter/lib/ext/*:/result-hub/lib/*:/standalone/lib/*io.metersphere.result.Application⏎                                                                                                     

~> sudo cat /proc/2286209/cmdline
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/metersphere:/opt/jmeter/lib/ext/*:/metersphere/lib/*:/standalone/lib/*io.metersphere.Application⏎                                                                                                          

~> sudo cat /proc/2286197/cmdline
java-Dfile.encoding=utf-8-Djava.awt.headless=true--add-opensjava.base/jdk.internal.loader=ALL-UNNAMED--add-opensjava.base/java.util=ALL-UNNAMED--add-opensjava.base/java.lang=ALL-UNNAMED--add-opensjava.base/java.io=ALL-UNNAMED-XX:+ExitOnOutOfMemoryError-cp/metersphere:/opt/jmeter/lib/ext/*:/metersphere/lib/*:/standalone/lib/*io.metersphere.Application⏎

相关宿主OS信息:

~> cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"