Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an EC2 instance running CentOS 5.6 86_64. I use xfs_freeze to freeze/thaw a file system before taking a snapshot. Normally this works great, but today it stopped working - the freeze operation never finished. I checked the process list and found a handful of xfs_io processes running that seem to be stuck:

  337 pts/0    D      0:00 /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /var/lib/pgsql
32138 pts/0    D      0:00 /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /var/lib/pgsql
32228 pts/0    D      0:00 /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /var/lib/pgsql
32261 pts/0    D      0:00 /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /var/lib/pgsql
32305 ?        D      0:00 /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /var/lib/pgsql

kill -TERM and kill -9 don't seem to kill these processes off. I really don't want to reboot the machine, because it happens to be a primary database server.

Any suggestions?

share|improve this question

1 Answer 1

If kill -9 doesn't work, it's likely the thread is in a kernel call and the kernel is blocking the SIGINT. You can't kill threads/processes in that state. This answer and this answer explain why.

Essentially, you most likely need to reboot.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.