Patch-ID# 100126-04 Keywords: MBUF running out of mbufs Synopsis: SunOS4.1 SunOS4.1_PSR_A SunOS4.1.1 SunOS4.0.3 MBUF PATCH Date: 11/Dec/90 SunOS RELEASE: 4.0.3 4.1 4.1_PSR-A 4.1.1 Topic: Doubling MBUF size BugID's fixed with this patch: 1033551 1032572 1032818 1041811 1047083 Architectures for which this patch is available: sun4c-4.1, sun4c-4.1.1, sun3-4.1 sun3-4.1.1, sun3x-4.1.1 sun4-4.0.3 sun4-4.1 sun4-4.1.1 sun4-4.1_PSR_A Obsolete By: Next major release of SunOS Problem Description: Running Out of mbufs. BUGID: 1033551 1032572 1039734 1032818 1041811 1047083 The mbuf is a system resource which can be run out. So it shouldn't really be a bug. However, this patch provides work around for it. It would certainly be nice if we can make MBUF size user configurable. INSTALL: Example is for a sun4 running 4.1 make sure and use your correct architecture and SunOS release. As root: save the origional version as a precaution. # mv /sys/sun4/OBJ/locore.o /sys/sun4/OBJ/locore.o.save # mv /sys/sun4/OBJ/machdep.o /sys/sun4/OBJ/machdep.o.save # mv /sys/sun4/OBJ/uipc_mbuf.o /sys/sun4/OBJ/uipc_mbuf.o.save copy the new versions. checking your architecture type and OS rev. this tells you your architecture type # arch -k this tells you your SunOS Release # dmesg |more Now using your architecture and SunOS release information; (example is for a sun4 running SunOS 4.1) # cp sun4/4.1/locore.o /sys/sun4/OBJ/locore.o # cp sun4/4.1/machdep.o /sys/sun4/OBJ/machdep.o # cp sun4/4.1/uipc_mbuf.o /sys/sun4/OBJ/uipc_mbuf.o rerun /etc/config run make, and install the new kernel. Please refer to the System and Networking Administration Manual for details on building and installing a custom kernel