Ask Your Question
0

readlink cause the cpu 100% usage

asked 2012-11-29 07:36:32 -0500

jing gravatar image

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!!!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
0

answered 2012-12-02 12:36:05 -0500

jing gravatar image

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

edit flag offensive delete link more
0

answered 2012-11-29 13:56:56 -0500

dims-v gravatar image

Are you using VFS?

edit flag offensive delete link more
0

answered 2012-11-30 00:46:28 -0500

jing gravatar image

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!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-11-29 07:36:32 -0500

Seen: 68 times

Last updated: Dec 02 '12