Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 09:45:37 +0100 (CET)
From:      Przemyslaw Frasunek <venglin@lagoon.freebsd.org.pl>
To:        freebsd-questions@freebsd.org
Subject:   ``Can't allocate memory''
Message-ID:  <19990323084538.6871.qmail@lagoon.freebsd.org.pl>

next in thread | raw e-mail | index | archive | help
I have strange problem with heavly loaded machine (486 DX4, 40 MB RAM, 260 MB
Swap) running FreeBSD 2.2.8-STABLE.

Average once per two weeks, one or a few procceses (usually w, uptime or top, 
sometimes qmail or shell) dies with ``Can't allocate memory'' message.

Probably that's not a hardware problem (I've obserwed this behavior on other
my servers).

Can you help me with it?

My kernel config:

machine		"i386"
cpu		"I486_CPU"
ident		AWC
maxusers 	128

options		INET
options		FFS
options		PROCFS
options		"COMPAT_43"
options		SCSI_DELAY=15
options		BOUNCE_BUFFERS
options		UCONSOLE
options		USERCONFIG
options		VISUAL_USERCONFIG
options		SYSVSHM
options		SYSVSEM
options		SYSVMSG
options		USER_LDT
options		COMPAT_LINUX
options		QUOTA
options		"NO_F00F_HACK"
options		"AUTO_EOI_1"
options		"AUTO_EOI_2"
options		IPFIREWALL
options		IPFIREWALL_DEFAULT_TO_ACCEPT
options		CHILD_MAX=512
options		OPEN_MAX=512

config		kernel	root on wd0

controller	isa0
controller	pci0

controller	wdc0	at isa? port "IO_WD1" bio irq 14 flags 0x80ff80ff vector wdintr
disk		wd0	at wdc0 drive 0
disk		wd1	at wdc0 drive 1

device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr

device		npx0	at isa? port "IO_NPX" irq 13 vector npxintr

device ed0 at isa? port 0x280 net irq  10 iomem 0xd8000 vector edintr

device          sio0    at isa? port "IO_COM2" tty irq 3 vector siointr

pseudo-device	loop
pseudo-device	ether
pseudo-device	log
pseudo-device	pty	128
pseudo-device	gzip
pseudo-device 	bpfilter 4
pseudo-device	vn 	4
pseudo-device	snp 	3
pseudo-device	ppp	2
pseudo-device	tun	1

My dmesg:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.8-STABLE #0: Thu Mar 11 17:19:54 CET 1999
    venglin@lagoon.freebsd.org.pl:/usr/tmp/sys/compile/AWC
CPU: i486DX (486-class CPU)
real memory  = 41943040 (40960K bytes)
avail memory = 39047168 (38132K bytes)
Probing for devices on PCI bus 0:
ed1 <NE2000 PCI Ethernet (ProLAN)> rev 11 int a irq 11 on pci0:12:0
ed1: address 00:20:18:80:f4:a2, type NE2000 (16 bit) 
chip0 <generic PCI bridge (vendor=1060 device=8881 subclass=0)> rev 1 on pci0:16:0
chip1 <generic PCI bridge (vendor=1060 device=886a subclass=1)> rev 1 on pci0:18:0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: MDA/hercules <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
sio0: configured irq 3 not in bitmap of probed irqs 0
sio0 not found at 0x2f8
wdc0 at 0x1f0-0x1f7 irq 14 flags 0x80ff80ff on isa
wdc0: unit 0 (wd0): <SAMSUNG VG34323A    (4.32GB)>, 32-bit, multi-block-16
wd0: 4124MB (8446032 sectors), 14896 cyls, 9 heads, 63 S/T, 512 B/S
npx0 on motherboard
npx0: INT 16 interface
IP packet filtering initialized, divert disabled, default to accept, logging disabled

-- 
* Fido: 2:480/124 ** WWW: lagoon.freebsd.org.pl/~venglin ** GSM:48-601-383657 * 
* Inet: venglin@lagoon.freebsd.org.pl ** PGP:D48684904685DF43EA93AFA13BE170BF *


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?19990323084538.6871.qmail>