[ntp:questions] Re: Bad File Descriptor

mike michael.no.spam.cook at wanadoo.fr
Sat Aug 6 15:26:10 UTC 2005


Daniel Rudy wrote:
> Hello,
> 
> 	I'm having an issue with ntp 4.2.0-a on FreeBSD 5.4-p4 system.  It
> seems that ntpd is recording bad file descriptor errors in the system
> log.  This seems to happen every 9-10 minutes or so.  I have a copy of
> the logs below as well as my /etc/ntp.conf file.  This has been going on
> for awhile now, and I'm not sure when it started.  Any idea as to what
> is causing this problem?
> 
> 
> ----FILE: /var/log/messages
> Aug  3 03:18:00 wildfire ntpd[933]: sendto(198.60.22.240): Bad file
> descriptor
> Aug  3 03:18:01 wildfire ntpd[933]: sendto(204.123.2.5): Bad file descriptor
> Aug  3 03:18:01 wildfire ntpd[933]: sendto(207.46.130.100): Bad file
> descriptor
> Aug  3 03:18:02 wildfire ntpd[933]: sendto(198.60.22.240): Bad file
> descriptor
> Aug  3 03:18:02 wildfire ntpd[933]: sendto(18.72.0.3): Bad file descriptor
> Aug  3 03:18:03 wildfire ntpd[933]: sendto(192.36.144.23): Bad file
> descriptor
> Aug  3 03:18:03 wildfire ntpd[933]: sendto(204.123.2.5): Bad file descriptor
> Aug  3 03:18:03 wildfire ntpd[933]: sendto(207.46.130.100): Bad file
> descriptor
> Aug  3 03:18:03 wildfire ntpd[933]: sendto(209.81.9.7): Bad file descriptor
> Aug  3 03:18:04 wildfire ntpd[933]: sendto(198.60.22.240): Bad file
> descriptor
> 
> 
> 
> ----FILE: /etc/ntp.conf
> server time.windows.com iburst
> server clepsydra.dec.com iburst
> server bitsy.mit.edu iburst
> server time.xmission.com iburst
> server clock.via.net iburst
> server clock.isc.org iburst
> server ntp2.sth.netnod.se iburst
> server ntp2.sp.se iburst
> server us.pool.ntp.org iburst
> 
> restrict 192.168.0.0 mask 255.255.255.0 nopeer nomodify notrap kod
> restrict 127.0.0.1 mask 255.0.0.0
> 
> 
> 
> 
> Any help is appriciated.  Thank you.
> 

   I have not checked the code, but you appear to have a very 
pesssimistic list of servers. As this is just something that appears 
intermittently it may be related to the number you have defined.
Five should be enough even for the purists. Try that and see if it fixes 
the issue.




More information about the questions mailing list