jenkins Process leaked file descriptors
https://stackoverflow.com/questions/17024441/process-leaked-file-descriptors-error-on-jenkins
1.
BUILD_ID=dontKillMe nohup ./yourStartScript.sh &
不确定是否有效
2.
Add this line as a JAVA_ARGS argument when you start your jenkins server (I put mine on /etc/default/jenkins in my Ubuntu box)
-Dhudson.util.ProcessTree.disable=true
Centos 里面可能是/etc/sysconfig/jenkins
3.
By default, Jenkins will kill all the spawned process at the completion of build.
To override this, you need to create environment variable BUILD_ID.
Go to Jenkins-->Manage Jenkins-->Configure System Now under 'Global properties' section, under Environment variables, click on ADD button to add new Environment variable. Give Name= BUILD_ID and value='allow_to_run_as_daemon start_my_service' (without quote). Click on save button. And you are done.
Now the spawn process will continue to execute even after the build got completed.
这个试验后有效。
最新文章
- 在线课程笔记—.NET基础
- iBATIS代码生成分析
- 电量检测芯片BQ27510使用心得
- eclipse 项目修改和更新项目,回退版本,解决分支的冲突的办法
- 浅析Oracle范式的概念(转载)
- 菜鸟学习Struts——总结
- poj 2349 Arctic Network
- VMProtect使用小计【一】
- POJ1321 棋盘问题(dfs)
- openssl CA 自签证书,阿里云配置tomcat https
- WISPr1.0
- HDOJ 2665 Kth number
- spring-mvc-两个个小例子
- 2.跑nodejs文件
- 『网络の转载』关于初学者上传文件到github的方法
- OpenCV入门之寻找图像的凸包(convex hull)
- 696. Count Binary Substrings
- No input file specified ci
- sqlserver常用调优脚本
- iOS端JSON转Model链式编程框架SuperKVC使用方法与原理