Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: hayward@slothmud.org
To: axp-list@redhat.com
Subject: RE: Out of memory
Date: Thu, 16 Sep 1999 13:59:21 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.04.9909161352290.9750-100000@lotus.slothmud.org> (raw)
In-Reply-To: <NDBBLLOJHKHJGHJOOCFGGEBICAAA.Kurt_Ludwig@student.uml.edu>

I can't answer the 'out of memory' problem you have, but I can explain why
your 'free' command changes over time.  It is infact normal for your
physical memory to be used by the system like that.

The system will use unused physical memory to cache i/o.  But it will be
freed up in the event it is needed for process memory utilization.

--
Brian Hayward
http://www.slothmud.org/~hayward/mic_humor.html -- Microsoft Humor

#  My PWS433a runs out of memory after about a week of uptime.
#  "out of memory" means that eventually every process is killed
#  with only error message "out of memory" on console. This
#  phenomenon has repeated itself three times now. 
#
#
#  This output from "free" command seems very odd
#  (at least to me)
#  ##################################################
#             total    used      free     shared   buffers   cached
#   Mem:     192200   162696     29504      9288     24176   102712
#   -/+ buffers/cache: 35808    156392
#   Swap:       205520  5808    199712
#  ##################################################
#
#
#  And five minutes later it is (this was last output from 
#  monitoring script):
#  ################################################################
#             total       used    free     shared   buffers   cached
#   Mem:      192200    190072    2128      13112      8064    21416
#    -/+ buffers/cache: 160592   31608
#   Swap:     205520      5808  199712
#  ################################################################
#
#  as you see "cached" value has dropped about 80 MBytes and
#  according "ps" command (which was run about same time) nothing 
#  has changed notably. So who is eating my memory?
#
#  Here is my setup:
#
#     RHL52
#     PWS433a & 192MB/4MB cache
#
#     and:
#
#Linux version 2.2.11 (root@alpha.ray.fi) (gcc version egcs-2.90.29
#980515 (egcs-1.0.3 release)) #2 Mon Aug 16 21:34:42 EEST 1999
#Booting on Miata using machine vector Miata from MILO
#Command line: bootdevice= bootfile= root=/dev/sda2 
#Console: colour VGA+ 80x25
#Calibrating delay loop... 427.82 BogoMIPS
#Memory: 192144k available
#POSIX conformance testing by UNIFIX
#Alpha PCI BIOS32 revision 0.04
#PCI: Probing PCI hardware
#Linux NET4.0 for Linux 2.2
#Based upon Swansea University Computer Society NET3.039
#NET4: Unix domain sockets 1.0 for Linux NET4.0.
#NET4: Linux TCP/IP 1.0 for NET4.0
#IP Protocols: ICMP, UDP, TCP
#Starting kswapd v 1.5 
#Detected PS/2 Mouse Port.
#Serial driver version 4.27 with no serial options enabled
#ttyS00 at 0x03f8 (irq = 4) is a 16550A
#ttyS01 at 0x02f8 (irq = 3) is a 16550A
#pty: 256 Unix98 ptys configured
#loop: registered device at major 7
#Floppy drive(s): fd0 is 2.88M
#FDC 0 is a National Semiconductor PC87306
#md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
#linear personality registered
#raid0 personality registered
#(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 9/0
#(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
#(scsi0) Downloading sequencer code... 413 instructions downloaded
#scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.19/3.2.4
#       <Adaptec AHA-294X Ultra SCSI host adapter>
#scsi : 1 host.
#(scsi0:0:1:0) Synchronous at 20.0 Mbyte/sec, offset 15.
#  Vendor: DEC       Model: RZ1BA-BS (C) DEC  Rev: 3001
#  Type:   Direct-Access                      ANSI SCSI revision: 02
#Detected scsi disk sda at scsi0, channel 0, id 1, lun 0
#(scsi0:0:2:0) Synchronous at 40.0 Mbyte/sec, offset 8.
#  Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
#  Type:   Direct-Access                      ANSI SCSI revision: 02
#Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0
#(scsi0:0:3:0) Synchronous at 40.0 Mbyte/sec, offset 8.
#  Vendor: IBM       Model: DDRS-39130D       Rev: DC1B
#  Type:   Direct-Access                      ANSI SCSI revision: 02
#Detected scsi disk sdc at scsi0, channel 0, id 3, lun 0
#scsi : detected 3 SCSI disks total.
#SCSI device sda: hdwr sector= 512 bytes. Sectors= 4110480 [2007 MB] [2.0
#GB]
#SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB] [8.7
#GB]
#SCSI device sdc: hdwr sector= 512 bytes. Sectors= 17850000 [8715 MB] [8.7
#GB]
#tulip.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov
#eth0: Digital DS21143 Tulip rev 17 at 0x8000, 00:00:F8:75:20:31, IRQ 24.
#eth0:  EEPROM default media type Autosense.
#eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
#block.
#eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
#(2) block.
#eth0:  Index #2 - Media 10base2 (#1) described by a 21142 Serial PHY (2)
#block.
#eth0:  Index #3 - Media AUI (#2) described by a 21142 Serial PHY (2)
#block.
#eth0:  Index #4 - Media MII (#11) described by a 21142 MII PHY (3) block.
#eth0:  MII transceiver #5 config 1000 status 786f advertising 01e1.
#Partition check:
# sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 >
# sdb: sdb1
# sdc: sdc1
#VFS: Mounted root (ext2 filesystem) readonly.
#Freeing unused kernel memory: 56k freed
#Adding Swap: 205520k swap-space (priority -1)
#nfs warning: mount version older than kernel
#REGISTER_DEV sdb1 to md0 done
#REGISTER_DEV sdc1 to md0 done
#raid0 : Allocating 16 bytes for hash.
#
#
#Iso-H
#
#--
#
#
#-- 
#To unsubscribe: send e-mail to axp-list-request@redhat.com with
#'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
#
#-- 
#To unsubscribe: send e-mail to axp-list-request@redhat.com with
#'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
#
#


  parent reply	other threads:[~1999-09-16 18:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-09-16  9:37 Out of memory Iso-H
1999-09-15 19:46 ` Peter Petrakis
1999-09-16 17:28 ` Kurt Ludwig
1999-09-16 18:52   ` Pablo Godel
1999-09-16 18:59   ` Greg Lindahl
1999-09-16 18:59   ` hayward [this message]
1999-09-17  9:58     ` Iso-H
1999-09-16 19:27   ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
1999-09-16 19:54 Calvin Coghlan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox