Subject: Re: Too many open files
To: Martti Kuparinen <>
From: Manuel Bouyer <>
List: current-users
Date: 06/21/2007 13:03:34
On Thu, Jun 21, 2007 at 01:43:55PM +0300, Martti Kuparinen wrote:
> Manuel Bouyer wrote:
> >so your're probably hitting the soft descriptor limit for ntpd.
> >I have several systems where I had to bump it in /etc/rc.d/ because ntpd 
> >opens
> >one socket per IP address :(
> What should I set and where?

I added
ulimit -n 256
at the start of ntpd_precmd() in /etc/rc.d/ntpd

Manuel Bouyer, LIP6, Universite Paris VI. 
     NetBSD: 26 ans d'experience feront toujours la difference