[Users] Re: Hung Tasks on NFS (maybe not a OpenVZ Problem) - How to forcefully kill a container ?

Kir Kolyshkin kir at openvz.org
Mon Apr 2 11:56:51 EDT 2012


On 04/02/2012 05:24 PM, Sirk Johannsen wrote:
> Thanks for all the responses.
> I already have the NFS Mount mounted with intr but the processes still
> stay in D state and are not killable.

Kirill probably meant the "soft" option. Plus, intr/nointr are 
deprecated and ignored since 2.6.25 so they make no difference.

More details: man 5 nfs

> Anyway, I'll try to convert all CTs to ploop this night and hope not
> to see stuck processes on NFS afterwards :-)
>
> best regards,
>
> Sirk
>
> 2012/4/2 Kirill Korotaev<dev at parallels.com>:
>> Vzctl stop --fast
>> However it wont't help in case of tasks in D state. You need to mount nfs with softintr option for that.
>>
>> Sent from my iPhone
>>
>> On 02.04.2012, at 14:22, "Aleksandar Ivanisevic"<aleksandar at ivanisevic.de>  wrote:
>>
>>> Sirk Johannsen<s.johannsen at satzmedia.de>
>>> writes:
>>>
>>>> Is there a way to forcefully kill the CT ?
>>>> In this case I don't care if the process remains running.
>>>> I just want the rest of the CT to be stopped so I can start the CT again.
>>> try this:
>>>
>>> vzctl chkpnt VEID --kill
>>>
>>> don't know where I got it, but it worked for me in a few cases; in
>>> some others it did not though.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at openvz.org
>>> https://openvz.org/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> Users at openvz.org
>> https://openvz.org/mailman/listinfo/users
>
>



More information about the Users mailing list