diff options
author | dg <dg@FreeBSD.org> | 1996-01-31 12:05:52 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1996-01-31 12:05:52 +0000 |
commit | 66bb81b8eeabb32ee4e1942dd68cce6697180e17 (patch) | |
tree | 0082148829d81c61074c927b5503d6f8c75f9ebf /sys/vm/vm_kern.c | |
parent | 8b9cb8fedd0f01ebc9c3c594a904b014753b87a3 (diff) | |
download | FreeBSD-src-66bb81b8eeabb32ee4e1942dd68cce6697180e17.zip FreeBSD-src-66bb81b8eeabb32ee4e1942dd68cce6697180e17.tar.gz |
Print a more descriptive message when the mb_map is filled (out of mbuf
clusters), and tell the operator what to do about it (increase maxusers).
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r-- | sys/vm/vm_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 9569a39..35eae4f 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.c,v 1.20 1995/12/11 04:58:09 dyson Exp $ + * $Id: vm_kern.c,v 1.21 1996/01/19 03:59:48 dyson Exp $ */ /* @@ -307,7 +307,7 @@ kmem_malloc(map, size, waitflag) vm_map_unlock(map); if (map == mb_map) { mb_map_full = TRUE; - log(LOG_ERR, "mb_map full\n"); + log(LOG_ERR, "Out of mbuf clusters - increase maxusers!\n"); return (0); } if (waitflag == M_WAITOK) |