Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Dec 2009 15:58:46 -0800
From:      Carl Johnson <carlj@peak.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: slow clock on FreeBSD 7.2 on vmware
Message-ID:  <87aaxnn3rd.fsf@cjlinux.localnet>
In-Reply-To: <4B23DED5.3010308@webtent.net> (Robert Fitzpatrick's message of "Sat\, 12 Dec 2009 13\:20\:05 -0500")
References:  <4B23CD8A.50203@webtent.com> <20091212175949.GB3084@ozzmosis.com> <4B23DED5.3010308@webtent.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Robert Fitzpatrick <lists@webtent.net> writes:

> On 12/12/2009 12:59 PM, andrew clarke wrote:
>> On Sat 2009-12-12 12:06:18 UTC-0500, Robert Fitzpatrick (robert@webtent.com) wrote:
>>
>>    
>>> pgsql# cat /boot/loader.conf
>>> kern.ipc.semmni=32
>>> kern.ipc.semmns=512
>>> hint.apic.0.disabled=1
>>>      
>> According to the loader.conf man page these should all be in the format:
>>
>> kern.ipc.semmni="32"
>> kern.ipc.semmns="512"
>> hint.apic.0.disabled="1"
>>
>> I don't know if this matters.
>>
>> I'm not sure hint.apic.0.disabled is valid for 7.2.  sysctl -a doesn't
>> list this variable on my machine.  Maybe it's only available on some
>> machines.
>>
>>    
>>> The only way I'm able to keep the clock up to date is to sync with
>>> an Internet time server regularly. Anyone have an idea how fix this
>>> issue?
>>>      
>> Can you use ntpd?
>>
>> Regards
>> Andrew
>>    
>
> I'm pulling from a time server now every hour, keeps it from getting
> behind too much. Perhaps that is what I'll end up doing, loading the
> ntp server, I guess that would keep it up to date better? Thanks.

If it is consistently off by a certain amount, then you might want to
look into /usr/sbin/ntptime to set a frequency offset.  If it works,
then you can put it into somewhere like /etc/rc.local.

-- 
Carl Johnson		carlj@peak.org





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87aaxnn3rd.fsf>