当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 统计文本中字母的频次(不区分大小写)
- The CPU does this without the memory
- Web Security (1) -- browser homology strategy
- Awk implements SQL like join operation
- Analysis of kubernetes service types: from concept to practice
- 浅谈HiZ-buffer
- AFO记
- Got timeout reading communication packets解决方法
- Adobe media encoder / me 2021 software installation package (with installation tutorial)
- 阿里terway源码分析
猜你喜欢

一文详解微服务架构

Count the frequency of letters in text (case insensitive)

The CPU does this without the memory

Analysis of kubernetes service types: from concept to practice
![[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

30岁后,你还剩下什么?

Git code submission operation, and git push prompt failed to push some refs'xxx '

聊聊Go代码覆盖率技术与最佳实践

编程界大佬教你:一行Python代码能做出哪些神奇的事情?

On hiz buffer
随机推荐
Static + code block + polymorphism + exception
Don't treat exceptions as business logic, which you can't afford
ECMAScript7规范中的instanceof操作符
小熊派开发板实践:智慧路灯沙箱实验之真实设备接入
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
Awk implements SQL like join operation
14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
laravel8更新之维护模式改进
【C++学习笔记】C++ 标准库 std::thread 的简单使用,一文搞定还不简单?
Awk implements SQL like join operation
Insight -- the application of sanet in arbitrary style transfer
一次公交卡被“盗刷”事件带来的思考
Thinkphp6中where条件中字段与字段比较条件的写法
当 TiDB 与 Flink 相结合:高效、易用的实时数仓
IDEA-项目未自动生成 .iml 文件
AFO
来自不同行业领域的50多个对象检测数据集
微服务的出现和意义的探索
C language I blog assignment 03
Adobe Lightroom /Lr 2021软件安装包(附安装教程)