当前位置:网站首页>Using subprocess residue in supervisor and python multiprocessing
Using subprocess residue in supervisor and python multiprocessing
2020-11-07 20:57:00 【Coxhuang】
List of articles
- supervisor and Python Of multiprocessing Use of
- #1 Environmental Science
- #2 demand
- #3 solve Python Multi process and supervisor problem
supervisor and Python Of multiprocessing Use of
#1 Environmental Science
Ubuntu 16.04 Python 3.8.1
#2 demand
- Use supervisor management Python The program , When Python Used in program multiprocessing modular ,supervisor Of stop and restart Instructions only kill the main process , The child process will remain
#3 solve Python Multi process and supervisor problem
killasgroup It can be said that it is specially adapted Python Of multiprocessing modular , If the stopasgroup=true, that killasgroup It will also default to true, So we just need to configure stopasgroup=true that will do , Be careful stopasgroup and killasgroup The types of signals sent are different .
Configuration example :
[group:multiprocesstest] programs=multiprocess [program:multiprocess] command=python3 /home/cox/work/test/multiprocess_suspend/multiprocess_suspend.py directory=/home/cox user=cox autorestart=true redirect_stderr=true stopasgroup=true
Participation of this paper Tencent cloud media sharing plan , You are welcome to join us , share .
版权声明
本文为[Coxhuang]所创,转载请带上原文链接,感谢
边栏推荐
- ROS学习---远程启动ROS节点
- Writing method of field and field comparison condition in where condition in thinkphpp6
- Cpp(一) 安装CMake
- Assembly function MCALL systemstack asmcgocal system call
- Exploration and practice of growingio responsive programming
- 洞察——风格注意力网络(SANet)在任意风格迁移中的应用
- 团灭 LeetCode 股票买卖问题
- 盘点那些争议最大的编程观点,你是什么看法呢?
- Do not understand the underlying principle of database index? That's because you don't have a B tree in your heart
- 14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
猜你喜欢
![[original] the influence of arm platform memory and cache on the real-time performance of xenomai](/img/cb/0395507ece572556b2bab373f013a5.jpg)
[original] the influence of arm platform memory and cache on the real-time performance of xenomai

计组-总线通信控制之异步串行通信的数据传输

Count the frequency of letters in text (case insensitive)

团灭 LeetCode 股票买卖问题

Do not understand the underlying principle of database index? That's because you don't have a B tree in your heart

京淘项目day09

websocket+probuf.原理篇

The emergence and significance of micro service

微信小程序request报400错误 @RequestBody接收不到

Git代码提交操作,以及git push提示failed to push some refs'XXX'
随机推荐
Awk implements SQL like join operation
看一遍就理解,图解单链表反转
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
Get started, GIT
模型预测准确率高达94%!利用机器学习完美解决2000亿美元库存难题
Cpp(四) Boost安装及基本使用 for Mac
Data transmission of asynchronous serial communication controlled by group bus communication
阿里terway源码分析
Ubuntu下搜狗输入法的下载安装及配置
编程界大佬教你:一行Python代码能做出哪些神奇的事情?
Code Review Best Practices
What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?
Adobe Prelude / PL 2020 software installation package (with installation tutorial)
凯撒密码实现
On the concurrency of update operation
Web安全(三)---CSRF攻击
Insight -- the application of sanet in arbitrary style transfer
There's not much time left for Kwai Chung.
Kylin on kubernetes' practice on eBay
30岁后,你还剩下什么?