Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to limit Jenkins child processes?

I have clean installation of Jenkins CI on my UbuntuServer 12.10, no jobs, no nothing, just Jenkins. Installation is from aptitude. What thrills me is that Jenkins is doing nothing at the moment and has something about 40 child processes, which consumes quite a lot of my server's memory. Is there a way to limit number of these child processes to, for example, 10?

like image 224
pawel.kalisz Avatar asked Apr 05 '13 07:04

pawel.kalisz


1 Answers

Yes you can.

go to Jenkins > Manage Jenkins > Configure System > Specify number of executers corresponding to the text box "# of executors"

Another best method is using slave machines to divide work load. Use master slave configuration to setup slave machines.

like image 153
Manu Mohan Avatar answered Sep 19 '22 02:09

Manu Mohan