danb35
Hall of Famer
- Joined
- Aug 16, 2011
- Messages
- 15,504
I wanted to see everywhere on my system that I had .iso files, so I ran "find / -name '*.iso'". It listed a bunch of files in a bunch of locations, and then stopped producing output. However, it's sucking 100% CPU (I assume that's 100% of one core), and I can't kill it:
I waited a couple of minutes between the kill -9 and the second ps. What's up? Google found me a number of threads talking about process in IOwait state, which would be denoted by D in the ps output, but this is in state R. I really don't want to reboot the server just because the find process won't stop...
Code:
[root@freenas2] ~# ps | grep find 50470 5 S+ 0:00.00 grep find 34298 1- R+ 188:00.46 find / -name *.iso [root@freenas2] ~# kill 34298 [root@freenas2] ~# kill -9 34298 [root@freenas2] ~# ps | grep find 50535 5 S+ 0:00.00 grep find 34298 1- R+ 189:18.24 find / -name *.iso
I waited a couple of minutes between the kill -9 and the second ps. What's up? Google found me a number of threads talking about process in IOwait state, which would be denoted by D in the ps output, but this is in state R. I really don't want to reboot the server just because the find process won't stop...