Jenkins - 致命:hudson.remoting.RequestAbortedException:java.net.SocketException:Connection reset

时间:2013-11-21 14:35:35

标签: jenkins

我刚刚开始使用Jenkins,我看到一个问题,我的奴隶服务在运行作业时崩溃(该作业执行.exe程序)。我看到的错误如下 -

FATAL: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
hudson.remoting.RequestAbortedException: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
    at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:41)
    at hudson.remoting.RequestAbortedException.wrapForRethrow(RequestAbortedException.java:34)
    at hudson.remoting.Request.call(Request.java:174)
    at hudson.remoting.Channel.call(Channel.java:714)
    at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:167)
    at $Proxy46.join(Unknown Source)
    at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:925)
    at hudson.Launcher$ProcStarter.join(Launcher.java:360)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:94)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:63)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:781)
    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:562)
    at hudson.model.Run.execute(Run.java:1665)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
    at hudson.model.ResourceController.execute(ResourceController.java:88)
    at hudson.model.Executor.run(Executor.java:230)
Caused by: hudson.remoting.RequestAbortedException: java.net.SocketException: Connection reset
    at hudson.remoting.Request.abort(Request.java:299)
    at hudson.remoting.Channel.terminate(Channel.java:774)
    at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:69)
Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:168)
    at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:237)
    at hudson.remoting.FlightRecorderInputStream.read(FlightRecorderInputStream.java:77)
    at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2248)
    at java.io.ObjectInputStream$BlockDataInputStream.peek(ObjectInputStream.java:2541)
    at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2551)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
    at hudson.remoting.Command.readFrom(Command.java:92)
    at hudson.remoting.ClassicCommandTransport.read(ClassicCommandTransport.java:71)
    at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:48)

对于这种情况发生的任何帮助或见解都会很棒!

埃里克

1 个答案:

答案 0 :(得分:2)

我正在使用Jenkins。转到特定的节点, 单击配置,然后在JVM选项中输入 -Xms512m -Xmx1024m

这将增加堆大小。