Discussion:
Setting the underlying platform job priority while running on Linux
Randall Becker
2018-12-05 14:40:52 UTC
Permalink
I have a situation where the JVM running remoting.jar needs to run at a
lower system priority than the default for the user. Basically, in Linux
terms, I would like to run the equivalent of 'nice' as part of either the
job or preferably the Node's agent startup. I cannot allocate a dedicated
machine for the builds and I've got users whining about the load.

Any ideas?

Thanks,
Randall
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/78725f8f-2e43-4a23-9401-39878e400b82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Randall Becker
2018-12-05 19:44:43 UTC
Permalink
FWIW, I add the following Prefix under Advanced in the node definition:
nice nice sh -c '
and ' as a suffix. That seemed to do the trick and slow down the whining.
Post by Randall Becker
I have a situation where the JVM running remoting.jar needs to run at a
lower system priority than the default for the user. Basically, in Linux
terms, I would like to run the equivalent of 'nice' as part of either the
job or preferably the Node's agent startup. I cannot allocate a dedicated
machine for the builds and I've got users whining about the load.
Any ideas?
Thanks,
Randall
--
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+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6b9958fc-a7e5-4737-b05f-9bc0d76bd515%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...