readlink cause the cpu 100% usage

Asked by Lawrance

i have a single node with openstack installed.
about few days ago, when i boot a vm with "nova boot", the vm hangs in Spawning state, well, i restart the nova,but it does not work.
OK,then i want to reboot the host,but i can not restart the host, finally , i found the readlink process cause the cpu 100% usage.
#################################################################
root@openstack:/dev# top
......
24796 root 20 0 7172 356 280 R 99 0.0 23:37.68 readlink
27665 root 20 0 7172 356 280 R 98 0.0 18:07.41 readlink
......

root@superstack:~# ps -ef | grep readlink
root 4298 16710 0 15:36 pts/15 00:00:00 grep --color=auto readlink
root 24796 1 99 15:09 ? 00:26:34 /bin/readlink -nm /tmp/openstack-disk-mount-tmp8txMP6/root/.ssh
root 27665 1 99 15:14 ? 00:21:04 /bin/readlink -nm /tmp/openstack-disk-mount-tmpEVwj5h/root/.ssh
#################################################################

when i hard reboot the host,everything goes well,but today the same damn thing appear in the single node.

any help will appriciate!!!
Thanks in advance!!!

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Lawrance
Solved:
Last query:
Last reply:
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) said :
#1

Are you using VFS?

Revision history for this message
Lawrance (jing) said :
#2

i use nova-compute-lxc and the libvirt-type is lxc , i have hard reboot the host, and i will try reappear the problem.
how to confirm if i use the VFS?
when the lxc instance start it will use nbd(network block devices)
Thanks!

Revision history for this message
Lawrance (jing) said :
#3

sometimes libvirt-lxc will cause 100% cpu usage,i guess this problem will related with nbd....i will do futher test