[ntp:questions] too many recvbufs allocated (40)

Kiran Shirol kiran.shirol at gmail.com
Tue Jun 10 12:09:49 UTC 2008


> Hi,
>
> I am new to the group, appreciate if you could answer a couple of queries I
> have
>
> Recently in one of my setups, I got this message continuously.
>
> too many recvbufs allocated (40) - ntpd
>
> I checked the code(ntp-4.2.0a) and found that ntpd has 40 recv buffers
> allocated for the recv packets.
>
> My questions:
>
> 1. What situation causes such syslogs to pop-up ?
>
> 2. Is it safe to increase the RECV_TOMANY to a larger value ?
>
>
> Thanks
> Kiran
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 10 Jun 2008 04:42:35 GMT
> From: Unruh <unruh-spam at physics.ubc.ca>
> Subject: Re: [ntp:questions] too many recvbufs allocated (40)
> To: questions at lists.ntp.org
> Message-ID: <%Cn3k.657$L03.54 at edtnps92>
>
> kiran.shirol at gmail.com (Kiran Shirol) writes:
>
> >Hi,
>
> >I am new to the group, appreciate if you could answer a couple of queries
> I
> >have
>
> >Recently in one of my setups, I got this message continuously.
>
> >too many recvbufs allocated (40) - ntpd
>
> >I checked the code(ntp-4.2.0a) and found that ntpd has 40 recv buffers
> >allocated for the recv packets.
>
> >My questions:
>
> >1. What situation causes such syslogs to pop-up ?
>
> >2. Is it safe to increase the RECV_TOMANY to a larger value ?
>
> How many servers do you have? What are your minpoll and maxpoll values for
> those servers? Are you actually getting through to those servers ( what is
> the output of ntpq -p).
>
>
>
> >Thanks
> >Kiran
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 10 Jun 2008 05:16:06 +0000
> From: Harlan Stenn <stenn at ntp.org>
> Subject: Re: [ntp:questions] too many recvbufs allocated (40)
> To: questions at lists.ntp.org
> Message-ID: <ywn9r6b5amzt.fsf at ntp1.isc.org>
> Content-Type: text/plain; charset=US-ASCII
>
> >>> In article <fd2a79190806080347t3fecd0e5kde4e0bb0aaa6529 at mail.gmail.com>,
> kiran.shirol at gmail.com (Kiran Shirol) writes:
>
> Kiran> Recently in one of my setups, I got this message continuously.
>
> Kiran> too many recvbufs allocated (40) - ntpd
>
> Kiran> I checked the code(ntp-4.2.0a) and found that ntpd has 40 recv
> Kiran> buffers allocated for the recv packets.
>
> I recall a bug like this being fixed a while ago.
>
> 4.2.0 is pretty old.  The latest stable release is 4.2.4, and we are pretty
> close to releasing ntp-dev as 4.2.6.
>
> I recommend you upgrade your ntp software.
>
> --
> Harlan Stenn <stenn at ntp.org>
> http://ntpforum.isc.org  - be a member!


Thanks for the responses. I will update to 4.2.4.

Regards
Kiran



More information about the questions mailing list