1) ssh to the server that having trouble restarting vps, and commend vzctl stop CTID 2) on other screen, try to restart the vps and check if it is still delaying?
1. Open 2 SSH windows of the node on which the VPS is created.
2. In one window enter the VPS using "vzctl enter CTID" (assume window 1)
3. On the other window execute "vzctl restart CTID", this command will restart your container (assume window 2).
Now after executing restart command in window 2 you can see the container processes being shutdown and restarted again in window 1 which can help us in debugging why the restart from panel is taking so much time.