Bug 963976 - long startup times
Summary: long startup times
Keywords:
Status: CLOSED DUPLICATE of bug 961047
Alias: None
Product: Fedora
Classification: Fedora
Component: chrony
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: WhyWeBootSoSlow
TreeView+ depends on / blocked
 
Reported: 2013-05-16 22:48 UTC by Chris Murphy
Modified: 2013-05-16 23:04 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-05-16 23:04:12 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chris Murphy 2013-05-16 22:48:38 UTC
Description of problem:
On baremetal and in VM, chronyd.service times are exceptionally high.

Version-Release number of selected component (if applicable):
chrony-1.27-1.fc19.x86_64

How reproducible:
Always

Steps to Reproduce:
1. boot the computer or VM with or without wired connection
  
Actual results with systemd-analyze blame

Baremetal with network connection:
          12.443s chronyd.service
chrony-wait.service doesn't make the list


qemu on above baremetal with network connection:
         30.021s chrony-wait.service
          1.091s chronyd.service


Expected results:
Less than 10 seconds for wait. The service file says: Wait up to ~10 minutes for chronyd to synchronize and the remaining clock correction to be less than 0.1 seconds. Yet I see times of 30 seconds for wait and 1 second for the actual service.


Additional info from the VM with 30 second wait:
[root@tragic ~]# journalctl -b | grep chrony
May 16 16:37:01 tragic.localdomain chronyd[307]: chronyd version 1.27 starting
May 16 16:37:01 tragic.localdomain chronyd[307]: Linux kernel major=3 minor=9 patch=0
May 16 16:37:01 tragic.localdomain chronyd[307]: hz=100 shift_hz=7 freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000 shift_pll=2
May 16 16:37:02 tragic.localdomain chronyd[307]: Frequency -1.059 +/- 28.723 ppm read from /var/lib/chrony/drift
May 16 16:37:02 tragic.localdomain systemd[1]: Starting Wait for chrony to synchronize system clock...
May 16 16:37:20 tragic.localdomain chronyd[307]: Selected source 204.2.134.162
May 16 16:37:32 tragic.localdomain systemd[1]: Started Wait for chrony to synchronize system clock.
May 16 16:38:26 tragic.localdomain chronyd[307]: Selected source 108.61.73.244

Comment 1 Igor Gnatenko 2013-05-16 22:55:21 UTC
See bug 961047 . Update chrony to chrony-1.27-3.fc19.

Comment 2 Chris Murphy 2013-05-16 23:04:12 UTC

*** This bug has been marked as a duplicate of bug 961047 ***


Note You need to log in before you can comment on or make changes to this bug.