SOLVED: Re: [Users] How to kill dead container (init is dead)

Kir Kolyshkin kir at openvz.org
Sun Aug 3 15:46:22 EDT 2008


Pongracz Istvan wrote:
> Hi,
>
> Andrey helped me a lot about this issue and it seems, it was a human
> error:
> I cancelled a backup process and this container left in suspended state.
>
> I used the vzdump script to make backups and I cancelled it while it
> started to create an rsync.
>   

I think that vzdump can be guarded with traps to restore container state 
in case backup is interrupted. In bash there's a 'trap' command which 
should help.

> So, be careful :)
>
> Cheers, 
> IStván
>
> 2008. 07. 30, szerda keltezéssel 22.16-kor Pongracz Istvan ezt írta:
>   
>> Hi,
>>
>> I use openvz kernel 2.6.18-028stab051 for long months on my gentoo
>> system.
>> The uptime now is 105 days.
>>
>> It seems, one of my containers completely dead: 
>> all processes are dead, including the init process.
>>
>> I tried to kill them by issuing kill -9, but it is not working.
>> vzctl also cannot stop the container.
>>
>> I tried to send other signal to these processes and the cron started.
>> The only process, which is run, but not really useful:
>> it is eating cpu.
>>
>> The last message to the system log happened before the daily vzdump
>> started.
>> Since then, there is nothing in the syslog of the container.
>>
>>
>> So, my 1st priority question, is there any other trick to restart a
>> container or I have to reboot?
>>
>> Cheers,
>> István
>>
>>     
>
>   



More information about the Users mailing list