当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Summary of the resumption of a 618 promotion project
- 在 Amazon SageMaker 管道模式下使用 Horovod 实现多 GPU 分布式训练
- Big data algorithm - bloon filter
- Implementation of multi GPU distributed training with horovod in Amazon sagemaker pipeline mode
- 编程界大佬教你:一行Python代码能做出哪些神奇的事情?
- Git code submission operation, and git push prompt failed to push some refs'xxx '
- 状态压缩:对动态规划进行降维打击
- Web Security (1) -- browser homology strategy
- easyui dialog“缓存问题”
- More than 50 object detection datasets from different industries
猜你喜欢

Got timeout reading communication packets解决方法

一万四千字分布式事务原理解析,全部掌握你还怕面试被问?

来自不同行业领域的50多个对象检测数据集

工作1-3年的程序员,应该具备怎么样的技术能力?该如何提升?

Jingtao project day09

Ac86u KX Online

洞察——风格注意力网络(SANet)在任意风格迁移中的应用

What kind of technical ability should a programmer who has worked for 1-3 years? How to improve?

洞察——风格注意力网络(SANet)在任意风格迁移中的应用

【解决方案】分布式定时任务解决方案
随机推荐
微服务的出现和意义的探索
是时候结束 BERTology了
ngnix集群高并发
Insight -- the application of sanet in arbitrary style transfer
14000 word distributed transaction principle analysis, master all of them, are you afraid of being asked in the interview?
Reflection on a case of bus card being stolen and swiped
虚拟DOM中给同一层级的元素设置固定且唯一的key为什么能提高性能
Do not understand the underlying principle of database index? That's because you don't have a B tree in your heart
How to choose a good company
Stack bracket matching
关于晋升全栈工程师,从入门到放弃的神功秘籍,不点进来看一看?
How did I lose control of the team?
Thinkphp6中where条件中字段与字段比较条件的写法
来自不同行业领域的50多个对象检测数据集
Practice of Xiaoxiong school development board: real equipment access of smart street lamp sandbox experiment
Annual salary of 900000 programmers is not as good as 3800 civil servants a month? How to choose between stability and high income?
状态压缩:对动态规划进行降维打击
使用 Xunit.DependencyInjection 改造测试项目
计组-总线通信控制之异步串行通信的数据传输
How Facebook open source framework simplifies pytorch experiment