-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a MaxPermSize to recommended launcher commandline #687
Comments
hi, I think we need to recommend running the jar with increased permgen and heap space. e.g.
|
Even with increasing permgen and heap it still blows up due to exceeding permgen when using the launcher:
|
hi @afelle1 you need to set the jvm args on the commandline if you are running the launcher, not in the /etc/profile:
|
For the rpm install you can add to the end of /etc/rundeck/profile
|
Thanks, yeah I was mixing up the rpm configuration with the java jar. |
note: a default |
I'm running into the same issue, running from the rpm install (service rundeckd start) My jobs are running on one local node, but by the 17th chained job (each job executes a script, then calls on the next job) I get OOM. Does rundeck support deep chaining of this kind or is it prone to hold on the memory thereby causing a memory leak. I've tried doubling Xmx and doubling XX:MaxPermSize, but when running my chained jobs, I always get an OOM. Is calling a job from another job not the way to design sequences of jobs? The reason I did this was to be able to restart my process at the last job that failed in the job chain. 2015-05-09 05:43:48.558:INFO:oejsh.ContextHandler:started o.e.j.w.WebAppContext{/,file:/var/lib/rundeck/exp/webapp/},/var/lib/rundeck/exp/webapp
2015-05-09 05:43:48.641:INFO:/:Initializing Spring FrameworkServlet 'grails'
2015-05-09 05:43:48.681:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:4440
INFO ScheduledExecutionService: scheduling immediate job run: TEMP:admin:302:79
ERROR GrailsExceptionResolver: OutOfMemoryError occurred when processing request: [POST] /execution/tailExecutionOutput
Java heap space. Stacktrace follows:
org.codehaus.groovy.grails.web.servlet.mvc.exceptions.ControllerExecutionException: Executing action [tailExecutionOutput] of controller [rundeck.controllers.ExecutionController] caused exception: Runtime error executing action
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1360)
at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:198) |
Having an issue with the jvm on OSX
$ java -version java version "1.7.0_21" Java(TM) SE Runtime Environment (build 1.7.0_21-b12) Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
log information ...
The text was updated successfully, but these errors were encountered: