mldonkey init script uses renice ${NICE} -u ${USER} which results of renicing ALL the processes started by ${USER}, not only those launched by mldonkey init script. a better solution would be something like for i in `pgrep -u ${USER} mlnet` do renice -p $i ${NICE} done or something like that. Reproducible: Always Steps to Reproduce:
fixed in portage, thanks :)
With this patch i see this error: gentoonet root # /etc/init.d/mldonkey start * Starting mldonkey... 13334: vecchia priorit
With this patch i see this error: gentoonet root # /etc/init.d/mldonkey start * Starting mldonkey... 13334: vecchia priorità 0, nuova priorità 0 renice: 19: getpriority: No such process [ !! ] renice does not work.
I correct this line: renice -p $i ${NICE} in renice ${NICE} -p $i
With this patch mldonkey work well gentoonet root # /etc/init.d/mldonkey start * Re-caching dependency info (mtimes differ)... * Starting mldonkey... 13855: vecchia priorit
With this patch mldonkey work well gentoonet root # /etc/init.d/mldonkey start * Re-caching dependency info (mtimes differ)... * Starting mldonkey... 13855: vecchia priorità 0, nuova priorità 19 [ ok ]
sorry about that- fixed ;)