Comment 118 for bug 330824

Revision history for this message
Derek (bugs-m8y) wrote :

Repeatedly triggered trying an rm -rf of a subversion tree.
Intel driver. I guess I'll subscribe and await developments.

A workaround for me was to do following:
find ~/svn/trunk -type f | while read f;do rm -f "$f";sleep .1;done
find ~/svn/trunk -depth -type d | while read d;do rmdir "$d";sleep .1;done

There were no lockups after that.
Unfortunately, not a terribly efficient way to erase a large tree, one file every 100 milliseconds took a quarter of an hour for the 10,000 or so files in question.
Perhaps I could have skipped the sleep or shrunk it to 10 milliseconds.
Will try that the next time I need to do this.

Until a patch is released, I suppose I can make a wrapper script for safely doing rm ;)