Remove `Process leaked file descriptors` message

287 views
Skip to first unread message

artyom....@aurea.com

unread,
Sep 1, 2017, 9:20:59 AM9/1/17
to Jenkins Developers
Hello. I execute some external commands in my jenkins plugin (mostly to get git / svn info) and sometimes i see annoying message 

Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
 
in the process output. I don't want this message, can i disable it?

Jesse Glick

unread,
Sep 1, 2017, 10:23:28 AM9/1/17
to Jenkins Dev
Sure, by fixing the leak!

Oleg Nenashev

unread,
Sep 2, 2017, 1:06:24 PM9/2/17
to Jenkins Developers
There is a way to do it by setting the "BUILD_ID=dontKillMe" environment variable.
In such case the build should not grumble about that.

пятница, 1 сентября 2017 г., 7:23:28 UTC-7 пользователь Jesse Glick написал:
Sure, by fixing the leak!

artyom....@aurea.com

unread,
Sep 4, 2017, 5:38:55 AM9/4/17
to Jenkins Developers
Sure, by fixing the leak!

Well, that out of my control

 There is a way to do it by setting the "BUILD_ID=dontKillMe" environment variable.

Doesn't this mean that jenkins will not correctly close such processes at all? 


This is a nice feature, i like it, but it corrupts valid process output with this debug message. I thought that this message is optional (or can be redirected to some other logger), but it seems like it is hardcoded... pretty sad
Reply all
Reply to author
Forward
0 new messages