There are over 1m+ cache files in one directory on a server. I would need to remove them, but of course rm first lists file and then starts to remove them. That cause a high spike in a server CPU load and can cause whole server to break down. Any ideas how to safely remove them without causing any harm?
- 2see unix.stackexchange.com/q/37329 and unix.stackexchange.com/q/66806don_crissti– don_crissti2016-11-05 17:20:51 +00:00Commented Nov 5, 2016 at 17:20
Add a comment |