ntpd on 8.1 cycles around select() with EBADF
Sergey Kandaurov
pluknet at gmail.com
Wed Nov 17 16:07:54 UTC 2010
Hi.
This is the second time I noted it.
2581 root 1 118 0 11736K 3532K CPU6 6 60.7H 100.00% ntpd
# ntpq -p
localhost: timed out, nothing received
***Request timed out
` /etc/rc.d/ntpd restart` make it work. What can be the reason ?
2581 ntpd CALL select(0x420,0x7fffffffec20,0,0,0)
2581 ntpd RET select -1 errno 9 Bad file descriptor
2581 ntpd CALL stat(0x7fffffffe100,0x7fffffffe080)
2581 ntpd NAMI "/usr/share/nls/C/libc.cat"
2581 ntpd RET stat -1 errno 2 No such file or directory
2581 ntpd CALL stat(0x7fffffffe100,0x7fffffffe080)
2581 ntpd NAMI "/usr/share/nls/libc/C"
2581 ntpd RET stat -1 errno 2 No such file or directory
2581 ntpd CALL stat(0x7fffffffe100,0x7fffffffe080)
2581 ntpd NAMI "/usr/local/share/nls/C/libc.cat"
2581 ntpd RET stat -1 errno 2 No such file or directory
2581 ntpd CALL stat(0x7fffffffe100,0x7fffffffe080)
2581 ntpd NAMI "/usr/local/share/nls/libc/C"
2581 ntpd RET stat -1 errno 2 No such file or directory
2581 ntpd CALL clock_gettime(0xd,0x7fffffffd7e0)
2581 ntpd RET clock_gettime 0
2581 ntpd CALL getpid
2581 ntpd RET getpid 2581/0xa15
2581 ntpd CALL sendto(0x3,0x7fffffffd870,0x43,0,0,0)
2581 ntpd GIO fd 3 wrote 67 bytes
"<99>Nov 17 18:14:17 ntpd[2581]: select() error: Bad file descriptor"
2581 ntpd RET sendto 67/0x43
--
wbr,
pluknet
More information about the freebsd-questions
mailing list