Re: 答复: 答复: [chro ny-users] how to get the status of chronyd in namespace

Miroslav Lichvar <[email protected]>
Newsgroups gmane.comp.time.chrony.user
Message-ID <Y38uBPHo17kjKKsU@localhost>
On Thu, Nov 24, 2022 at 08:13:45AM +0000, chengyechun wrote:
> It takes more than 10 minutes to synchronize data from the client to the server. The client log is as follows:

It takes 10 minutes after starting a chronyd instance configured as a
client to report synchronized status when queried as a server?

And that client is configured to poll 1000 servers?

In that case, yes, that would be expected. There is a minimum interval
between client requests of 0.2 seconds (for polls >= 2s), so with 1000
servers it would be about 0.2*1000 seconds between two requests to the
same server, and up to about 600 seconds to get 3 samples and make the
first update of the clock.

If you need to specify so many servers for monitoring purposes, it
might be better to have a separate instance for that, using the
noselect option for all its sources, or the -x option to not touch the
system clock.

-- 
Miroslav Lichvar


-- 
To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "unsubscribe" in the subject.
For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org 
with "help" in the subject.
Trouble?  Email [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.