deibian 13
Docker version 29.0.2, build 8108357
出现错误
ERROR: client version 1.25 is too old. Minimum supported API version is 1.44, please upgrade your client to a newer version
更改 service.sh 文件,找到下面两行
$binDir/docker-compose -f $standaloneComposeFile up -d
$binDir/docker-compose -f $standaloneComposeFile down > /dev/null 2>&1
把 $binDir/docker-compose 改成 docker compose
启动以后老是反应慢。
进入 script-sc-1 以后
> docker exec -it script-sc-1 bash
root@01db6e27474d:/# ps aux | grep mongod
root 2242 0.0 0.0 0 0 ? Z 15:57 0:03 [mongod] <defunct>
root 4165 0.0 0.0 0 0 ? Z 16:01 0:01 [mongod] <defunct>
root 5012 0.0 0.0 0 0 ? Z 16:02 0:01 [mongod] <defunct>
root 5850 0.0 0.0 0 0 ? Z 16:03 0:02 [mongod] <defunct>
root 7012 0.0 0.0 0 0 ? Z 16:03 0:01 [mongod] <defunct>
root 7890 0.0 0.0 0 0 ? Z 16:04 0:02 [mongod] <defunct>
root 8730 0.0 0.0 0 0 ? Z 16:05 0:02 [mongod] <defunct>
root 9569 0.0 0.0 0 0 ? Z 16:06 0:02 [mongod] <defunct>
root 10404 0.0 0.0 0 0 ? Z 16:07 0:01 [mongod] <defunct>
root 11237 0.0 0.0 0 0 ? Z 16:08 0:02 [mongod] <defunct>
root 12070 0.0 0.0 0 0 ? Z 16:08 0:02 [mongod] <defunct>
root 12905 0.0 0.0 0 0 ? Z 16:09 0:01 [mongod] <defunct>
root 13746 0.0 0.0 0 0 ? Z 16:10 0:02 [mongod] <defunct>
root 14592 0.0 0.0 0 0 ? Z 16:12 0:02 [mongod] <defunct>
root 15437 0.1 0.0 0 0 ? Z 16:13 0:02 [mongod] <defunct>
root 16281 0.0 0.0 0 0 ? Z 16:14 0:01 [mongod] <defunct>
root 17132 0.0 0.0 0 0 ? Z 16:15 0:02 [mongod] <defunct>
root 17978 0.1 0.0 0 0 ? Z 16:17 0:02 [mongod] <defunct>
root 18820 0.0 0.0 0 0 ? Z 16:17 0:01 [mongod] <defunct>
root 19670 0.1 0.0 0 0 ? Z 16:18 0:02 [mongod] <defunct>
root 20505 0.1 0.0 0 0 ? Z 16:19 0:02 [mongod] <defunct>
root 21345 0.0 0.0 0 0 ? Z 16:19 0:01 [mongod] <defunct>
root 22190 0.0 0.0 0 0 ? Z 16:21 0:01 [mongod] <defunct>
root 23027 0.0 0.0 0 0 ? Z 16:22 0:01 [mongod] <defunct>
root 23869 0.0 0.0 0 0 ? Z 16:23 0:01 [mongod] <defunct>
root 24698 0.1 0.0 0 0 ? Z 16:24 0:02 [mongod] <defunct>
root 25527 0.1 0.0 0 0 ? Z 16:25 0:02 [mongod] <defunct>
root 26365 0.1 0.0 0 0 ? Z 16:26 0:01 [mongod] <defunct>
root 27210 0.1 0.0 0 0 ? Z 16:28 0:02 [mongod] <defunct>
root 28050 0.1 0.0 0 0 ? Z 16:29 0:02 [mongod] <defunct>
root 28911 0.1 0.0 0 0 ? Z 16:29 0:02 [mongod] <defunct>
root 29749 0.1 0.0 0 0 ? Z 16:30 0:01 [mongod] <defunct>
root 30582 0.1 0.0 0 0 ? Z 16:31 0:02 [mongod] <defunct>
root 31419 0.1 0.0 0 0 ? Z 16:32 0:01 [mongod] <defunct>
root 32259 0.1 0.0 0 0 ? Z 16:33 0:02 [mongod] <defunct>
root 33105 0.1 0.0 0 0 ? Z 16:35 0:01 [mongod] <defunct>
root 33949 0.1 0.0 0 0 ? Z 16:36 0:01 [mongod] <defunct>
root 34774 0.1 0.0 0 0 ? Z 16:37 0:01 [mongod] <defunct>
root 35565 0.2 0.0 0 0 ? Z 16:37 0:02 [mongod] <defunct>
root 36334 0.1 0.0 0 0 ? Z 16:38 0:01 [mongod] <defunct>
root 37103 0.1 0.0 0 0 ? Z 16:39 0:01 [mongod] <defunct>
root 37885 0.1 0.0 0 0 ? Z 16:39 0:01 [mongod] <defunct>
root 38715 0.2 0.0 0 0 ? Z 16:41 0:02 [mongod] <defunct>
root 39552 0.2 0.0 0 0 ? Z 16:42 0:01 [mongod] <defunct>
root 40386 0.2 0.0 0 0 ? Z 16:43 0:01 [mongod] <defunct>
root 41225 0.2 0.0 0 0 ? Z 16:44 0:01 [mongod] <defunct>
root 42064 0.3 0.0 0 0 ? Z 16:45 0:02 [mongod] <defunct>
root 42904 0.4 0.0 0 0 ? Z 16:46 0:02 [mongod] <defunct>
root 43753 0.4 0.0 0 0 ? Z 16:48 0:02 [mongod] <defunct>
root 44589 0.6 0.0 0 0 ? Z 16:48 0:02 [mongod] <defunct>
root 45426 0.4 0.0 0 0 ? Z 16:49 0:01 [mongod] <defunct>
root 46264 0.6 0.0 0 0 ? Z 16:50 0:01 [mongod] <defunct>
root 47103 0.6 0.0 0 0 ? Z 16:51 0:01 [mongod] <defunct>
root 47937 1.0 0.0 0 0 ? Z 16:52 0:01 [mongod] <defunct>
root 48777 2.1 0.0 0 0 ? Z 16:54 0:01 [mongod] <defunct>
root 49615 4.3 0.1 2042520 152272 ? Sl 16:54 0:01 mongod --bind_ip 0.0.0.0 --dbpath /data/mongodb --logpath /data/logs/mongodb.log --fork --wiredTigerCacheSizeGB 20
root 50135 0.0 0.0 9424 2112 pts/0 S+ 16:55 0:00 grep mongod
这样正常么