Il giorno 26/mar/09, alle ore 23:23, DaB. ha scritto:
Hello all,
the load on the login-server (nightshade) is quite high at the
moment. One of
the problems, that cause this, is that people don't use nice. The
nice-level
tells an operation system how important a program is and how much
cpu-power
it should get (to simplify it).
I didn't know. Is it there in the Toolserver guide?
Normal user can set a nice-level between 0 and 19. 0
is the highest,
19 the
lowest value. The default is 0. Longrunning tasks like bots should
use a low
nice-level like 10.
The usage is quite easy. Just put a "nice -n 10" before your
command. An
example would be
nice -n 10 python redirect.py broken
which runs the program python (that executes the redirect-script) at
nice-level 10.
I've niced a lot of scripts of mine to 10. Hope this helps. :-)
Thanks for your attention :).
Sincerly,
DaB.
_______________________________________________
Toolserver-l mailing list
Toolserver-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/toolserver-l
Pietrodn
powerpdn(a)gmail.com