PDA

View Full Version : server time issue


Paprika
Fri 15th Dec '06, 4:28am
I thought I'd post this here since the vbulletin community is so good about taking care of it's own:

Maybe this can sum my problem up real nicely:

root@server[~]# date
Thu Dec 14 23:44:07 EST 2006
root@server[~]# hwclock --show
Thu 14 Dec 2006 11:52:26 PM EST -0.072929 seconds

.. hwclock showing the actually correct real world time.

If I run rdate, it fixes the system time, but then because the system time *apparently* is running slow, it's wrong again within minutes.

I've setup a cron to run rdate every 2 minutes and the time still won't hold up for even that 2 minutes. Obviously after watching it for some time, that clock is running slower than it should be and I have no idea how to fix a problem like this.

This is a cpanel/WHM vps in question.

Any ideas?
I've already tried the ntpd service, it didn't seem to work. My rdate cronjob does it much better but still the problem is aparently and it's causing problems in my boards to i had to close them till i fix it.

AgiOs
Wed 13th Jun '07, 5:04pm
Did you find any solution i have the same problem and i don't know what to do.

Paprika
Wed 13th Jun '07, 8:57pm
Hi AgiOs.

My problem was/is a result of my VPS being virtualized on a [B]VMWare[/B Server. They have a known issue with linux guests... See link #1 below.

Right now, to keep my time correct I have 3-4 cronjobs set to run that basically continuously use rdate to update my clock... thats just a temporary patch. This past week I've been trying to figure out how to correctly compile a new kernel w/ a different timer interrupt rate to fix the problem as described in the VMware link #1 below:

#1: http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1420

I've been working on the issue everyday of this week and I know I'll get it sooner or later its just taking a bit of work!