Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2000 15:58:32 +0000
From:      Gustavo V G C Rios <kernel@tdnet.com.br>
To:        questions@freebsd.org
Subject:   my system freezes
Message-ID:  <38D25628.6AA5C0DA@tdnet.com.br>

next in thread | raw e-mail | index | archive | help
Dear gentlemen,

i am using freebsd 3.4Stable and i got it freezed after trying to copy
the contents from 2 directory and from CDROM to a single directory, the
command i issued was:

cp /xxx/yyy/* /tmp &
cp /xxx/zzzz/* /tmp &
cp /cdrom/* &

The contents of this three directory is about 250 files and 1GB of data.
Just after issued than, i decide to watch my system using the top
utility, it was ok, but one thing drived me crazy.
Althought the proccesses was not increasing its memory usage, the amount
of available memory was coming down and down, until the time i were
prevented from forking a single ls, due to the following message at
console: swapper: out of memory.

My question is: if not proccess was eating more memory which part of the
system was eating all my 128 MB of memory? The situation get so terrific
i could not even halt or poweroff my system, i had to turn it off by
hand.
How can i prevent my user from hanging my system? I am sure there some
way to control this.

Can any one point me a solution?

Here goes some useful information:

etosha:/usr/home/grios$ uname -a
FreeBSD etosha 3.4-STABLE FreeBSD 3.4-STABLE #21: Thu Mar 16 01:24:01
GMT 2000     root@etosha:/usr/src/sys/compile/ETOSHA  i386


etosha:/usr/home/grios$ dmesg
Copyright (c) 1992-1999 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
FreeBSD 3.4-STABLE #21: Thu Mar 16 01:24:01 GMT 2000
    root@etosha:/usr/src/sys/compile/ETOSHA
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II (267.27-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
 
Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 134217728 (131072K bytes)
avail memory = 127418368 (124432K bytes)
Preloaded elf kernel "kernel" at 0xc0305000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc030509c.
Preloaded elf module "splash_bmp.ko" at 0xc03050ec.
Preloaded elf module "vesa.ko" at 0xc0305190.
Preloaded splash_image_data "/boot/splash.bmp" at 0xc030522c.
VESA: v2.0, 4096k memory, flags:0x0, mode table:0xc00c6d9d (c0006d9d)
VESA: Diamond Multimedia Systems, Inc.
Pentium Pro MTRR support enabled
Probing for devices on PCI bus 0:
chip0: <Intel 82443LX host to PCI bridge> rev 0x03 on pci0.0.0

chip1: <Intel 82443LX PCI-PCI bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.7.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.7.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.7.3
Probing for devices on PCI bus 1:
vga0: <S3 model 8a10 graphics accelerator> rev 0x04 int a irq 11 on
pci1.0.0
Probing for devices on the ISA bus:
sc0 flags 0x6 on isa
sc0: VGA color <5 virtual consoles, flags=0x6>
ed0 at 0x300-0x31f irq 10 on isa
ed0: address 00:00:21:6c:8f:e0, type NE2000 (16 bit) 
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
sio1 at 0x2f8-0x2ff irq 3 flags 0x10 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 4 on isa
sio2: type 16550A
pcm0 at 0x220 irq 5 drq 1 flags 0x15 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <QUANTUM FIREBALL SE8.4A>, LBA, DMA, 32-bit,
multi-block-16, sleep-hack
wd0: 8063MB (16514064 sectors), 17475 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <IOMEGA  ZIP 100       ATAPI       Floppy/14.A>,
removable, intr, iordis
wfd0: medium type unknown (no disk)
wfd0: buggy Zip drive, 64-block transfer limit set
wdc1: unit 1 (atapi): <  34X CD-ROM/VER 1.D1>, removable, accel, dma,
iordy
acd0: drive speed 687 - 3781KB/sec, 128KB cache
acd0: supported read types: CD-R, CD-RW, CD-DA, packet track
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm photo disc loaded, unlocked
ppc0 at 0x378 irq 7 flags 0x40 on isa
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
lpt0: <generic printer> on ppbus 0
lpt0: Interrupt-driven port
vga0 at 0x3c0-0x3df maddr 0xa0000 msize 131072 on isa
npx0 on motherboard
npx0: INT 16 interface
apm0 flags 0x31 on isa
apm: found APM BIOS version 1.2
changing root device to wd0s1a

etosha:/usr/home/grios$ limits
Resource limits (current):
  cputime              1800 secs
  filesize         infinity kb
  datasize            16384 kb
  stacksize            8192 kb
  coredumpsize     infinity kb
  memoryuse           16384 kb
  memorylocked     infinity kb
  maxprocesses           32
  openfiles             128


-- 
Pascal, n.:
	A programming language named after a man who would turn over in
his grave if he knew about it.


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?38D25628.6AA5C0DA>