hammer-mount: malloc limit exceeded panic

Michael Neumann mneumann at ntecs.de
Sat Jul 26 12:42:39 PDT 2008


Matthew Dillon schrieb:
:I got this panic 3 times today with 2.0, when building packages like 
:firefox3 on a hammer partition.
:
:   hammer-mount: malloc limit exceeded
:   hammer_alloc_mem_record+0x22
:   hammer_ip_add_directory+0x1d
:   hammer_vop_ncreate+0xba
:   vop_ncreate+0x3d
:   vn_open+0xf3
:   kern_open+0x84
:
:Strange, as I have 3GB of memory. Is there a memory leak somewhere?
:I just build 1 or 2 packages (distfiles are already fetched), no other
:activity. And it's a UP machine.
:
:Regards,
:
:   Michael

    I thought I had fixed those.  Damn.

    Can you get a crash dump from the panic?  And upload it to your
    leaf account?
Hm, I couldn't reproduce the panic after setting "dumpdev" correctly in 
loader.conf (it refered to a non existing partition). I also used
hw.physmem="2G" (instead of the 3G of memory).

I try again without the hw.physmem setting and see if I can reproduce 
it. Or could it be related to maybe dumpdev (or the missing swap partition)?

Regards,

  Michael

    This does sound like a memory leak but it could also be something
    else.  HAMMER keeps track of all those allocations so I should be
    able to figure out what is going on from a crash dump.
					-Matt
					Matthew Dillon 
					<dillon at backplane.com>





More information about the Bugs mailing list