Issue #9537 has been updated by Oliver Hookins.

>From what I can see, every process started by Puppet will inherit the niceness 
>value Puppet had at the time. Since we want to run production services and 
>have Puppet's CPU intensive periods not affect those services too much we run 
>Puppet niced to low priority. Unfortunately if Puppet is also responsible for 
>starting some of those processes they end up being run with low priority as 
>well.

The work around (which we have not yet implemented) would be to check for such 
processes and renice them after the Puppet run (or during the next one) but it 
should be possible to set a default niceness for all spawned processes that are 
part of an Exec or Service so that they aren't limited to just what they 
inherit from Puppet.

Packages and other processes I suspect aren't too much of a big deal since we 
don't want them interfering with production services either.
----------------------------------------
Feature #9537: configurable nice value (explicitly on service and exec calls)
https://projects.puppetlabs.com/issues/9537

Author: Daniel Zahn
Status: Needs More Information
Priority: Normal
Assignee: Nigel Kersten
Category: service
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


We would like to be able to set the nice value on puppetd, but we don't want 
everything NICEd that is started by puppet.

---

When searching for this i found this almost identical request from 2010 on 
http://markmail.org/message/2xscb6v6l7pi6zqn:

The requestor, Trevor, said he was about to add this as a request here, but did 
not have his account data. It seems though he never did, as i could not find 
the request in here.

So i will just copy and paste it here.

quote:

"So, some of us would like to be able to set the nice value on puppetd. 
However, we don't want all of our services (and some of our execs) re-niced.

Would it be feasible/practical to have the ability to set the nice value 
explicitly on Service and Exec calls? "

This is what we are also interested in.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to