[Systems] buildslave4.sugarlabs.org
David Farning
dfarning at sugarlabs.org
Wed Mar 18 09:58:16 EDT 2009
2009/3/18 Sascha Silbe <sascha-ml-ui-sugar-systems at silbe.org>:
> On Wed, Mar 18, 2009 at 08:21:24AM -0500, David Farning wrote:
>
>> Does nice apply when build-bot spawns sugar-jhbuild using exec?
>
> Niceness (process priority) is inherited. In the past, you couldn't raise
> priority once it had been lowered (with the usual exception of root /
> CAP_SYS_NICE). Since Linux 2.6.12 it can also be raised up to RLIMIT_NICE
> (ulimit -e) again, but only explicitly.
>
>> Every time build-bot builds a package it spawns a new instance of
>> sugar-jhbuild.
>
> Doesn't this spawn happen on the slave anyway? For sugar-jhbuild to run with
> low priority, the slaves need to execute the bot with nice, changing
> priority on the master won't have any effect.
The calls happen in ./jhbuild/buildbot/steps.py
It would seem that you have a much stronger understanding on processes
they I do:)
david
> CU Sascha
>
> --
> http://sascha.silbe.org/
> http://www.infra-silbe.de/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iQEcBAEBAgAGBQJJwPloAAoJELpz82VMF3DajcwIAKsapaY2dwvbgrRT1KlEGd99
> 3z7i+SArTb+1KboaGpWRowjm6fy5CNFi7wxUi7lIrkRuJ81ZKbTdBeXYAabAtNL4
> EJ33nFwcWQlnCeEj34CLMhWW6lToNUbb8ryqepyeXhnfWb7Lf5PLsPZWIUJ0IBz6
> Pt7ZPHvZdt8K0nkDLVA151pNS1prjgin+j/p3TBK9zYb+ou4wvJNGMonjZMG+X+E
> LpCVQlNeEXZWtdOYg6jfDlJaoqyVaWlFMKSAkMN7sOfZzeYV42Je1X/nC/dfeLAl
> AX+8AZMGrEGrhZAiO11u4NgPegCWgvtDniNlNuLvL2djnQiR5G9+LS7XGbCrGJc=
> =V3D8
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Systems mailing list
> Systems at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/systems
>
>
More information about the Systems
mailing list