Jump to content
  • [7.0.0-beta.2] ntpd spam


    alturismo
    • Minor

    Hi,

     

    as i wanted to get rid of the annoying ntpd messages

     

    Jul 19 05:41:12 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    Jul 19 05:42:53 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    Jul 19 05:45:43 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    Jul 19 05:50:44 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    Jul 19 05:51:04 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    Jul 19 05:56:06 AlsServerII ntpd[19396]: 192.168.1.4 on 1 br0 -> *multiple*
    ...
    ..
    .

     

    i rememberd there was something in the changelog ;)

     

    so, after changing the time server settings like recommended

     

    image.png.08eaffc19e421decd2bf4901822ef1e1.png

     

    1/ sshd Server crashed somehow, had to stop / start from web terminal again to get access (restart doesnt work as usually on Unraid ;))

     

    image.thumb.png.71079eee05c3fe7ed317c590448b9315.png

     

    got this solved

     

    2/ i also saw some weird message when i changed ntpd ... shim-br0 deleted (i switched to macvlan for testing if it works again)

     

    image.thumb.png.215e554284fd914e62ea2130f460affb.png

     

    but shim is still there and funtional, so nevermind ...

     

    3/ really annoying, spam in syslog is still there ... red line where i changed time server ...

     

    image.thumb.png.fc2ec2172b7c4a8d3cad3cba8dbd569c.png




    User Feedback

    Recommended Comments



    18 hours ago, JorgeB said:

    Anyone affected please post together with the diags the output of:

     

    cat /etc/ntp.conf | grep interface

     

     

    image.png.0f25ca8699d4d4c704a354854ed67384.png

     

    Link to comment

    Having this issue as well

     

    root@Unraid:~# cat /etc/ntp.conf | grep interface
    interface ignore wildcard
    interface ignore ipv6
    interface listen 10.0.2.3 # bond0

    Link to comment
    On 7/20/2024 at 1:45 PM, thecode said:

    I can confirm, tested twice, even without reboot.

     

    Host access to custom networks enabled = "on 1 br0 -> *multiple*" by ntpd

    Host access to custom networks disabled = not logged

    This fixed for me the Error

    Link to comment

    This should be fixed for next release, but as a workaround for anyone needing "host access to custom networks enabled", typing:

     

    /etc/rc.d/rc.ntpd restart

     

    Should stop the spam

    Link to comment
    2 hours ago, JorgeB said:

    This should be fixed for next release, but as a workaround for anyone needing "host access to custom networks enabled", typing:

     

    /etc/rc.d/rc.ntpd restart

     

    Should stop the spam

     

    Just one note, I think that after restart the NTP client is not syncing anymore.

     

    Web UI will show:

    image.png.35721733a55981d68ae98b2acffe0837.png

     

     

    Checking source for NTP sync:

    root@Sam:~# ntpq -p
         remote           refid      st t when poll reach   delay   offset  jitter
    ==============================================================================
    *LOCAL(0)        .LOCL.          10 l  135  256  377    0.000   +0.000   0.000
     time2.google.co .INIT.          16 u    - 1024    0    0.000   +0.000   0.000

     

    Last checking on a server before restarting the ntpd:

     

    root@Fanta:~# ntpq -p
         remote           refid      st t when poll reach   delay   offset  jitter
    ==============================================================================
     LOCAL(0)        .LOCL.          10 l 168m   64    0    0.000   +0.000   0.000
    *time1.google.co .GOOG.           1 u   70  128  377   67.400  +837.45 837.667

     

    I know that because I did something similar in the past, if you edit anything in the time settings on the Web UI (such as change NTP server, change it back and press apply) it also restart the ntpd but I noticed that the server start to create drift over time

     

    Link to comment
    57 minutes ago, thecode said:

    Just one note, I think that after restart the NTP client is not syncing anymore.

    How long does it take to start drifting? I did a restart and appear to remain synced.

    Link to comment
    On 8/30/2024 at 12:57 PM, JorgeB said:

    How long does it take to start drifting? I did a restart and appear to remain synced.

     

    The drift depends on the accuracy of the clock of your server, for the server I tested it will accumulate about 10mSec a day, that is not critical, but I have seen servers which generate more than a second a day. Before restart this server will stay synced with less than 0.5mSec offset.

    Also if I am reading the output correctly, before restart the source for sync is shown as an external server and after restart it shows "LOCAL(0)" which means the time is not synced to a server.

    Link to comment

    I know there is no release yet and there is a WIP, but just as a feedback, I applied https://github.com/unraid/webgui/commit/12828eec63a27d446c06e95d85f6361ad02fb53d to one of the servers, & reloaded the ntpd. As explained above it showed unsynchronized for almost two days (and accumulated around 30mSec drift), during that time the "*multiple*" message was not logged, however after two days the message returned, the clock status got back to synchronized and the drift fixed to 0.4mSec. The log does not show that the ntpd restarted however the time the spam started back is just after one of the dockers was restarted which creates a veth interface.

    I think I will be able to reproduce it again if needed.

     

    • Like 2
    Link to comment



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

     

    Open = Under consideration.

     

    Solved = The issue has been resolved.

     

    Solved version = The issue has been resolved in the indicated release version.

     

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

     

    Retest = Please retest in latest release.


    Priority Definitions

     

    Minor = Something not working correctly.

     

    Urgent = Server crash, data loss, or other showstopper.

     

    Annoyance = Doesn't affect functionality but should be fixed.

     

    Other = Announcement or other non-issue.

×
×
  • Create New...