If you run scripts that require a lot of execution time it's a good idea to try to avoid letting them overload your system. You can run them via nice, but if for example your script is sending a bunch of emails your email daemon isn't running via nice and it may itself get out of control. One way to deal with this is by using the values in /proc/loadavg to pause when your system load gets too high.

Full story »
missgeek's picture
Created by missgeek 15 years 35 weeks ago
Category: High End   Tags:

Best karma users