Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!cos!hadron!decuac!felix!zemon From: bp@pixar.UUCP (The gift to be simple is the gift to be free. - Shaker theme) Newsgroups: comp.unix.ultrix Subject: Re: out of mbuf Message-ID: <11556@felix.UUCP> Date: Mon, 2-Nov-87 18:58:59 EST Article-I.D.: felix.11556 Posted: Mon Nov 2 18:58:59 1987 Date-Received: Fri, 6-Nov-87 04:26:13 EST References: <8592@felix.UUCP> <10274@felix.UUCP> Sender: zemon@felix.UUCP Reply-To: bp@pixar.UUCP Organization: Pixar -- Marin County, California Lines: 27 Approved: zemon@felix.UUCP In article <10274@felix.UUCP>, an anonymous contributor wrote... } ... } 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) It should not be necessary to edit spt.s unless NMBCLUSTERS is being defined somewhere else than in mbuf.h . After changing mbuf.h, delete spt.o and re-make. Caveat - I haven't tested this (I don't buy the fix, either). Increasing the number of mbufs is probably a band-aid for the real problem. Mbufs are being allocated and never freed. --- Bruce Perens - {sun,ucbvax}!pixar!bp - 415-258-8167