diff --git a/doc/api/os.md b/doc/api/os.md index 6c184a77854b1e..378a85771d6056 100644 --- a/doc/api/os.md +++ b/doc/api/os.md @@ -368,6 +368,18 @@ changes: Returns the system uptime in number of seconds. +The value returned can be inaccurate in some +rare virtualization cases. The issue arises when the virtualized +guest instance shares the kernel with the host system. +Due to the fact that libuv uses a syscall that +provides host's uptime instead of guest's +uptime on OpenVZ, `os.uptime()` may also provide +erroneous result. + +Please refer to and + for an exploration of +this issue, until it is resolved by libuv. + ## `os.userInfo([options])`