Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 May 1996 10:15:13 -0500
From:      Randy Terbush <randy@zyzzyva.com>
To:        "Matthew N. Dodd" <winter@jurai.net>
Cc:        freebsd-stable@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: MBUFs leaking? 
Message-ID:  <199605061516.KAA16859@sierra.zyzzyva.com>
In-Reply-To: winter's message of Mon, 06 May 1996 00:21:12 -0500. <Pine.BSI.3.93.960506001206.24623F-100000@sasami> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605061516.KAA16859>