Bug #2825
open
3x dhclient = hanging system (objcache exhausted)
Added by jaccovonb over 9 years ago.
Updated over 3 years ago.
Description
Starting dhclient 3 times causes the system to hang:
Warning, objcache(mbuf pkt hdr + cluster): Exhausted!
To reproduce, set the following in /etc/rc.conf:
ifconfig_em0="DHCP"
ifconfig_em1="DHCP"
ifconfig_em2="DHCP"
- Assignee set to sepherosa
You can temporarily work around this by increasing the number of mbuf clusters at system boot with:
kern.ipc.nmbclusters=32768
The default of 16384 clusters (or less) is not enough for the EM driver which I think can allocate as many as 2048 or even 4096 clusters for each EM device ring.
I'll assign this to Sephe for now and he and I will figure out a more permanent fix.
-Matt
- Target version changed from 4.0 to 6.0
Also available in: Atom
PDF