dhcpd-4.2.2 maxsocks problem
Jan Markus
markus.jan at seznam.cz
Thu Jan 12 13:51:38 UTC 2012
Hello,
we have isc-dhcpd 4.2.2 from ports on FreeBSD 8.2. We have cca 1050 Vlan interfaces:
ifconfig vlan1234 create inet 10.0.0.1/29 vlan 1234 vlandev igb1
and the same number of dhcpd declarations like this:
shared-network vlan1234 {
subnet 10.0.0.0 netmask 255.255.255.248 {
range 10.0.0.2 10.0.0.5;
option routers 10.0.0.1;
}
}
But our DHCP server refuses to start, saying:
../../../../lib/isc/unix/socket.c:958: INSIST(fd >= 0 && fd < (int)manager->maxsocks) failed, back trace
#0 0x52a5ca in ??
#1 0x52a77a in ??
#2 0x54768b in ??
#3 0x548f63 in ??
#4 0x46fc80 in ??
#5 0x445cfb in ??
#6 0x40de69 in ??
#7 0x40c38e in ??
#8 0x8006bc000 in ??
Abort trap (core dumped)
/usr/local/etc/rc.d/isc-dhcpd: WARNING: failed to start dhcpd
My kernel sockets limits are:
# sysctl -a | grep soc
kern.ipc.maxsockbuf: 16777216
kern.ipc.maxsockets: 204800
kern.ipc.numopensockets: 17
net.inet.ip.mcast.maxsocksrc: 128
Please, what should I do?
Thank you very much for your time.
-Jan
More information about the dhcp-users
mailing list