Date: Fri, 28 Apr 2000 08:56:46 -0500 (CDT) From: Mark Tinguely <tinguely@plains.NoDak.edu> To: freebsd-questions@FreeBSD.ORG, olive@deep-ocean.net Subject: Re: looutput: mbuf allocation problem Message-ID: <200004281356.IAA03808@plains.NoDak.edu>
next in thread | raw e-mail | index | archive | help
you must see allocation failures when you execute the command: $ netstat -m With a MAXUSERS of 64, you should get 2560 NMBCLUSTERS (from the calculation in sys/kern/uipc_mbuf.c). you can add more by the kernel option: options NMBCLUSTERS=16384 # (or possibly 8192) If you are just low of MBUF because of heavy traffic, this should do the trick; if there is a MBUF leak in 4.0, then this will only postpone the network hang. I am surprised that the loopback output routine in FreeBSD 4.0 copies every packet when only the KAME code (according to the comment) requires the mbuf to be contiguous. --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004281356.IAA03808>