Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 1998 09:36:53 -0800 (PST)
From:      Simon Shapiro <shimon@simon-shapiro.org>
To:        freebsd-current@freebsd.org
Subject:   Panic: kmem_malloc: kmem_map too small
Message-ID:  <XFMail.980107093653.shimon@simon-shapiro.org>

next in thread | raw e-mail | index | archive | help
I receive that mainly under SMP, but looking at vm/vm_kern.c I do not see
where the problem is:

        if (vm_map_findspace(map, 0, size, &addr)) {
                vm_map_unlock(map);
                if (map == mb_map) {
                        mb_map_full = TRUE;
                        log(LOG_ERR, "Out of mbuf clusters - increase
maxusers!\n");
                        return (0);
                }
                if (waitflag == M_WAITOK)
                        panic("kmem_malloc: kmem_map too small");
                return (0);
        }

The rtrace:

Debugger
panic
kmem_malloc
malloc
nfs_nget
nfs_lookup
namei
lstat
syscall
Xsyscall

This happened while doing a ``cd /NFS_mount; find . | cpio -dmpv /new''
where virtually all the files are too new on the target, so there is much
of directory activity across the LAN but very little copying.

Filesystems involoved are large (FreeBSD archives :-)


----------


Sincerely Yours, 

Simon Shapiro
Shimon@Simon-Shapiro.ORG                      Voice:   503.799.2313



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980107093653.shimon>