I need to invoke two window processes in order to start our test after Jenkins build is down. They were normally killed after being brought up, and I receive "Process leaked file descriptors". I found someone suggest to do "set BUILD_ID=dontKillMe " before calling my command to start processes.
Good news is that the processes are able to stay. Bad news is "Process leaked file descriptors" still occur and mark Jenkins job failed, hence, I can't execute any test steps afterwards
Any input will be highly appreciated.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1b0a16f2-a41d-4037-b793-2727882f64ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Build step 'Execute Windows batch command' marked build as failure
Build step 'Execute Windows batch command' marked build as failure
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/2db1326a-066f-4cfe-9adc-3d5b814dad11%40googlegroups.com.
mark,I did run Jenkins job in executing windows batch command. But Jenkins job itself kill all the child process.due to Runtime Environment will be down.can you please help us, how I can fix process leaked file descriptors issue.execute shell the command:N:cd CCOP\REFRESH_SCRIPTSrebuild_env.cmd %EnvType%
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build
for more information Triggering a new build of YP » Runtime stop and restart on ST1Finished: SUCCESS
Where to write this command script ?When I got an error I ended up setting the environment variable as name=BUILD_ID and value= allow_to_run_as_daemon start_my_service. Can you please elaborate your solution if its working fine
On Saturday, 24 June 2017 00:24:54 UTC+5:30, Mark Waite wrote:In general, you don't need to fix the message that the process leaked file descriptors. If the process leaks file descriptors, eventually it will exhaust the file descriptors, but that is not likely the cause of a problem for this specific job.If you want processes to survive beyond the end of a job, then there are additional steps you need to take. Refer to https://wiki.jenkins.io/display/JENKINS/Spawning+processes+from+build for techniques to keep a process running after the Jenkins job is complete.Mark Waite
On Friday, June 23, 2017 at 12:57:19 AM UTC-6, parvatha reddy wrote:mark,I did run Jenkins job in executing windows batch command. But Jenkins job itself kill all the child process.due to Runtime Environment will be down.can you please help us, how I can fix process leaked file descriptors issue.execute shell the command:N:cd CCOP\REFRESH_SCRIPTSrebuild_env.cmd %EnvType%Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information Triggering a new build of YP » Runtime stop and restart on ST1Finished: SUCCESS
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/38dff784-bd88-4b63-81fc-a9d588e55a67%40googlegroups.com.