I have located the mbuf leak, but I suspect not the root cause. There
was new code added in 4.8 concerning routing sockets that allocates an
mbuf, but if a subsequent operation fails it schedules a timeout to
retry and doesn't free the mbuf. The rate of the timer is - no surprise
- 5Hz. The real question is why the routing socket operation fails in
the first place, it must be something hardware specific or there would
be lots more people suffering the same problem.
I'll put in a sendbug with all the details.
On 11/02/2011 3:31 PM, Alan Wilkie wrote:
I have now upgraded my machine to "OpenBSD 4.9-beta (GENERIC) #654:
Wed Feb 9 14:50:38 MST 2011", and I am still seeing a constant rate
consumption of mbufs. I have tried a number of things (shutting down
all non-essential user processes, turning off network interfaces,
etc), but none have made any difference, the system consumes 256 byte
mbufs at a constant rate of 5 mbufs per second:
...