Note that there are some explanatory texts on larger screens.

plurals
  1. POios-sim in Jenkins Process leaked file descriptors
    primarykey
    data
    text
    <p>I am getting a file leak descriptors in Jenkins when trying to launch ios-sim using the shell. Something I should mention is that I changed the user of Jenkins to my user away from the initially installed "/Users/Shared/Jenkins" location. Here's the message</p> <blockquote> <ul> <li>./ios-sim launch /Users/me/Desktop/tmp/iOS.app --sdk 6.0 --family iphone Process leaked file descriptors. See <a href="http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build" rel="nofollow">http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build</a> for more </li> </ul> </blockquote> <p>The link states it may be due to not being able to detect the EOF. If so how can point Jenkins to write to "stdin/stdout/stderr"?</p> <p>Is it a matter of chowning some files that I may of missed when I moved the "/User/Shared/Jenkins/Home" location to /Users/me/Jenkins/Home and the "/Applications/Jenkins/jenkins.war" file to "/User/me/Applications/jenkins.war" ?</p> <p>In addition to those moves I updated the org.jenkins-ci.plist as follows:</p> <pre><code> &lt;plist version="1.0"&gt; &lt;dict&gt; &lt;key&gt;StandardOutPath&lt;/key&gt; &lt;string&gt;/var/log/jenkins/jenkins.log&lt;/string&gt; &lt;key&gt;StandardErrorPath&lt;/key&gt; &lt;string&gt;/var/log/jenkins/jenkins.log&lt;/string&gt; &lt;key&gt;EnvironmentVariables&lt;/key&gt; &lt;dict&gt; &lt;key&gt;JENKINS_HOME&lt;/key&gt; &lt;string&gt;/Users/me/Jenkins/Home&lt;/string&gt; &lt;/dict&gt; &lt;key&gt;GroupName&lt;/key&gt; &lt;string&gt;staff&lt;/string&gt; &lt;key&gt;KeepAlive&lt;/key&gt; &lt;true/&gt; &lt;key&gt;Label&lt;/key&gt; &lt;string&gt;org.jenkins-ci&lt;/string&gt; &lt;key&gt;ProgramArguments&lt;/key&gt; &lt;array&gt; &lt;string&gt;/bin/bash&lt;/string&gt; &lt;string&gt;/Library/Application Support/Jenkins/jenkins-runner.sh&lt;/string&gt; &lt;/array&gt; &lt;key&gt;RunAtLoad&lt;/key&gt; &lt;true/&gt; &lt;key&gt;UserName&lt;/key&gt; &lt;string&gt;me&lt;/string&gt; &lt;key&gt;SessionCreate&lt;/key&gt; &lt;true /&gt; &lt;/dict&gt; &lt;/plist&gt; </code></pre> <p>I'm using Jenkins version 1.499</p> <p>And here is the jenkins.log error:</p> <pre><code>WARNING: Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information java.lang.Exception at hudson.Proc$LocalProc.join(Proc.java:329) at hudson.Launcher$ProcStarter.join(Launcher.java:360) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:91) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:60) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810) at hudson.model.Build$BuildExecution.build(Build.java:199) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:592) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload