Re: [chrony-dev] Re: Chrony files need rescuing |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
On Thu, Oct 29, 2009 at 05:19:34PM -0700, Bill Unruh wrote:
> In compiling the new git I get the following error message
>
> gcc -Wmissing-prototypes -Wall -O2 -g -DFEAT_RTC=1 -DLINUX
> -DHAVE_SCHED_SETSCHEDULER -DHAVE_MLOCKALL -DHAS_STDINT_H -DHAS_INTTYPES_H
> -DHAVE_IPV6 -c util.c
> util.c: In function 'UTI_TimevalNetworkToHost':
> util.c:523: warning: right shift count >= width of type
> util.c: In function 'UTI_TimevalHostToNetwork':
> util.c:535: warning: right shift count >= width of type
>
> While not a problem in the code, compiler warnings always worry me.
I'd like to avoid any warnings too. This should be fixed in git now. I
was hoping that the code would be optimized out on 32-bit archs, but
it doesn't seem to happen.
> By the way, in chrony 1.23 I am getting chronyd hangs (ie it keeps running but
> is clearly hung somewhere. Also if I do chronyc, and issue a command
> like tracking
> it also hangs. This is very sporadic. On one machine it occurs almost every
> night after the logs are rotated. On another it has just happened
> once. It is a bit worrying. I know I have had hangs with the rtc
> code on machines
> which did not rtc properly implimented due to using hpet, and due to Linux
> bugs, but I do not know if this is being caused by the same thing. It is too
> rare and sporadic for me to track it down, but was wondering if others have
> seen it.
>
> One thing I do is every night to a chronyc rotatelogs command and maybe this
> is associated with that.
I rotate the logs every week, but I haven't seen any hungs. Can you
please try attaching gdb to chronyd and get a backtrace next time it
happens?
--
Miroslav Lichvar
---
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.