Hi, I had a slave agent installed on RHEL 5.5 that communicates with Jenkins ver. 1.413, it ran smoothly with JDK1.6.0_25, then i needed JDK 1.7.0_04-b20 in the local machine running slave agent and my problemas began. When i started the slave agent with the JDK1.7 i got:
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded May 4, 2012 4:48:43 PM hudson.scm.SubversionWorkspaceSelector syncWorkspaceFormatFromMaster WARNING: Failed to retrieve Subversion workspace format java.io.IOException: Remote call on channel failed at hudson.remoting.Channel.call(Channel.java:670) at hudson.scm.SubversionWorkspaceSelector.syncWorkspaceFormatFromMaster(SubversionWorkspaceSelector.java: 92) at hudson.scm.SubversionSCM.createSvnClientManager(SubversionSCM.java: 761) at hudson.scm.SubversionSCM.parseSvnInfo(SubversionSCM.java: 888) at hudson.scm.SubversionSCM.access$300(SubversionSCM.java:173) at hudson.scm.SubversionSCM$1.call(SubversionSCM.java:1059) at hudson.scm.SubversionSCM$1.call(SubversionSCM.java:1032) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors $RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask $Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor $Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor $Worker.run(ThreadPoolExecutor.java:908) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded But it seems i can communicate, for the log in the server says (for the host running the slave agent): JNLP agent connected from /x.x.x.x <===[HUDSON REMOTING CAPACITY]===>Slave.jar version: 1.413 Este es un nodo Unix Copied maven-agent.jar Copied maven3-agent.jar Copied maven3-interceptor.jar Copied maven-interceptor.jar Copied maven2.1-interceptor.jar Copied plexus-classworld.jar Copied classworlds.jar Slave successfully connected and online But every time i tried to run maven with JDK 1.7 like this in the job: cd "$WORKSPACE/x" export JAVA_HOME=/usr/java/default export PATH=$JAVA_HOME/bin:$PATH java -version echo $JAVA_HOME /home/develop/java/apache-maven-2.2.1/bin/mvn -U clean install - Pdesarrollo -Dmaven.test.skip I got: [maven stuff] ... [INFO] ------------------------------------------------------------------------ [INFO] Total time: 20 seconds [INFO] Finished at: Fri May 04 16:58:44 CEST 2012 [INFO] Final Memory: 48M/541M [INFO] ------------------------------------------------------------------------ FATAL: la ejecuciĆ³n del comando ha fallado java.io.IOException: Remote call on neoidasdes.hi.inet failed at hudson.remoting.Channel.call(Channel.java:670) at hudson.remoting.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java: 158) at $Proxy86.join(Unknown Source) at hudson.Launcher$RemoteLauncher$ProcImpl.join(Launcher.java:850) at hudson.Launcher$ProcStarter.join(Launcher.java:336) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java: 82) at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java: 58) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild $AbstractRunner.perform(AbstractBuild.java:662) at hudson.model.Build$RunnerImpl.build(Build.java:177) at hudson.model.Build$RunnerImpl.doRun(Build.java:139) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java: 429) at hudson.model.Run.run(Run.java:1374) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java: 88) at hudson.model.Executor.run(Executor.java:145) Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded Finished: FAILURE Never mind the combinations i did: running slave agent with jdk 1.6.0_25, adding JVM parameters (-Xmx512m), it never worked again. I'd appreciate some guidance.