Hi! It seems `dhcpcd` leaks FDs: Aug 22 08:32:33 dhcpcd[362]: ps_startprocess: socketpair: Too many open files Aug 22 08:32:33 dhcpcd[362]: ps_root_recvmsg: Bad file descriptor Aug 22 08:32:33 dhcpcd[362]: ps_root_recvmsg: Invalid argument # ps -Ad PID TTY STAT TIME COMMAND 0 ? DKl 38:19.24 [system] 1 ? Is 0:00.86 - init 359 ? S 0:10.44 |-- dhcpcd: [manager] [ip4] [ip6] 282 ? I 0:00.25 | |-- dhcpcd: [network proxy] 362 ? S 0:28.42 | |-- dhcpcd: [privileged proxy] 363 ? I 0:00.12 | `-- dhcpcd: [control proxy] [...] # ls -l /proc/359/fd # # ls -l /proc/282/fd # # ls -l /proc/362/fd total 0 srw------- 1 root wheel 0 Aug 22 08:39 1 srw------- 1 root wheel 0 Aug 22 08:39 10 srw------- 1 root wheel 0 Aug 22 08:39 100 srw------- 1 root wheel 0 Aug 22 08:39 101 srw------- 1 root wheel 0 Aug 22 08:39 102 srw------- 1 root wheel 0 Aug 22 08:39 103 srw------- 1 root wheel 0 Aug 22 08:39 104 srw------- 1 root wheel 0 Aug 22 08:39 105 srw------- 1 root wheel 0 Aug 22 08:39 106 srw------- 1 root wheel 0 Aug 22 08:39 107 srw------- 1 root wheel 0 Aug 22 08:39 108 srw------- 1 root wheel 0 Aug 22 08:39 109 srw------- 1 root wheel 0 Aug 22 08:39 11 srw------- 1 root wheel 0 Aug 22 08:39 110 srw------- 1 root wheel 0 Aug 22 08:39 111 srw------- 1 root wheel 0 Aug 22 08:39 112 srw------- 1 root wheel 0 Aug 22 08:39 113 srw------- 1 root wheel 0 Aug 22 08:39 114 srw------- 1 root wheel 0 Aug 22 08:39 115 srw------- 1 root wheel 0 Aug 22 08:39 116 srw------- 1 root wheel 0 Aug 22 08:39 117 srw------- 1 root wheel 0 Aug 22 08:39 118 srw------- 1 root wheel 0 Aug 22 08:39 119 srw------- 1 root wheel 0 Aug 22 08:39 12 srw------- 1 root wheel 0 Aug 22 08:39 120 srw------- 1 root wheel 0 Aug 22 08:39 121 srw------- 1 root wheel 0 Aug 22 08:39 122 srw------- 1 root wheel 0 Aug 22 08:39 123 srw------- 1 root wheel 0 Aug 22 08:39 124 srw------- 1 root wheel 0 Aug 22 08:39 125 srw------- 1 root wheel 0 Aug 22 08:39 126 srw------- 1 root wheel 0 Aug 22 08:39 13 srw------- 1 root wheel 0 Aug 22 08:39 14 srw------- 1 root wheel 0 Aug 22 08:39 15 srw------- 1 root wheel 0 Aug 22 08:39 16 srw------- 1 root wheel 0 Aug 22 08:39 17 srw------- 1 root wheel 0 Aug 22 08:39 18 srw------- 1 root wheel 0 Aug 22 08:39 19 srw------- 1 root wheel 0 Aug 22 08:39 2 srw------- 1 root wheel 0 Aug 22 08:39 20 srw------- 1 root wheel 0 Aug 22 08:39 21 srw------- 1 root wheel 0 Aug 22 08:39 22 srw------- 1 root wheel 0 Aug 22 08:39 23 srw------- 1 root wheel 0 Aug 22 08:39 24 srw------- 1 root wheel 0 Aug 22 08:39 25 srw------- 1 root wheel 0 Aug 22 08:39 26 srw------- 1 root wheel 0 Aug 22 08:39 27 srw------- 1 root wheel 0 Aug 22 08:39 28 srw------- 1 root wheel 0 Aug 22 08:39 29 srw------- 1 root wheel 0 Aug 22 08:39 3 srw------- 1 root wheel 0 Aug 22 08:39 30 srw------- 1 root wheel 0 Aug 22 08:39 31 srw------- 1 root wheel 0 Aug 22 08:39 32 srw------- 1 root wheel 0 Aug 22 08:39 33 srw------- 1 root wheel 0 Aug 22 08:39 34 srw------- 1 root wheel 0 Aug 22 08:39 35 srw------- 1 root wheel 0 Aug 22 08:39 36 srw------- 1 root wheel 0 Aug 22 08:39 37 srw------- 1 root wheel 0 Aug 22 08:39 38 srw------- 1 root wheel 0 Aug 22 08:39 39 srw------- 1 root wheel 0 Aug 22 08:39 4 srw------- 1 root wheel 0 Aug 22 08:39 40 srw------- 1 root wheel 0 Aug 22 08:39 41 srw------- 1 root wheel 0 Aug 22 08:39 42 srw------- 1 root wheel 0 Aug 22 08:39 43 srw------- 1 root wheel 0 Aug 22 08:39 44 srw------- 1 root wheel 0 Aug 22 08:39 45 srw------- 1 root wheel 0 Aug 22 08:39 46 srw------- 1 root wheel 0 Aug 22 08:39 47 srw------- 1 root wheel 0 Aug 22 08:39 48 srw------- 1 root wheel 0 Aug 22 08:39 49 srw------- 1 root wheel 0 Aug 22 08:39 5 srw------- 1 root wheel 0 Aug 22 08:39 50 srw------- 1 root wheel 0 Aug 22 08:39 51 srw------- 1 root wheel 0 Aug 22 08:39 52 srw------- 1 root wheel 0 Aug 22 08:39 53 srw------- 1 root wheel 0 Aug 22 08:39 54 srw------- 1 root wheel 0 Aug 22 08:39 55 srw------- 1 root wheel 0 Aug 22 08:39 56 srw------- 1 root wheel 0 Aug 22 08:39 57 srw------- 1 root wheel 0 Aug 22 08:39 58 srw------- 1 root wheel 0 Aug 22 08:39 59 srw------- 1 root wheel 0 Aug 22 08:39 6 srw------- 1 root wheel 0 Aug 22 08:39 60 srw------- 1 root wheel 0 Aug 22 08:39 61 srw------- 1 root wheel 0 Aug 22 08:39 62 srw------- 1 root wheel 0 Aug 22 08:39 63 srw------- 1 root wheel 0 Aug 22 08:39 64 srw------- 1 root wheel 0 Aug 22 08:39 65 srw------- 1 root wheel 0 Aug 22 08:39 66 srw------- 1 root wheel 0 Aug 22 08:39 67 srw------- 1 root wheel 0 Aug 22 08:39 68 srw------- 1 root wheel 0 Aug 22 08:39 69 srw------- 1 root wheel 0 Aug 22 08:39 7 srw------- 1 root wheel 0 Aug 22 08:39 70 srw------- 1 root wheel 0 Aug 22 08:39 71 srw------- 1 root wheel 0 Aug 22 08:39 72 srw------- 1 root wheel 0 Aug 22 08:39 73 srw------- 1 root wheel 0 Aug 22 08:39 74 srw------- 1 root wheel 0 Aug 22 08:39 75 srw------- 1 root wheel 0 Aug 22 08:39 76 srw------- 1 root wheel 0 Aug 22 08:39 77 srw------- 1 root wheel 0 Aug 22 08:39 78 srw------- 1 root wheel 0 Aug 22 08:39 79 srw------- 1 root wheel 0 Aug 22 08:39 8 srw------- 1 root wheel 0 Aug 22 08:39 80 srw------- 1 root wheel 0 Aug 22 08:39 81 srw------- 1 root wheel 0 Aug 22 08:39 82 srw------- 1 root wheel 0 Aug 22 08:39 83 srw------- 1 root wheel 0 Aug 22 08:39 84 srw------- 1 root wheel 0 Aug 22 08:39 85 srw------- 1 root wheel 0 Aug 22 08:39 86 srw------- 1 root wheel 0 Aug 22 08:39 87 srw------- 1 root wheel 0 Aug 22 08:39 88 srw------- 1 root wheel 0 Aug 22 08:39 89 srw------- 1 root wheel 0 Aug 22 08:39 9 srw------- 1 root wheel 0 Aug 22 08:39 90 srw------- 1 root wheel 0 Aug 22 08:39 91 srw------- 1 root wheel 0 Aug 22 08:39 92 srw------- 1 root wheel 0 Aug 22 08:39 93 srw------- 1 root wheel 0 Aug 22 08:39 94 srw------- 1 root wheel 0 Aug 22 08:39 95 srw------- 1 root wheel 0 Aug 22 08:39 96 srw------- 1 root wheel 0 Aug 22 08:39 97 srw------- 1 root wheel 0 Aug 22 08:39 98 srw------- 1 root wheel 0 Aug 22 08:39 99 # # ls -l /proc/363/fd total 0 srw------- 1 root wheel 0 Aug 22 08:39 0 srw------- 1 root wheel 0 Aug 22 08:39 1 srw------- 1 root wheel 0 Aug 22 08:39 11 srw------- 1 root wheel 0 Aug 22 08:39 14 srw------- 1 root wheel 0 Aug 22 08:39 2 srw------- 1 root wheel 0 Aug 22 08:39 3 srw------- 1 root wheel 0 Aug 22 08:39 4 srw------- 1 root wheel 0 Aug 22 08:39 8 # So it seems it's the "privileged proxy" that holds all the FDs. Unfortunately, this leads to a loss of connectivity: # ifconfig qt0 qt0: flags=0x8043<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 address: 08:00:2b:a0:0e:06 inet6 fe80::9f2f:9626:8b71:420e%qt0/64 flags 0 scopeid 0x1 inet 169.254.73.205/16 broadcast 169.254.255.255 flags 0 I'd probably configure static IP addresses, but as I'm targeting kind of a deployable VM (handed in the MAC address via SIMH configs), it would be nice to just have the DHCP support working. I *think* that I haven't had this issue some time (months?) ago. As I still have some older install images around, I'll run a test with something older... MfG, JBG --
Attachment:
signature.asc
Description: PGP signature