From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,8908fae35ee0b9fc X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,8908fae35ee0b9fc X-Google-Attributes: gid10b612,public From: dsr@mail.lns.cornell.edu (Daniel S. Riley) Subject: Re: Ultrix problem: "cant get mbufs" Date: 1998/07/31 Message-ID: #1/1 X-Deja-AN: 376702264 References: <6pq607$ler$1@pisanino.unipi.it> To: massimo@mercurio.iet.unipi.it (Massimo Macucci) Followup-To: comp.unix.ultrix Organization: LNS, Cornell U., Ithaca, NY 14853 Newsgroups: comp.unix.ultrix,comp.sys.dec massimo@mercurio.iet.unipi.it (Massimo Macucci) writes: > However, every week or so, a new problem has started appearing: the > message "cant get mbufs" appears on the console, and, unless the > machine is rebooted right away, a hardware reset becomes necessary, > because everything get completely frozen. The kernel memory pool is being exhausted; to fix it, you need to increase the number of page table entries available to the kernel memory allocator map. Edit /sys/machine/mips/vmparam.h--towards the end you'll find a section something like #if (PHYSMEM/10 < LOW_WATER) #define KMEMUMAP (LOW_WATER*256+KMEMSLOP) #else #if (PHYSMEM/10 > HIGH_WATER) #define KMEMUMAP (HIGH_WATER*256+KMEMSLOP) #else #define KMEMUMAP (PHYSMEM/10*256+KMEMSLOP) #endif #endif Change that to something like #if (PHYSMEM/10 < LOW_WATER) #define KMEMUMAP (2*LOW_WATER*256+KMEMSLOP) #else #if (PHYSMEM/10 > HIGH_WATER) #define KMEMUMAP (HIGH_WATER*256+KMEMSLOP) #else #define KMEMUMAP (PHYSMEM/5*256+KMEMSLOP) #endif #endif which doubles the PHYSMEM factor for machines with less than 100 MB of RAM. Build and install a new kernel and reboot. -- Dan Riley dsr@mail.lns.cornell.edu Wilson Lab, Cornell University "History teaches us that days like this are best spent in bed"