From owner-freebsd-questions Fri Mar 17 11:16:14 2000 Delivered-To: freebsd-questions@freebsd.org Received: from lince.tdnet.com.br (lince.tdnet.com.br [200.236.148.6]) by hub.freebsd.org (Postfix) with ESMTP id 918DE37B9EC for ; Fri, 17 Mar 2000 11:16:07 -0800 (PST) (envelope-from kernel@tdnet.com.br) Received: from tdnet.com.br [200.236.148.100] by lince.tdnet.com.br with ESMTP (SMTPD32-5.00) id A63EE6DA013A; Sat, 18 Mar 2000 15:09:02 -0300 Message-ID: <38D25628.6AA5C0DA@tdnet.com.br> Date: Fri, 17 Mar 2000 15:58:32 +0000 From: Gustavo V G C Rios X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 3.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: my system freezes Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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: rev 0x03 on pci0.0.0 chip1: rev 0x03 on pci0.1.0 chip2: rev 0x02 on pci0.7.0 ide_pci0: rev 0x01 on pci0.7.1 chip3: rev 0x02 on pci0.7.3 Probing for devices on PCI bus 1: vga0: 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): , 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): , 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: 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