Category: Supervisor
-
Post Views: 13 1. Reference URL:https://www.shuijingwanwq.com/2020/09/30/4552/, this is a previous blog. 2. When the cluster is deployed, the overall 4 groups of queues are all executed. It can be controlled within half an hour. However, sometimes, the length of time is still uncontrollable, and may even exceed an hour. 3. Decide to print log information in the relevant places in…
-
Post Views: 16 1. Yii2 queue extension, in the Redis driver, when the info command prints information about the queue status, the queue of the reserved state has always existed. Check the system log, there is no abnormal output. Reference URL:https://www.shuijingwanwq.com/2019/12/16/3737/. as shown in Figure 1 2. Check the running status of supervisord: supervisorctl status. Delete the task group queue,…
-
Post Views: 50 1. Report an error in the shell:[!: command not found,如图1 [Caption id=”attachment_4126″ align=”alignnone” width=”1363″]#ATFP_CLOSE_Translate_span# Figure 1[/caption] 2. Edit /build/c_files/config/init/console_init.sh. at[]Add spaces before and after. as shown in Figure 2 3. There is no error in the shell. And the error: unlinking stale socket /var/run/supervisor/supervisor.sock has also disappeared. as shown in Figure 3
-
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: 13 1. Configuration file \channel-pub-api\build\c_files\etc\supervisord.d\yii-qq-transaction-video-sync.ini 2. In the console command script, run once, write 1 file, the code is as follows 3. After the development environment is upgraded, check the directory /sobey/www/channel-pub-api/console/runtime/ . 4. The current requirement is that after running once, run the console command script again after 60 seconds, and finally decide to implement the Sleep…
-
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…