[opensuse-support] waiting for ntpd to synchronize system clock blocks reasonable shutdown time
I have multiple installations of 42.3, 15.0 & TW. Some simply won't shutdown or reboot without a lengthy delay for $SUBJECT, at least 20 seconds. This typically (only?) happens after zypper up or dup, such as just happened with TW20180629 on host big31. Anyone else commonly see this? -- "Wisdom is supreme; therefore get wisdom. Whatever else you get, get wisdom." Proverbs 4:7 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 2018-07-03 06:24, Felix Miata wrote:
I have multiple installations of 42.3, 15.0 & TW. Some simply won't shutdown or reboot without a lengthy delay for $SUBJECT, at least 20 seconds. This typically (only?) happens after zypper up or dup, such as just happened with TW20180629 on host big31.
Anyone else commonly see this?
No, but I suppose the logic is to sync the time before updating the CMOS clock before going down, so that next "up" it is correct. -- Cheers / Saludos, Carlos E. R. (from 42.3 x86_64 "Malachite" at Telcontar)
03.07.2018 07:24, Felix Miata пишет:
I have multiple installations of 42.3, 15.0 & TW. Some simply won't shutdown or reboot without a lengthy delay for $SUBJECT, at least 20 seconds. This typically (only?) happens after zypper up or dup, such as just happened with TW20180629 on host big31.
Anyone else commonly see this?
I have seen posts suggesting the same problem. My best guess is that it is related to asynchronous DNS resolver thread. When service is being stopped, it gets SIGTERM; as far as I can tell it simply sets flag causing event loop to exit, so if DNS thread is currently waiting for DNS server to reply it will probably notice this flag only after some timeout. You could try enabling systemd debug durong shutdown, it may provide more hints. Or start debugger in separate terminal and check status ntpd service when it is being stopped. -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (3)
-
Andrei Borzenkov
-
Carlos E. R.
-
Felix Miata