Comments (1)
修改后的逻辑https://github.com/bluebore/galaxy/pulls
pid_t pid = waitpid(m_child_pid,&ret,WNOHANG);
if(pid == 0 ){
LOG(INFO,"process %d is running",m_child_pid);
return 0;
}else if(pid == -1){
LOG(WARNING,"fail to check process %d state",m_child_pid);
return -1;
}
else{
if(WIFEXITED(ret)){
int exit_code = WEXITSTATUS(ret);
if(exit_code == 0 ){
//normal exit
LOG(INFO,"process %d exits successfully",m_child_pid);
return 1;
}
LOG(FATAL,"process %d exits with err code %d", exit_code);
}
return -1;
}
from galaxy.
Related Issues (20)
- 部分机器wget有问题,导致任务部署失败
- 硬件故障机器及时自动维修
- 部署任务慢,不能达到步长 HOT 1
- batch类型任务调度
- disable cgroup oom killer and use custom killer
- 有同样资源需要的任务,调度到同一个机器上
- 部署增加超时检查功能 HOT 1
- 部署增加黑名单功能 HOT 1
- 任务配置的stop命令没有执行成功
- 添加pod中task 启动时间和运行时间
- agent 打分应该加上实际的cpu使用率, 网络 io,负载相关因素,这样是不是更好?
- trace 每个容器对home盘 写 io 读io的消耗
- Galaxy的OOM Killer统计内存使用状况时忽略了rss部分 HOT 1
- 重要作业的任务fail报警及现场保存
- 开了内存软限的Pod无法收集到已用内存 HOT 1
- 更改系统中jobid、podid、taskid的命名方式
- 能否提供订阅job的每个任务的日志路径接口
- Galaxy 3.0重构计划 HOT 4
- Ubuntu 14.04编译错误
- ubuntu support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galaxy.