saltstack/salt — Issue #523: priority/nice handling
Author: gerard-lynch
Created: 2012-01-16 17:00:09+00:00
State: open

priority: low

description:
implement an additional attribute which sets a process "nice" value.

reason:
Upstream code changes could occur, which alter the way service calls are made, modifying the "nice" value of a process. Without a way of setting a definite value, the only workaround is to automate or manually perform a "renice".

full background:
I've been using func (https://fedorahosted.org/func/), which performs the same kind of remote command functionality as Salt. Running on CentOS 5x with Python 2.4, all programs (re)started had a niceness of 0. On CentOS 6x with Python 2.6, all programs (re)started had a niceness of 10. Investigation suggests that Python multithreading maybe causing this.

Thanks
Gerard