VirtualBox

Opened 12 years ago

Closed 12 years ago

#10874 closed defect (invalid)

Does time sync cause 'sleep' to hang?

Reported by: arb Owned by:
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 (2)

comment:1 by arb, 12 years ago

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

comment:2 by Frank Mehnert, 12 years ago

Resolution: invalid
Status: newclosed

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use