当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 你可能不知道的Animation动画技巧与细节
- The prediction accuracy of the model is as high as 94%! Using machine learning to solve the 200 billion dollar inventory problem perfectly
- WPF 关于绘图个人总结
- Web安全(三)---CSRF攻击
- Sentry 安装
- 一文详解微服务架构
- It's time to end bertology
- static+代码块+多态+异常
- [C + + learning notes] how about the simple use of the C + + standard library STD:: thread?
- Git code submission operation, and git push prompt failed to push some refs'xxx '
猜你喜欢
一文详解微服务架构
Principles of websocket + probuf
On the coverage technology and best practice of go code
工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
websocket+probuf.原理篇
Deep into web workers (1)
The emergence and significance of micro service
Data transmission of asynchronous serial communication controlled by group bus communication
【原创】ARM平台内存和cache对xenomai实时性的影响
随机推荐
Awk implements SQL like join operation
Stack bracket matching
模型预测准确率高达94%!利用机器学习完美解决2000亿美元库存难题
洞察——风格注意力网络(SANet)在任意风格迁移中的应用
Code Review Best Practices
Awk implements SQL like join operation
ngnix集群高并发
Insight -- the application of sanet in arbitrary style transfer
Improvement of maintenance mode of laravel8 update
AFO记
Cpp(三) 什么是CMake
Design pattern of facade and mediator
盘点那些争议最大的编程观点,你是什么看法呢?
android基础-RadioButton(单选按钮)
Ac86u KX Online
Reflection on a case of bus card being stolen and swiped
Search and replace of sed
The emergence and significance of micro service
Count the frequency of letters in text (case insensitive)
浅谈HiZ-buffer