DragonFly BSD
DragonFly bugs List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[issue1884] System completely freezes while listening music (devbuf: malloc limit exceeded)


From: "Alex Hornung \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Nov 2010 15:31:20 +0000

Alex Hornung <ahornung@gmail.com> added the comment:

M_DEVBUF is used almost everywhere, it is a nightmare to find out what is 
actually leaking memory.

While overhauling vn I looked at devbuf's vmstat after every mkinitrd and it 
kept increasing, one leak at a time. To verify that it wasn't vn, I changed the 
malloc type for the vn allocations to a different one and the leak is still 
there. So something probably somewhere in the disk i/o path using M_DEVBUF is 
leaking memory, too.

To reproduce just keep an eye on devbuf's allocations while running mkinitrd a 
few times.

Cheers,
Alex Hornung

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1884>
_____________________________________________________




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]