Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aggressive Chrony settings #24

Open
2072 opened this issue Apr 19, 2020 · 0 comments
Open

Aggressive Chrony settings #24

2072 opened this issue Apr 19, 2020 · 0 comments

Comments

@2072
Copy link

2072 commented Apr 19, 2020

Hello,

First thank you for your guide!

I want to report that the suggested Chrony settings causes most servers to reply with tens of KoD packets per minute instead of replying with time data.

One can confirm this using the journalctl command, there will be hundreds of messages like this:

chronyd[9119]: Received KoD RATE from 91.189.89.199
chronyd[9119]: Received KoD RATE from 2001:67c:1560:8003::c8
chronyd[9119]: Received KoD RATE from 91.189.89.199
chronyd[9119]: Received KoD RATE from 2001:67c:1560:8003::c8
chronyd[9119]: Received KoD RATE from 91.189.89.199
chronyd[9119]: Received KoD RATE from 2001:67c:1560:8003::c8
chronyd[9119]: Received KoD RATE from 91.189.89.199
chronyd[9119]: Received KoD RATE from 2001:67c:1560:8003::c8
chronyd[9119]: Received KoD RATE from 91.189.89.199
chronyd[9119]: Received KoD RATE from 2001:67c:1560:8003::c8
chronyd[9119]: Received KoD RATE from 91.189.89.199

It doesn't sound right to set the minpoll and maxpoll to the same value. I've set mine to 2 and 10 respectively and I no longer have Received KoD RATE from... messages anymore.

pool time.google.com       iburst minpoll 2 maxpoll 10 maxsources 3 prefer
pool ntp.ubuntu.com        iburst minpoll 2 maxpoll 10 maxsources 3 maxdelay 0.3
pool time.nist.gov         iburst minpoll 2 maxpoll 10 maxsources 3 maxdelay 0.3
pool fr.pool.ntp.org       iburst minpoll 2 maxpoll 10 maxsources 3 maxdelay 0.3

You can get more details about those settings in Chrony.conf man page. I am not sure what are the optimal settings but polling time servers every 2 seconds constantly is probably not a good thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant