Subject: Re: Too many open files
To: Takahiro Kambe <taca@back-street.net>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: current-users
Date: 06/15/2007 10:19:39
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
ntpd     ntpd       26209    2 /         540683 crw-rw-rw-   565,288714 rw
ntpd     ntpd       26209    3* unix dgram c0fc5ec0 <-> c0ff85c0
ntpd     ntpd       26209    4* internet dgram udp c0d56b64 *:123
ntpd     ntpd       26209    5* internet6 dgram udp c1094f3c *:123
ntpd     ntpd       26209    6* internet dgram udp c0d56a20 xxx.xxx.xxx.xxx:123
ntpd     ntpd       26209    7* internet6 dgram udp c1094ea0 [fe80::211:43ff:fece:66f4%wm0]:123
ntpd     ntpd       26209    8* internet6 dgram udp c1094e04 [fe80::211:43ff:fece:66f5%wm1]:123
ntpd     ntpd       26209    9* internet dgram udp c0d56d80 127.0.0.1:123
ntpd     ntpd       26209   10* internet6 dgram udp c1094d68 [::1]:123
ntpd     ntpd       26209   11* internet6 dgram udp c1094ccc [fe80::1%lo0]:123
ntpd     ntpd       26209   12* internet6 dgram udp c1094c30 [fe80::211:43ff:fece:66f5%vlan1128]:123
ntpd     ntpd       26209   13* internet6 dgram udp c1094b94 [fe80::211:43ff:fece:66f5%vlan1160]:123
ntpd     ntpd       26209   14* internet6 dgram udp c1094af8 [fe80::211:43ff:fece:66f5%vlan1176]:123
ntpd     ntpd       26209   15* internet6 dgram udp c1094a5c [fe80::211:43ff:fece:66f5%vlan1200]:123
ntpd     ntpd       26209   16* internet6 dgram udp c10949c0 [fe80::211:43ff:fece:66f5%vlan1208]:123
ntpd     ntpd       26209   17* internet6 dgram udp c1094924 [fe80::211:43ff:fece:66f5%vlan1216]:123
ntpd     ntpd       26209   18* internet6 dgram udp c1094888 [fe80::211:43ff:fece:66f5%vlan15]:123
ntpd     ntpd       26209   19* internet6 dgram udp c10947ec [fe80::211:43ff:fece:66f5%vlan2]:123
ntpd     ntpd       26209   20* internet6 dgram udp c1094750 [fe80::211:43ff:fece:66f5%vlan2192]:123
ntpd     ntpd       26209   21* internet6 dgram udp c10946b4 [fe80::211:43ff:fece:66f5%vlan2200]:123
ntpd     ntpd       26209   22* internet6 dgram udp c1094000 [fe80::211:43ff:fece:66f5%vlan2208]:123
ntpd     ntpd       26209   23* internet6 dgram udp c109409c [fe80::211:43ff:fece:66f5%vlan2216]:123
ntpd     ntpd       26209   24* internet6 dgram udp c1094138 [fe80::211:43ff:fece:66f5%vlan3000]:123
ntpd     ntpd       26209   25* internet6 dgram udp c10941d4 [fe80::211:43ff:fece:66f5%vlan3001]:123
ntpd     ntpd       26209   26* internet6 dgram udp c1094270 [fe80::211:43ff:fece:66f5%vlan3002]:123
ntpd     ntpd       26209   27* internet6 dgram udp c109430c [fe80::211:43ff:fece:66f5%vlan3003]:123
ntpd     ntpd       26209   28* internet6 dgram udp c10943a8 [fe80::211:43ff:fece:66f5%vlan3004]:123
ntpd     ntpd       26209   29* internet6 dgram udp c1094444 [fe80::211:43ff:fece:66f5%vlan3005]:123
ntpd     ntpd       26209   30* internet6 dgram udp c109457c [fe80::211:43ff:fece:66f5%vlan3006]:123
ntpd     ntpd       26209   31* internet6 dgram udp c1094618 [fe80::211:43ff:fece:66f5%vlan3007]:123
ntpd     ntpd       26209   32* internet6 dgram udp c0d59270 [fe80::211:43ff:fece:66f5%vlan3008]:123
ntpd     ntpd       26209   33* internet6 dgram udp c0d5930c [fe80::211:43ff:fece:66f5%vlan3009]:123
ntpd     ntpd       26209   34* internet6 dgram udp c0d593a8 [fe80::211:43ff:fece:66f5%vlan3010]:123
ntpd     ntpd       26209   35* internet6 dgram udp c0d59444 [fe80::211:43ff:fece:66f5%vlan3011]:123
ntpd     ntpd       26209   36* internet6 dgram udp c0d594e0 [fe80::211:43ff:fece:66f5%vlan3012]:123
ntpd     ntpd       26209   37* internet6 dgram udp c0d5957c [fe80::211:43ff:fece:66f5%vlan3013]:123
ntpd     ntpd       26209   38* internet6 dgram udp c0d59618 [fe80::211:43ff:fece:66f5%vlan3014]:123
ntpd     ntpd       26209   39* internet6 dgram udp c0d596b4 [fe80::211:43ff:fece:66f5%vlan3015]:123
ntpd     ntpd       26209   40* internet6 dgram udp c0d59750 [fe80::211:43ff:fece:66f5%vlan4000]:123
ntpd     ntpd       26209   41* internet6 dgram udp c0d597ec [fe80::211:43ff:fece:66f5%vlan4001]:123
ntpd     ntpd       26209   42* internet6 dgram udp c0d59888 [fe80::211:43ff:fece:66f5%vlan4002]:123
ntpd     ntpd       26209   43* internet6 dgram udp c0d59924 [fe80::211:43ff:fece:66f5%vlan4003]:123
ntpd     ntpd       26209   44* internet6 dgram udp c0d599c0 [fe80::211:43ff:fece:66f5%vlan4004]:123
ntpd     ntpd       26209   45* internet6 dgram udp c0d59a5c [fe80::216:3eff:fe03:301%xvif1.0]:123
ntpd     ntpd       26209   46* internet6 dgram udp c0d59af8 [fe80::216:3eff:fe02:3301%xvif2.0]:123
ntpd     ntpd       26209   47* internet6 dgram udp c0d59b94 [fe80::216:3eff:fe02:3401%xvif3.0]:123
ntpd     ntpd       26209   48* internet6 dgram udp c0d59c30 [fe80::216:3eff:fe02:3501%xvif4.0]:123
ntpd     ntpd       26209   49* internet6 dgram udp c0d59ccc [fe80::216:3eff:fe03:1201%xvif5.0]:123
ntpd     ntpd       26209   50* internet6 dgram udp c0d59d68 [fe80::216:3eff:fe03:1202%xvif5.1]:123
ntpd     ntpd       26209   51* internet6 dgram udp c0d59e04 [fe80::216:3eff:fe03:1203%xvif5.2]:123
ntpd     ntpd       26209   52* internet6 dgram udp c1179618 [fe80::216:3eff:fe03:1204%xvif5.3]:123
ntpd     ntpd       26209   53* internet6 dgram udp c117957c [fe80::216:3eff:fe03:1205%xvif5.4]:123
ntpd     ntpd       26209   54* internet6 dgram udp c11794e0 [fe80::216:3eff:fe03:1301%xvif6.0]:123
ntpd     ntpd       26209   55* internet6 dgram udp c1179444 [fe80::216:3eff:fe03:1302%xvif6.1]:123
ntpd     ntpd       26209   56* internet6 dgram udp c11793a8 [fe80::216:3eff:fe03:1303%xvif6.2]:123
ntpd     ntpd       26209   57* internet6 dgram udp c117930c [fe80::216:3eff:fe03:1304%xvif6.3]:123
ntpd     ntpd       26209   58* internet6 dgram udp c1179270 [fe80::216:3eff:fe03:1305%xvif6.4]:123
ntpd     ntpd       26209   59* internet6 dgram udp c11791d4 [fe80::216:3eff:fe03:1306%xvif6.5]:123
ntpd     ntpd       26209   60* internet6 dgram udp c1179138 [fe80::216:3eff:fe03:1401%xvif7.0]:123
ntpd     ntpd       26209   61* internet6 dgram udp c117909c [fe80::216:3eff:fe03:1402%xvif7.1]:123
ntpd     ntpd       26209   62* internet6 dgram udp c1179000 [fe80::216:3eff:fe03:1403%xvif7.2]:123