On Thu, Nov 3, 2016 at 1:21 PM DreamHost Customer Support Team < supp...@dreamhost.com> wrote:
> We use 'linux-vserver' on our VPS servers. Please note that one of the > major disadvantages of the linux-vserver package is that many hardware > related system calls, as well as /proc and /sys nodes are left > unvirtualized. > > As these nodes and /proc filesystem entries are not correctly > virtualized, calls to /proc will most likely result in an error, or > erroneous results. > Ah ha, thankyou Erik. I did think it was something like this as we sometimes get reports about containers giving odd results. The curious thing seems to be that the /proc/stat system boot time is the underlying host but the /proc/[pid]/stat process start time is the time difference between when the VPS started and the process started; which gives this error. This isn't really procps' fault, but just a quirk of how /proc works in this situation. - Craig