VirtualBox

Ticket #10874 (closed defect: invalid)

Opened 20 months ago

Last modified 20 months ago

Does time sync cause 'sleep' to hang?

Reported by: arb Owned by:
Priority: major Component: guest additions
Version: VirtualBox 4.1.18 Keywords:
Cc: Guest type: Linux
Host type: Solaris

Description

A simple csh loop to check on time synchronisation does this:

while (1)
  echo `date` vs `rdate otherhost`
  sleep 2
end

But after some time it just stops working (no more output) and has to be quit with Ctrl-C. The only thing I can think is the sleep has hung due to a time synchronisation event. Does that sound plausible?

Time sync is being performed with this:

VBoxService -v -v -f --enable-timesync --timesync-interval 1000 --timesync-set-threshold 1000 --timesync-set-start

Change History

comment:1 Changed 20 months ago by arb

It looks as though it's the rdate command which is hanging so maybe my speculation is incorrect.

comment:2 Changed 20 months ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

You set the threshold for hard-setting the time to one second. That means that the time will be most likely set very often. If you set the date manually, you will probably experience the same behavior.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use