Time Keepting In Virtual Environments (clock Drift, Etc...)
Apr 17, 2007
I have worked with VMWare quite a bit, and have found that no matter what tweaking you do a clock skew of up to a minute (relative to the host clock, itself kept accurate enough via NTP) is unavoidable at times, at least for a Linux 2.6.x based guest.
Do any of the common technologies allow guests to be kept more closely in sync with the host clock and so be more accurate (assuming the host's clock isn't wide of the mark, of course)? Do some of the technologies work OK with using NTPd to regulate the guest clock (under VMWare this is bad idea as it "conflicts" with VMWares own clock synchronisation method potentially making things worse than they otherwise would be).
The reason for the question is that I'm playing with some code that will run on a few different locations and while I can use an external source to fake a clock to the accuracy I want (+/- a second or two) most of the time, I wouldn't have to if I could rely on the VM's wall-clock being that accurate. If the project goes anywhere (my toy projects usually don't!) it would use real machines, but at this stage I'd rather avoid that expense/hassle.
I'm trying to install VMWare Server so I need to un install OpenVZ and the Environments what's the best possible route to do this but I need to do it as fast as possible.
I select a vps of Smokyhosts last friday, but I found the clock of it an hour off the correct time,
eg. I set the timezone to UTC, the correct NTP time is 3:00, but the clock of vps is display 2:00, It's an hour before the correct time.
I think this is an error when they first set the clock of host node, I send several tickets to Smokeyhosts support, but they told me I can set to another timezone not in my country, I think this is not reasonable.
and they told me they do not allow any time change requests for the hardware node even if it's error.
Since the clock of VPS is an hour error, even if I can set another timezone not my country. but if I have a forum on this VPS, and user can set their own timezone settings, they would be puzzled to find what they seclectd timezone is always an hour off,
I must be explain this to them? I think this is not acceptable.
I understand the NTP would be impossible to all VPS, but they should ensure the host node's clock is correct relatively, now it's an hour off, I think they can correct this easily if they would like to do.
another small question is when I get the vps, Mysql was installed, but the user "mysql" is not exist in system, So mysql service can't start, I add this myself, and it's ok.
Now all other things looks well except the clock.
their support always response quickly, i'm very satisfied with them.
I have an VPS at cheapvps.co.uk since November 2007. It has worked like a charm until a week ago. Since the massive crack from last week and the subsequent shutdown & boot, the clock on my VPS is going crazy.
Clock is really accelerated, a minute in the real world equals to more than 2 minutes within the VPS. I'm having lots of problems with dates in the future, and cheapvps support team is working to get this solved with no success.
One of our server's system clock seems to gradually creep away from the correct time. It has been causing us a lot of issues. After one day it becomes more than one hour off. After each minute it becomes a few seconds off.
Any ideas what could be causing this? It's uptime is ~2 months so it doesn't happen when it goes offline, it happens while it is running.
Right now we have a cronjob running ntpdate every few minutes as even with the ntpd service running it would end up off by several minutes when we would check. I have a feeling this isn't a very reliable fix though.
There is serious clock skew all across the 4 CTs I have put in an OpenVZ HN which runs Debian GNU/Linux, the kernel Linux is v2.6.26, waldi tree. The HN shows correct time, the CMOS RTC is bang correct.
Let me try this question in here as I think there are many companies in here who have remote employees.
Can anyone recommend an online punch clock system to keep track of employee time in's and out's? We would need something that is easy to do payroll and it has to be online so remote users can easily access it.
Is this behavior normal when running a utility such as bonnie++?
I'm running bonnie++ to check for the performance of my drive. When it gets to the part of Writing with putc()... the syslog starts to pop the message in the screen saying:
Message from syslogd@machine at Wed Jun 20 18:06:41 2007 ... machine kernel: CPU0: Temperature/speed normal
I'm using the following OS:
OS CentOS 5
This is the uname information:
Linux machine.domain.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:46:53 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
This is the output of bonnie++
[root@machine ~]# bonnie++ -x 3 -u 0 -n1 Using uid:0, gid:0. name,file_size,putc,putc_cpu,put_block,put_block_cpu,rewrite,rewrite_cpu,getc,getc_cpu,get_block,get_block_cpu,seeks,seeks_cpu,num_files,seq_create,se q_create_cpu,seq_stat,seq_stat_cpu,seq_del,seq_del_cpu,ran_create,ran_create_cpu,ran_stat,ran_stat_cpu,ran_del,ran_del_cpu Writing with putc()...done Writing intelligently...done Rewriting...done Reading with getc()...done Reading intelligently...done start 'em...done...done...done... Create files in sequential order...done. Stat files in sequential order...done. Delete files in sequential order...done. Create files in random order...done. Stat files in random order...done. Delete files in random order...done. bigblue.diversityjobs.com,8G,63756,90,96753,25,43654,9,66384,94,104946,10,292.7,0,1,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++ Writing with putc()... Message from syslogd@bigblue at Wed Jun 20 18:06:41 2007 ... bigblue kernel: CPU0: Temperature/speed normal done
Message from syslogd@machine at Wed Jun 20 18:06:43 2007 ... bigblue kernel: CPU1: Temperature above threshold, cpu clock throttled
I am running windows 2003, and I patched it with the timezone windows update, everything was fine, but when I looked today, the clock is one hour slow.
But when I run my php scripts, it shows the time being correct. I thought php grabbed the time from the system? Perhaps this is just a bug with the clock, and the internal system time is correct? It is the only thing I can think of.
which type of CPU would be better for a web server that will run Windows, PHP, ColdFusion, mail, DNS, and IIS. Would a dual core CPU with a higher clock speed do better than a quad core CPU with lower clock speed? For instance, would a dual core 3 Ghz processor do better than a quad core at 2.4Ghz?
I'm trying to upgrade from php 5.2.0 to 5.2.2 but for some reason I receive the following errors:
/scripts/easyapache
Quote:
make [@php-5.2.2]...(-j 2 clean)....Done make [@php-5.2.2]...(-j 2)................................. Message from syslogd@matrix at Sat Jun 2 15:06:17 2007 ... matrix kernel: CPU0: Temperature above threshold
Message from syslogd@matrix at Sat Jun 2 15:06:17 2007 ... matrix kernel: CPU1: Temperature above threshold
Message from syslogd@matrix at Sat Jun 2 15:06:17 2007 ... matrix kernel: CPU1: Running in modulated clock mode
Message from syslogd@matrix at Sat Jun 2 15:06:17 2007 ... matrix kernel: CPU0: Running in modulated clock mode .............. Message from syslogd@matrix at Sat Jun 2 15:06:31 2007 ... matrix kernel: CPU0: Temperature above threshold
Message from syslogd@matrix at Sat Jun 2 15:06:31 2007 ... matrix kernel: CPU1: Temperature above threshold
Message from syslogd@matrix at Sat Jun 2 15:06:31 2007 ... matrix kernel: CPU1: Running in modulated clock mode
Message from syslogd@matrix at Sat Jun 2 15:06:31 2007 ...
Can not change in 24 hour Clock mode Plesk 12?The scheduled backups start false, because in Plesk 12 running 12 hours mode.The language in Plesk is German.
I can't get access to a certain site. I always get the page with:
network time out - server at *** takes to long to respons. More people have noticed this and apparently it only happens to people with certain specific providers. And not all the time. Some times they DO get access eventy to they belong to the same ISP. So I guess an ISP isn't blocking access to it otherwise it would be permenantly/The site administrator insists that certain ISP's are blocking his site. He's hosting it on his own server. The domain belongs is registered at namecheap.com.
If an ISP is blocking this site (if that's possible?), that would lead to that 'network timeout' page wouldn't it?
What is the most likely reason for getting a timeout page anyway?
I have a dedicated server specs: AMD 3500+ 64 Bit CPU, 1 GB Ram, 160 GB Sata Drive. For 1 month, CPU load average reaches 40-50 value. This happens about 5-6 times in a day. When I stop httpd service for 30 seconds everything goes normal. I think this is not a DoS attack because it comes systematic, I dont believe no one makes this regularly except bots.
Maybe its a system service or a cronjob but it stops when I turn off httpd service? How can I be sure about what's making this regularly load?
I also did set up a script which mail me when load average of system goes crazy and restart httpd service. But instant restart is not working to stop load increase.
The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:
- MySQL - 5.1.41-3ubuntu12.10 - Apache - 2.2.14-5ubuntu8.4 - PHP - 5.3.2-1ubuntu4.9 - operating system: Ubuntu Server 10.04 LTS
After some time emailing the support guys to barely check about what's going on, we received an email with a few things:
1.- found a few errors that likely would cause issues with Apache. The first error is: [Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is: [Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...
Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...
2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.
3.- The majority of the errors being logged are: [Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]
I would like to understand what is the difference between VPS and a VDS. I understand they sound the same, however from a cost stand point VPS is way cheaper than VDS, and I am not very sure of the reason.
I have big problem, In my HyperVM i've change time to EUROPA/Sarajevo but in WHM still going 24 hours in forward. Please help me to resolve this. This is very important...
I'm just wondering what exactly "CPU Time" is, I have searched Google and checked Wikipedia but still do not really understand. The main reason this is bugging me is that MySQL on our database server seems to have a very high "CPU Time" usage.
This is the top part of the output from "top", with MySQL shown: