From owner-freebsd-current Mon May 6 08:17:22 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA19156 for current-outgoing; Mon, 6 May 1996 08:17:22 -0700 (PDT) Received: from sierra.zyzzyva.com (ppp0.zyzzyva.com [198.183.2.50]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA19145 Mon, 6 May 1996 08:17:14 -0700 (PDT) Received: (from mail@localhost) by sierra.zyzzyva.com (8.7.5/8.6.11) id KAA16859; Mon, 6 May 1996 10:16:54 -0500 (CDT) Message-Id: <199605061516.KAA16859@sierra.zyzzyva.com> X-Authentication-Warning: sierra.zyzzyva.com: mail set sender to using -f Received: from localhost(127.0.0.1) by sierra via smap (V1.3) id sma016835; Mon May 6 10:16:43 1996 To: "Matthew N. Dodd" Subject: Re: MBUFs leaking? In-reply-to: winter's message of Mon, 06 May 1996 00:21:12 -0500. Cc: freebsd-stable@freebsd.org, freebsd-current@freebsd.org X-uri: http://www.zyzzyva.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 May 1996 10:15:13 -0500 From: Randy Terbush Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > On Sun, 5 May 1996, David Greenman wrote: > > >to obey the options NMBCLUSTERS and only allocates about 180k to > > >mbufs. I've played with maxusers, NMBCLUSTERS, and others and no effect. > > > > I can't explain this. There must be something interacting with this, like a > > user process limit or something. There haven't been any kernel changes that > > would affect this. > > Indeed. Thats why I am puzzled. I re-made world on the off chance that > it would fix something, but still no luck. I'm going to try some other > things when I get to the office on Monday. > I'll add a few pence to this.... I found after much hair pulling that if I define NMBCLUSTERS=4096 for my -stable kernel build, the machine will crash every time I try to run X. I'm including below my kernel config. There may be some unnecessaries and crufties from NetBSD. Feel free to point them out. # # machine "i386" cpu "I586_CPU" ident SIERRA maxusers 64 # limit tuning #options NMBCLUSTERS=4096 #options DFLDSIZ=33554432 #options DFLSSIZ=1048576 options "CHILD_MAX=128" options "OPEN_MAX=128" # debugging options #options DDB # in-kernel debugger options DIAGNOSTIC # internal consistency checks options KTRACE # system call tracing, a la ktrace(1) # compatibility options options SYSVSHM # System V-like message queues options SYSVSEM # System V-like semaphores options SYSVMSG # System V-like memory sharing options "COMPAT_43" #Compatible with BSD 4.3 options COMPAT_LINUX # filesystem options options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MFS # memory file system #options LFS # log-structured file system #options QUOTA # Filesystem quotas options FDESC # /dev/fd options PROCFS #Process filesystem options KERNFS # /kern options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem #options PORTAL # ? #options PROCFS # /proc #options UMAPFS # NULLFS + uid and gid remapping #options UNION # union file system # networking options INET #InterNETworking options MROUTING # multicast routing options IPFIREWALL # packet filtering options IPFIREWALL_VERBOSE options IPACCT options GATEWAY # packet forwarding #options NS # XNS #options ISO,TPIP # OSI #options EON # OSI tunneling over IP #options CCITT,LLC,HDLC # X.25 options USER_LDT config kernel root on sd0 controller isa0 controller eisa0 controller pci0 device npx0 at isa? port "IO_NPX" irq 13 vector npxintr device pca0 at isa? port "IO_TIMER1" tty # syscons is the default console driver, resembling an SCO console device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr options XSERVER # include code for XFree86 options UCONSOLE #Allow users to grab the console options HARDFONTS # serial devices device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device sio2 at isa? port 0x1e0 tty irq 9 vector siointr device sio3 at isa? port 0x1e8 tty irq 5 vector siointr # Usenet II - how? #options COM_MULTIPORT #device sio2 at isa? port 0x2a0 tty flags 0x501 #device sio3 at isa? port 0x2a8 tty flags 0x501 #device sio4 at isa? port 0x2b0 tty flags 0x501 #device sio5 at isa? port 0x2b8 tty flags 0x501 irq 15 vector siointr # standard PC parallel ports device lpt0 at isa? port? tty irq 7 vector lptintr # BusLogic [57]4X SCSI controllers controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr controller scbus0 device sd0 # SCSI disk drives device st0 # SCSI tape drives device cd0 # SCSI CD-ROM drives device ch0 # SCSI autochangers #device ss0 # SCSI scanners (supported in FreeBSD?) # standard PC floppy controllers controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 disk fd1 at fdc0 drive 1 # 3C509 ethernet cards device ep0 at isa? port 0x300 net irq 10 vector epintr # Sounds support controller snd0 device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr pseudo-device loop 1 pseudo-device ether pseudo-device log pseudo-device ppp 2 pseudo-device bpfilter 4 pseudo-device pty 64 pseudo-device gzip pseudo-device vn 4 #pseudo-device sl 2 # ijppp uses tun instead of ppp device #pseudo-device tun 1