Hi,

Yes, the CPU usage of the process which runs hudson.war scales to 250+%.
It doesn't run hudson.war alone, but it also runs the Maven, ANT, jboss and 
other tasks required by the jobs. And sometimes because of the intensity of 
the jobs or so, it goes out of PermGenSpace and I have to restart jenkins 
for resolving that. I run jenkins on a 32 bit server in Red Hat Linux.
Can you tell me the good MAVEN_OPTS configuration settings? I think MAVEN 
runs out of memory when it does something with very high intensity and 
things break loose.
I am not able to get the optimum MAVEN settings for Jenkins.

Regards,
Aswini


On Friday, 26 April 2013 15:59:37 UTC+1, LesMikesell wrote:
>
> On Fri, Apr 26, 2013 at 9:41 AM, Aswini Rajasekaran 
> <aswini.ra...@gmail.com <javascript:>> wrote: 
> > Hi Les, 
> > I don't run my master as slave right now and use 3 executors on master. 
> But 
> > at times, it is heavily loaded and the CPU usage of the master goes to 
> 250% 
> > or so. 
> > If I run the master as slave, will this overloading reduce on master? 
>
> First, the CPU use is probably not from jenkins itself but from 
> whatever programs the build jobs invoke, so it won't make much 
> difference whether they are run by a master or slave instance. 
> Second, a value of 250% for CPU doesn't make sense unless it is scaled 
> to 100% per CPU - in which case it may or may not be a problem 
> depending on how many CPUs you have.   If you are concerned about 
> wall-clock time to complete a job, you need to look at the competition 
> for CPU/RAM/disk across the concurrent jobs to choose the optimal 
> number of executors - and disk contention would be a more common 
> bottleneck than CPU.  If you are running CPU or network intensive 
> tests and want to emulate a production environment, then you would 
> want to match the concurrency you expect there, or run a single 
> instance for consistent timing values. 
>
> -- 
>    Les Mikesell 
>        lesmi...@gmail.com <javascript:> 
>

-- 
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 jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to