Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!ccicpg!felix!zemon From: zemon@felix.UUCP (Art Zemon) Newsgroups: comp.unix.ultrix Subject: Re: out of mbuf Message-ID: <10274@felix.UUCP> Date: Fri, 23-Oct-87 13:04:09 EST Article-I.D.: felix.10274 Posted: Fri Oct 23 13:04:09 1987 Date-Received: Mon, 26-Oct-87 00:48:30 EST References: <8592@felix.UUCP> Sender: zemon@felix.UUCP Lines: 35 Approved: zemon@felix.UUCP Reply-Path: [The following arrived from an annonymous contributor. They say that you simply need a bigger mbuf pool and that this change will give it to you. If you only crash every couple of weeks then a value of 512 or 1024 ought to be sufficient. -- AZ] To keep the mbuf map from being exhausted you must increase the size of the map. To do this you must edit 2 files and rebuild your kernel. To make sure that the old files are not used you must do the following. cd /sys/$MACHINE_NAME make clean # does a rm * in your system build dir. in /sys/h edit mbuf.h you will find the following line. (it's around line # 55) #define NMBCLUSTERS 256 Change the 256 to either 512, 1024 or 2048, etc. I recommend 1024. Then edit /sys/vax/spt.s and you will find the following line ( it's around line # 99 ) SYSMAP(Mbmap ,mbutl ,NMBCLUSTERS*CLSIZE) you MUST change NMBCLUSTERS to what you changed it to in mbuf.h example mbuf.h #define NMBCLUSTERS 1024 spt.s SYSMAP(Mbmap ,mbutl ,1024*CLSIZE)