tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mbuf pool allocator can sleep in interrupt context?
We have a very busy system (it is a load test target) which continually
has several thousand TCP connections open and often has bursts of thousands
of nearly simultaneous connection requests. It's running a netbsd-5 branch
i386 kernel.
We have been seeing LOCKDEBUG panics. They appear to result from the wm
driver attempting to get an mbuf in its receive interrupt handler. There
are none available in the pool (or it's below its low water mark) so it
tries to allocate. This causes a sleep lock attempt in interupt context
and over-the-side we go.
Has anyone else seen this? Is there an obvious fix? I don't really want
to go turning sleep locks to spin locks if I don't have to.
--
Thor Lancelot Simon
Coyote Point Systems, Inc. <tls%coyotepoint.com@localhost>
Millerton, NY, USA
Home |
Main Index |
Thread Index |
Old Index