From owner-freebsd-net Mon Dec 6 17:25:27 1999 Delivered-To: freebsd-net@freebsd.org Received: from bingsun2.cc.binghamton.edu (bingsun2.cc.binghamton.edu [128.226.6.4]) by hub.freebsd.org (Postfix) with ESMTP id F10E814EE2 for ; Mon, 6 Dec 1999 17:25:25 -0800 (PST) (envelope-from bg24484@binghamton.edu) Received: from localhost (bg24484@localhost) by bingsun2.cc.binghamton.edu (8.9.3/8.9.3) with ESMTP id UAA19040 for ; Mon, 6 Dec 1999 20:25:21 -0500 (EST) X-Authentication-Warning: bingsun2.cc.binghamton.edu: bg24484 owned process doing -bs Date: Mon, 6 Dec 1999 20:25:20 -0500 (EST) From: X-Sender: bg24484@bingsun2 To: freebsd-net@FreeBSD.ORG Subject: NMBUFCLUSTER and maxusers problem. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I have been troubled by this problem for days. I have written an echo server which echoes data from 200 bytes to 8000 bytes sent by the client in increments of 200 bytes. The problem occurs when the client sends 7800 bytes. In this case the server hangs and doesnt echo the 7800 bytes. On killing the server I get the following displayed on the console "Out of mbuf cluster - Adjust NMBCLUSTER or increase maxusers" So I modified the "LINT" file in the /sys/i386/conf directory with maxusers = 256 and NMBCLUSTER = 6144 and NBUF = 3072 After building the kernel I see that the problem still persists. Can anyone tell me why this behavior? I am working on "FreeBSD v3.3". No other network applications are running except the echo server. Thanks in advance, Any help would be appreciated. Roshan D'Mello. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message