nice didn't do much for me, I dont have ionice either...my kernel is 2.6.9 maybe that's the issue?
I even tried using sleep like
Code:
for i in $(ls); do sleep 0.1s;rm -vf ${i}; done
I tried a workaround which calm rm down a little
Code:
renice -20 -u www
renice 20 -u root
not sure if it's the write solution though but all important services run under other users