[Toolserver-l] nice and renice

Pietrodn powerpdn at gmail.com
Fri Mar 27 13:10:41 UTC 2009


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 at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/toolserver-l

Pietrodn
powerpdn at gmail.com




More information about the Toolserver-l mailing list