|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Rebooted the machine in question once more with the option "Check and upgrade VMware Tools before each power on" (I am positive that this had been checked all the time anyway). This time the panel is displaying
Code:
VMware Tools: Running, version:2147483647 (Guest Managed) DNS name: <machine's FQDN> IP Addresses: <machine's IP> I now have stopped all services on the defector manually, putting it in the same state as the reference machine as shown per ps ax and lo - it's finally working. For the first time I see ntpd populating and updating /var/db/ntp.drift, alongside the message Code:
Nov 18 13:11:40 n2 ntpd[52657]: adjusting clock frequency by -0.294265 to 22.404ppm I will keep it like this over the weekend and check on Monday. Then I'll re-activate the services one by one and attempt to reproduce the error. Stopped services were:
Hope I'll be able to narrow the problem further down. |
|
|||
OK - looks like I've finally found something.
First off - the clock has been running over the weekend, drifting no more than 0.00x seconds. I have gradually re-enabled the stopped services one by one and have found that it is NPCD (a pnp4nagios daemon) that causes the problem. It is reproducable. Whether it's running alone or in conjunction with others makes no difference. At the moment NPCD starts, the system time is slowed down until it reaches a point (normally within minutes) where ntpd cannot fix it any longer. As soon as it stops, the time is slowly corrected until it eventually reaches it's normal drift window. EDIT: Nagios, too, is making the clock drift. Apache and php70_fpm are not affecting it. Last edited by MatthiasKoch; 21st November 2016 at 11:47 AM. |
|
||||
A quick Google search found me this:
https://support.nagios.com/forum/vie...hp?f=7&t=36275 Within this thread is a comment (from user "jolson") that I believe describes pnp4nagios as a clock-adjusting application. If so, then perhaps you can change the application operating mode to eliminate the problem? http://docs.pnp4nagios.org/pnp-0.6/modes The OpenBSD port of pnp4nagios has a Maintainer you can contact for OpenBSD-specific application support, though it is not clear to me if this is an OpenBSD-specific problem. The Maintainer's Email address can be found with: $ pkg_info pnp4nagios
|
|
|||
Quote:
I admit I am unfamiliar with pnp4nagios, but I've used (and am currently using) Nagios installations on Linux machines both on physical machines and VMware virtual machines). And Nagios itself, too, is slowing down the system clock (although not as drastic as npcd), and I've never seen anything only close to that on Linux. I'll drop jolson a message and ask for clarification. |
|
||||
Test your pnp4nagios system on real hardware.
Last edited by jggimi; 21st November 2016 at 05:23 PM. Reason: added vmt() to the list of possiblitites |
Tags |
clock, ntpd, virtual machine |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Attack code exploiting critical bugs in net time sync(NTP) puts servers at risk | J65nko | News | 15 | 31st December 2014 06:59 PM |
DoS attacks that took down big game sites abused Web’s time-sync protocol | J65nko | News | 0 | 9th January 2014 07:34 PM |
How to know if the system is in sync | sepuku | OpenBSD Installation and Upgrading | 29 | 8th September 2011 12:24 PM |
vBulletin date/time system | Beastie | Feedback and Suggestions | 6 | 24th March 2010 01:57 AM |
GENERIC.MP kernel failing to boot AMD dual-core system < 75% of the time | JMJ_coder | NetBSD General | 3 | 9th June 2008 01:54 PM |