Category: PaaS
-
Post Views: 16 1. The operation of the command-line script is supported based on Supervisor. During the continuous operation, the problem of occupying too much memory is still not fundamentally solved. Check the URL:https://www.shuijingwanwq.com/2019/07/24/3376/ 2. Check the URL:https://stackoverflow.com/questions/27341846/using-supervisor-as-cron, by calling the bash sleep command to execute the command-line script at a certain time interval to avoid continuous uninterrupted operation, so…
-
Post Views: 14 1. Docker deployment, when building an image on Jenkins, an error is reported: composer install returned a non-zero code: 255, as shown in Figure 1 2. The code for the failure of the dockerfile to execute the command is as follows 3. Edit Dockerfile, the build is successful, the reason for the visible failure is: composer install…
-
Post Views: 14 1. All Rancher environment variables at this stage have no default values, so they must be clearly set in the Rancher environment variables, as shown in Figure 1 2. The configuration file of the previous environment variable, if the environment variable is not set: channel_pub_api_cfg_db_table_pr efix, then set its default value to: channel_pub_api_cfg_db_table_prefix, that is, its value…
-
Post Views: 14 1. The current upgrade plan, after the Rancher container is upgraded, enter the Docker container and run it in sequence on the command line: 2. The problem with the current upgrade plan is that sometimes after the Rancher container is upgraded, the operation and maintenance personnel need to paste and run at least 2 commands in each…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…
-
Post Views: 15 1. Supervisor is a small system that can manage and monitor various processes in UNIX-like systems. The configuration file of supervisor is a Windows-ini style (Python ConfigParser) file. 2. The program configuration item of the configuration file of Supervisor 3. Create a new \build\c_files\etc\supervisord.d\yii-task-submit.ini, as shown in Figure 1 4. StopWaitSecs, after the program sends a stop…
-
Post Views: 44 1. In the local environment, post in postman , http://api.aims-api.localhost/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response is successful 2. In development environment, post in postman , http://wjdev2.chinamcloud.com:8659/v1/tasks?group_id=015ce30b116ce86058fa6ab4fea4ac63 , the response failed, as shown in Figure 2 3. Edit the Dockerfile of the interface (RPC client), and delete the passthru in disable_functions 4. Edit the Dockerfile of the RPC server and…
-
Post Views: 49 1. Since the yiisoft/yii2-composer (2.0.7) cannot be downloaded from dist, now try to download from the source code, the process class depends on proc_open , which is not available in php installation, as shown in Figure 1 2. Edit Dockerfile, delete proc_open, proc_close in disable_functions 3. The previous proc_open and proc_close were also disabled and can be…