Tagged: supervisord.d

容器升级后,设置环境变量 PCS_API_CFG_CONSOLE=true,查看 supervisord 运行状态,PHP 命令行脚本 cmc-console-user/sync、config-column-user/sync 皆已运行,符合预期 0

Run the PHP command-line script based on Supervisord, which can be controlled based on the Rancher environment variable to support the implementation of the PHP command-line script only runs in the stand-alone when deploying a cluster

浏览量: 0 1. will /build/c_files/etc/supervisord.d/yii-cmc-console-user-sync.ini, /build/c_files/etc/supervisord.d/yii-config-column-user-sync.ini Shear to /build/c_files/tmp/yii-cmc-console-user-sync.ini, /b uild/c_files/tmp/yii-config-column-user-sync.ini, as shown in Figure 1 2. Edit \build\c_files\config\init\console_init.sh, the code is as follows, as shown in Figure 2 3. Edit \build\readme.md, whether the...

在 第 10 步骤执行完毕后,Docker 容器的 CPU:9.9%,内存:541MB,内存增加了 160MB 左右,每 1000 条数据的添加,内存会增加 20 MB 左右。因此,优化的重点在于第 2 个命令行脚本。 0

The command-line script implemented based on Yii 2.0, during the continuous operation, the analysis and solution of excessive memory occupancy

浏览量: 0 1. When the amount of data in MySQL and Redis is small, the CPU of the Docker container: 0.02%, and the memory: 298MB, as shown in Figure 1 and Figure 2 2....