[Users] very slow shutdown of containers

John Drescher drescherjm at gmail.com
Thu Jul 30 15:25:23 EDT 2009


On Thu, Jul 30, 2009 at 6:20 PM, John Knight<john at unixlads.com> wrote:
> Hi,
>
> I've been using OpenVZ for a while now and I'm finding that shutting down
> containers seems to take much longer than I would have thought, based on how
> quickly they start up.  I'm pretty sure it's not related to the containers
> os, as I've tried killing every process in a container immediately after
> sending the vzctl command to stop the container, yet it still takes the same
> amount of time (sometimes 15-30 seconds compared to starting up the
> container which takes 2-3 seconds max).
>
> My guess at this point is OVZ is forcing a wait on container stops.
>
> Has anyone experienced something similar?
>

Its even worse for me on gentoo. Some containers on some systems never
shut down, causing me to have to use the sysrq key (because by that
time ssh is down and all terminals are closed) to force a shutdown. It
appears that containers that mount nfs shares cause the biggest
problems.

John



More information about the Users mailing list