Subject: Re: Too many open files
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 06/15/2007 20:25:39
On Fri, Jun 15, 2007 at 10:19:39AM +0300, Martti Kuparinen wrote:
> On Fri, 15 Jun 2007, Takahiro Kambe wrote:
> 
> >What about:
> >
> ># fstat -vp 29753
> 
> # fstat -vp 26209
> 
> USER     CMD          PID   FD MOUNT       INUM MODE         SZ|DV R/W
> ntpd     ntpd       26209 root /         270353 drwxr-xr-x     512 r 
> ntpd     ntpd       26209   wd /         270353 drwxr-xr-x     512 r 
> ntpd     ntpd       26209    0 /         540683 crw-rw-rw-   565,288714 rw
> ntpd     ntpd       26209    1 /         540683 crw-rw-rw-   565,288714 rw
> [ 62 descriptors total]

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 :(

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--