New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Is uptime value valid in an ovz container?
How is this possible?
host node
[root@ovz1 ~]# date && uptime Thu Jan 24 19:19:41 EET 2013 19:19:41 up 25 days, 19:58, 1 user, load average: 0.09, 0.07, 0.08
guest container
root@srv2 [~]# date && uptime Thu Jan 24 19:19:42 EET 2013 19:19:42 up 36 days, 2:20, 1 user, load average: 0.10, 0.07, 0.06
Comments
Live migrated from another node?
nope
Well you can suspend a container and start it back in it's previous state. I've never considered the possible effect on uptime, but it would make sense.
this is not the case either
I'm inclined to call it a bug on that particular container, perhaps template even. Certainly open to being wrong.
Issued a reboot at the host
host
guest
is this normal?
Deffinetely not normal. It must be some kind of a bug.
gl with bug squashing tho
What is the output of 'cat /proc/uptime', is that changing?
Effects from vzctl 4.1 (http://wiki.openvz.org/Download/vzctl/4.1)
etc/init.d/vz: restore running containers after reboot (#781)
etc/init.d/vz: faster restart by doing CT suspend instead of stop (#2325)