Watching Server Loads

Worth trying: sar -q for a rundown of queue lengths and load averages. Also pstree and I need to sort out what this:

I reniced the gzip process with a low priority level to reduce the load it’s putting on your server. I’d recommend running these scripts with a +19 niceness during periods low traffic to reduce the impact they’re having on your server.

means.

Comments

nice and renice can be used to set priority for the various jobs you have running. As I understand it, load averages above 1 mean that there’s more than one job queued up for the processor at any given time; the niceness of your process determines which job makes it through first. Levels are from -20 to +20, and any user can make their process more nice, but only the superuser can make their process less nice.

Usage:
nice
or
renice +20

posted by Danathan on 12.11.08 at 2:33 pm

Leave a comment