No executors on a slave run in the same JVM. >From my experience, when possible and for non trivially might builds I'd recommend to run only one executor per slave. This way you won't have difficult to predict instabilities when X ram-greedy builds will run simultaneously on the same slave. If you can afford using VM, then just spawn smaller ones but more of them. My 2 cents Le 17 févr. 2015 19:56, "Sean Last" <[email protected]> a écrit :
> My understanding of jenkins is that all the executors on a slave run in > the same JVM? Is that correct? Or does it launch separate JVMs for each > executor? If I manually set the heap size (Xmx) for each executor, could I > know exactly how much RAM was being used? > > On Tuesday, February 17, 2015 at 12:45:40 PM UTC-5, Sean Last wrote: >> >> Thu Jan 29 15:48:45 2015] Out of memory: Kill process 19422 (java) score >> 139 or sacrifice child >> [Thu Jan 29 18:24:25 2015] Out of memory: Kill process 19422 (java) >> score 140 or sacrifice child >> [Thu Jan 29 20:23:21 2015] Out of memory: Kill process 19422 (java) >> score 143 or sacrifice child >> [Fri Jan 30 20:25:04 2015] Out of memory: Kill process 19422 (java) >> score 162 or sacrifice child >> [Tue Feb 3 19:19:10 2015] Out of memory: Kill process 19422 (java) score >> 163 or sacrifice child >> [Wed Feb 4 14:16:41 2015] Out of memory: Kill process 19422 (java) score >> 165 or sacrifice child >> [Wed Feb 4 16:22:11 2015] Out of memory: Kill process 19422 (java) score >> 166 or sacrifice child >> [Wed Feb 4 19:20:27 2015] Out of memory: Kill process 19422 (java) score >> 163 or sacrifice child >> [Fri Feb 6 14:16:21 2015] Out of memory: Kill process 25783 (java) score >> 112 or sacrifice child >> [Mon Feb 9 06:20:54 2015] Out of memory: Kill process 31175 (java) score >> 140 or sacrifice child >> [Mon Feb 9 08:55:12 2015] Out of memory: Kill process 25783 (java) score >> 115 or sacrifice child >> [Mon Feb 9 16:55:25 2015] Out of memory: Kill process 25783 (java) score >> 121 or sacrifice child >> [Mon Feb 9 16:55:59 2015] Out of memory: Kill process 25783 (java) score >> 121 or sacrifice child >> [Mon Feb 9 17:01:16 2015] Out of memory: Kill process 25783 (java) score >> 121 or sacrifice child >> [Wed Feb 11 10:13:51 2015] Out of memory: Kill process 25783 (java) >> score 127 or sacrifice child >> [Wed Feb 11 10:16:37 2015] Out of memory: Kill process 25783 (java) >> score 127 or sacrifice child >> >> Should I reduce the number of executors, or how can I solve this? >> > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/fdffd9ea-085f-405e-a66e-9aaf0ba36645%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/fdffd9ea-085f-405e-a66e-9aaf0ba36645%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7M%3DoQepGsu7xzmxgEhp7geDaduJ1wSVdAU9a4RsmGnaw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
