Bug #47813 | Abnormal/large Time values in slow query log | ||
---|---|---|---|
Submitted: | 4 Oct 2009 16:36 | Modified: | 13 Dec 2009 12:03 |
Reporter: | Dan McGee | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S3 (Non-critical) |
Version: | 5.1.38 source | OS: | Linux (2.6.26-2-xen-amd64) |
Assigned to: | CPU Architecture: | Any | |
Tags: | slow query log |
[4 Oct 2009 16:36]
Dan McGee
[4 Oct 2009 18:02]
Valeriy Kravchuk
Do you run ntd in that virtual machine? Is it possible that time was adjusted while these queries were running?
[4 Oct 2009 18:28]
Dan McGee
ntpd runs in the dom0. Note that this is ntpd and not ntpdate, so it should ensure that the clock never moves backwards (it will do clock skewing but not clock setting). There is no ntpd running in the domU instances; they rely on the Xen host for their clock settings. I say this not being a Xen expert; I'd be interested to hear from another MySQL user or developer with their DB running inside a Xen instance.
[3 Dec 2009 13:21]
Alexey Kishkin
no it's certainly doesnot look like BUG#35396 . In that bug offset was 18446744073709551614 - in hex it's FFFFFFFFFFFFFFFE, - obviously it's just negative number -1 in the unsigned variable. But here - offset is 18446744073709 - I dont think it's negative number. It looks like just timer returns wrong/random value. Dan, Could you propose any steps to reproduce it?
[6 Dec 2009 19:13]
Dan McGee
We've since upgraded our Xen domU kernel and aren't seeing this anymore- I'm guessing there was a bug at the kernel level where the system call was in fact returning values going backwards. The current kernel is now this: Linux gudrun.archlinux.org 2.6.31-ARCH #1 SMP PREEMPT Tue Oct 6 13:42:55 CEST 2009 x86_64 Intel(R) Xeon(TM) CPU 2.80GHz GenuineIntel GNU/Linux This can probably be closed as being a bug not in MySQL.
[13 Dec 2009 12:03]
Alexey Kishkin
Thank you Dan, I am closing it then.