Softaculous


Topic : VPS restart takes 15 minutes.


1

Posted By: seandex on January 27, 2017, 11:40 am
Hello
When I try to restart the vps, it takes about 15 minutes.
during 15 minutes, I can't even ping.
What could be the reason?

Thank you.

Posted By: asim_shaikh on January 28, 2017, 6:05 am | Post: 1
Quote
When I try to restart the vps, it takes about 15 minutes.
during 15 minutes, I can't even ping.
What could be the reason?


Can you check in NoVNC if any startup process inside the VPS is delaying the VPS start process?



-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: seandex on February 3, 2017, 10:40 pm | Post: 2
Quote From : asim_shaikh January 28, 2017, 6:05 am
Quote
When I try to restart the vps, it takes about 15 minutes.
during 15 minutes, I can't even ping.
What could be the reason?


Can you check in NoVNC if any startup process inside the VPS is delaying the VPS start process?



Thank you for the reply, could you guide me through how to use NoVNC? I can't find NoVNC option in the menu thanks.

Posted By: seandex on February 3, 2017, 10:54 pm | Post: 3
Quote From : asim_shaikh January 28, 2017, 6:05 am
Quote
When I try to restart the vps, it takes about 15 minutes.
during 15 minutes, I can't even ping.
What could be the reason?


Can you check in NoVNC if any startup process inside the VPS is delaying the VPS start process?



If you mean "SSH" menu in the VPS, well that does not help because it basically displays nothing until the VPS is pingagle. I also tried to connect with Hostname, same thing. nothing happens until VPS come up.

Posted By: asim_shaikh on February 6, 2017, 6:13 am | Post: 4
Quote
If you mean "SSH" menu in the VPS, well that does not help because it
basically displays nothing until the VPS is pingagle. I also tried to
connect with Hostname, same thing. nothing happens until VPS come up.


No I am talking about HTML5 NoVNC, you can enable NoVNC by following the guide in the link below :

http://www.virtualizor.com/wiki/NoVNC

Also you will need to enable VNC for that VPS by editing the VPS.
After enabling NoVNC Server wide and for the VPS, you can then access NoVNC from the List VS page or EditVS page or from the Enduser panel.




-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: seandex on February 6, 2017, 7:56 am | Post: 5
Quote From : asim_shaikh February 6, 2017, 6:13 am
Quote
If you mean "SSH" menu in the VPS, well that does not help because it
basically displays nothing until the VPS is pingagle. I also tried to
connect with Hostname, same thing. nothing happens until VPS come up.


No I am talking about HTML5 NoVNC, you can enable NoVNC by following the guide in the link below :

http://www.virtualizor.com/wiki/NoVNC

Also you will need to enable VNC for that VPS by editing the VPS.
After enabling NoVNC Server wide and for the VPS, you can then access NoVNC from the List VS page or EditVS page or from the Enduser panel.




Thank you for the answer,
I ticked those setting in the master setting but then I still could not find any NoVNC or VNC related menu in the Edit VPS, or Enduser Panel.

Could you walk me through the steps? I'm on the latest version.

Posted By: jevingala on February 6, 2017, 1:20 pm | Post: 6
Hi,

Are you using OpenVZ ?


-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/

Posted By: seandex on February 6, 2017, 1:21 pm | Post: 7
Quote From : jevingala February 6, 2017, 1:20 pm
Hi,

Are you using OpenVZ ?


Yes I am.

Posted By: asim_shaikh on February 8, 2017, 6:17 am | Post: 8
Quote
Yes I am.
       


OpenVZ VPS do not have VNC option.
Is it taking the same time when you stop and start the VPS ?


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: seandex on February 12, 2017, 8:54 am | Post: 9
Quote From : asim_shaikh February 8, 2017, 6:17 am
Quote
Yes I am.
       


OpenVZ VPS do not have VNC option.
Is it taking the same time when you stop and start the VPS ?


Yes, its like minimum 15 minutes normally 30 mins to 1 hour.

load average about 3.0 - 4.0 on 8 cores.

Posted By: asim_shaikh on February 15, 2017, 6:20 am | Post: 10
Quote
Yes, its like minimum 15 minutes normally 30 mins to 1 hour.
load average about 3.0 - 4.0 on 8 cores.


Hi,

Can you enter the VPS in one windows and execute "vzctl stop CTID" from your main node in another window and check which service is taking time to stop inside the container ?


-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: seandex on February 20, 2017, 7:48 am | Post: 11
Quote From : asim_shaikh February 15, 2017, 6:20 am
Quote
Yes, its like minimum 15 minutes normally 30 mins to 1 hour.
load average about 3.0 - 4.0 on 8 cores.


Hi,

Can you enter the VPS in one windows and execute "vzctl stop CTID" from your main node in another window and check which service is taking time to stop inside the container ?


do you mean
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?

please confirm i do not want any further problems causing of me doing wrong.
Thanks.

Posted By: seandex on February 20, 2017, 7:50 am | Post: 12
Quote From : asim_shaikh February 15, 2017, 6:20 am
Quote
Yes, its like minimum 15 minutes normally 30 mins to 1 hour.
load average about 3.0 - 4.0 on 8 cores.


Hi,

Can you enter the VPS in one windows and execute "vzctl stop CTID" from your main node in another window and check which service is taking time to stop inside the container ?


please answer above question and
also what would "vzctl stop CTID" do? am I stopping something? if anything happen bad how to revert it back? Thank you.

Posted By: asim_shaikh on February 20, 2017, 9:06 am | Post: 13
Quote
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.



-----------------------
Regards,
Virtualizor Team
http://www.virtualizor.com

Posted By: seandex on February 22, 2017, 2:01 pm | Post: 14
Quote From : asim_shaikh February 20, 2017, 9:06 am
Quote
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.



when i restart it,
-----------------------
windows 1 displays
-----------------------

'got signal 15' then 'exited from CT xxxx'

then get out of the CT so then i can't debug at all.

--------------------------
windows 2 displays
--------------------------
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container...
Container is mounted
Adding IP address(es): 144.217.xxx.xxx
Setting CPU limit: 100
Setting CPU units: 1000
Setting CPUs: 1
Setting devices
insserv: warning: script 'wide-dhcpv6-client' missing LSB tags and overrides
Container start in progress...


and then i need to wait 15 minute then i am able to ping that address 144.217.xxx.xxx and then access the VPS.

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.