Date: Thu, 23 Sep 1999 14:21:11 +0100 From: Adam Nealis <adamn@csl.com> To: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: xntpd[122]: too many recvbufs allocated (30) Message-ID: <37EA2947.55E8658A@csl.com>
next in thread | raw e-mail | index | archive | help
Is more an ntp question than a FreeBSD one? By all means point me at the
relevant dox!
uname -a
FreeBSD beast.criterion.canon.co.uk 2.2.8-STABLE\
FreeBSD 2.2.8-STABLE #0: Mon Sep 20 20:50:04 BST 1999\
root@:/usr/src/sys/compile/BEAST i386
So what's going on here with this syslog message, then? Is there a nice
way to prevent this without resorting to hacking the sauce?
Sep 23 01:04:11 beast xntpd[122]: too many recvbufs allocated (30)
Doen't seem dangerous, but it's happening a lot since I made world on Monday.
Only other thing to have changed is the number of ntp clients has increased
by two (one Linux/RH 5.1 + a Win 98 box).
I noticed these in /usr/src/usr.sbin/xntpd/ntp_io.c
/*
* recvbuf memory management
*/
#define RECV_INIT 10 /* 10 buffers initially */
#define RECV_LOWAT 3 /* when we're down to three buffers get more */
#define RECV_INC 5 /* get 5 more at a time */
#define RECV_TOOMANY 30 /* this is way too many buffers */
and on lines 836/837:
syslog(LOG_ERR, "too many recvbufs allocated (%d)",
total_recvbufs);
So how come there are too many buffers being allocated. Or is it more that there
aren't enough being de-allocated?
Anyway, here's my /etc/ntp.conf (sans #'s)
server ntp.uk.psi.net version 3 # stratum 2
broadcast 194.223.249.255 version 3
driftfile /etc/ntp.drift
authenticate no
and I thought I'd put in an ntptrace for good measure ;)
beast:{adamn - xntpd}# ntptrace
localhost: stratum 3, offset 0.000051, synch distance 0.24222
ntp1.uk.psi.net: stratum 2, offset -0.025158, synch distance 0.18443
ntp.psi.net: stratum 1, offset -0.088464, synch distance 0.00000, refid 'GPS'
TIA,
Adam.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37EA2947.55E8658A>
