OpenVZ Forum


Home » General » Support » Can not suspend VE: Device or resource busy
icon9.gif  Can not suspend VE: Device or resource busy [message #33066] Sun, 21 September 2008 05:05 Go to next message
afrare is currently offline  afrare
Messages: 11
Registered: November 2007
Junior Member
Dear Friends,

When I execute the command vzctl chkpnt 108 --suspend, it return follow message:

Setting up checkpoint...
suspend...
Can not suspend VE: Device or resource busy
file struct is referenced outside 1 2
Checkpointing failed


I use CENTOS 4 and kernel 2.6.9-023stab048.4


Thanks


Adriano
Re: Can not suspend VE: Device or resource busy [message #33090 is a reply to message #33066] Mon, 22 September 2008 12:12 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

- Please, show also dmesg output. There should be additional information.
- What version of vzctl do you use? "vzctl --version"
- What have been done before suspending, what kind of procceses were running inside VE, were there any special processes?
icon9.gif  Re: Can not suspend VE: Device or resource busy [message #33568 is a reply to message #33090] Wed, 22 October 2008 17:08 Go to previous messageGo to next message
ArsDangor is currently offline  ArsDangor
Messages: 6
Registered: March 2008
Junior Member
I have the same problem, with Scientific Linux 5 (based on RHEL5). In my case, dmesg shows only:

CPT ERR: ffff8100a2d18000,2008 :file struct is referenced outside 1 2
CPT ERR: <pipe:[137542838]>CPT ERR: ffff81039a533800,2008 :file struct is referenced outside 1 2
CPT ERR: <pipe:[137542838]>


The container's id is 2008, as you probably guessed. Nothing else gets logged. The kernel version is 2.6.18-53.1.13.el5.028stab053.10.

I use vzctl version 3.0.22, latest one I think. In my case, I notice that I had modified the kmemsize and lockedpages for this VE. However, there were no recent traces of fails on those attributes.


If all the world is a stage, I want better ligthting.

[Updated on: Wed, 22 October 2008 17:12]

Report message to a moderator

Re: Can not suspend VE: Device or resource busy [message #33582 is a reply to message #33568] Fri, 24 October 2008 05:02 Go to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
this problem is caused by a filelock in the CT. can be caused by a remote client e.g. ftp client

restarting the vz service or rebooting the HN will clear the lock

if you have other critical vps on the HN that cannot tolerate a restart then identify the locked file using the following command from the HN:

lsof 2> /dev/null | egrep '/vz/root/$VEID|/vz/private/$VEID' |more

... and kill the process

vzctl exec $VEID kill -9 $PROCID

[Updated on: Fri, 24 October 2008 05:03]

Report message to a moderator

Previous Topic: OpenVZ
Next Topic: Trying to learn and asking some questions
Goto Forum:
  


Current Time: Sun Jul 14 12:55:33 GMT 2024

Total time taken to generate the page: 0.02339 seconds