Subject: Re: malloc panic
To: Stephen Borrill <netbsd@precedence.co.uk>
From: Chuck Silvers <chuq@chuq.com>
List: port-i386
Date: 09/14/2003 16:05:43
hi,
yea, something's leaking kernel memory. if you collect the output of
"vmstat -m" periodically, that will give some clues as to where all the
memory is going. or if you can get a crashdump, that will have the info
as well.
-Chuck
On Mon, Sep 08, 2003 at 01:14:39PM +0100, Stephen Borrill wrote:
> A client is frequently getting the following on a 256MB single processor
> Compaq server running NetBSD 1.6.1 with DHCP, tftp and ftp for various
> clients (amongst other things).
>
> panic: malloc: out of space in kmem_map
> Stopped in pid 5639 (inetd) at cpu_Debugger+0x4: leave
>
> They give the textual output of the trace command as:
>
> cpu_Debugger
> panic
> malloc
> crget
> sys_access
> syscall_plain
>
> I guess this is indicating a lack of memory or such like; I've left them
> running systat vmstat.
>
> --
> Stephen
>