Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Managing process priority.
13th May, 2013, 11:17 PM
Post: #2
Fred Offline
Registered
Posts: 321
Joined: Apr 2013
Reputation: 36
RE: Managing process priority.
Thanks for this, I'm already doing something like this but in an other way, but this seems to be a better solution. Now I'm using scripts containing these kind of lines:
Code:
sudo nice -n 15 /etc/init.d/nzbget start >/dev/null 2>&1 &

To add info: You can also change the priority of existing processes using renice, for instance for changing the priority of samba:
Code:
sudo renice 10 `pgrep smbd`
sudo renice 10 `pgrep nmbd`

Also, I have been told that you have to run the following before these priorities will have any effect, don't know if this is (still) true.
Code:
sudo sysctl kernel.sched_autogroup_enabled=0

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Managing process priority. - Trinket - 13th May, 2013, 01:07 AM
RE: Managing process priority. - Fred - 13th May, 2013 11:17 PM
RE: Managing process priority. - wilcoo - 14th May, 2013, 12:20 AM
RE: Managing process priority. - zilexa - 14th May, 2013, 11:10 PM
RE: Managing process priority. - Trinket - 16th May, 2013, 05:55 AM
RE: Managing process priority. - zilexa - 27th May, 2013, 08:57 PM
RE: Managing process priority. - alstonamos - 4th Jul, 2016, 04:08 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 3rd Jun, 2025, 09:05 PM Powered By MyBB, © 2002-2025 MyBB Group.