🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.unix.linux
Article #673

Memory problems

#673
From: David Keeler
Date: Fri, 02 Jan 1998 00:00
92 lines
5606 bytes

Hello,

It seems as if I am having problems with memory on my linux system at
home.  I am running Red Hat Linux release 4.2 and Kernel 2.0.30.
XOSView and the free command report the same observation.  When I
run Netscape V3.2 with or without any cache setting and quit
the application, the reported amount of free memory does not
return to where it was before the application was started.
When I do a hard boot and run "free" as the first command,
I have about 40 Megs free.  After running Netscape for about
a week (start and stopped about 20 times) free reports:

total       used       free     shared    buffers     cached
Mem:         63168      49800      13368      15000      18660      17744
-/+ buffers:            13396      49772
Swap:        16588          0      16588

As you can see, I have 64megs(edo) and a 16meg swap area.

Here's what's running currently:

bin        167  0.0  0.4   836   312  ?  S  Dec 31   0:00 portmap 
dave     19067  0.0  1.7  2416  1092  ?  S  Jan  1   0:00 fvwm95-2 -f FvwmM4 -d
dave     19197  0.0  1.2  2144   784  ?  S  Jan  1   0:00 /usr/X11R6/lib/X11/fv
dave     19198  0.0  1.1  2132   728  ?  S  Jan  1   0:00 /usr/X11R6/lib/X11/fv
dave     19200  0.0  2.1  3316  1372  ?  S NJan  1   0:00 xload -nolabel -geome
dave     19201  0.0  1.0  2128   684  ?  S  Jan  1   0:00 /usr/X11R6/lib/X11/fv
dave     30887  0.0  1.2  1084   760  p1 S   13:29   0:00 /bin/login -h krusty
dave     30888  0.0  1.0  1180   640  p1 S   13:29   0:00 -bash 
dave     30903  0.0  0.5   852   348  p1 R   13:30   0:00 ps -aux 
root         1  0.0  0.5   820   320  ?  S  Dec 31   0:02 init [5] 
root         2  0.0  0.0     0     0  ?  SW Dec 31   0:00 (kflushd)
root         3  0.0  0.0     0     0  ?  SW<Dec 31   0:00 (kswapd)
root         4  0.0  0.0     0     0  ?  SW Dec 31   0:00 (nfsiod)
root         5  0.0  0.0     0     0  ?  SW Dec 31   0:00 (nfsiod)
root         6  0.0  0.0     0     0  ?  SW Dec 31   0:00 (nfsiod)
root         7  0.0  0.0     0     0  ?  SW Dec 31   0:00 (nfsiod)
root        26  0.0  0.4   808   292  ?  S  Dec 31   0:00 /sbin/kerneld 
root       136  0.0  0.5   840   364  ?  S  Dec 31   0:00 syslogd 
root       145  0.0  0.7   980   496  ?  S  Dec 31   0:00 klogd 
root       156  0.0  0.5   832   356  ?  S  Dec 31   0:00 crond 
root       178  0.0  0.8  1084   568  ?  S  Dec 31   0:00 /usr/sbin/snmpd -f 
root       189  0.0  0.5   816   320  ?  S  Dec 31   0:00 inetd 
root       200  0.0  0.4   840   308  ?  S  Dec 31   0:00 lpd 
root       213  0.0  0.5   844   368  ?  S  Dec 31   0:00 rpc.mountd 
root       222  0.0  0.6   884   388  ?  S  Dec 31   0:00 rpc.nfsd 
root       236  0.0  0.5   876   368  ?  S  Dec 31   0:00 ypserv 
root       246  0.0  0.4   820   304  ?  S  Dec 31   0:00 rpc.yppasswdd 
root       262  0.0  1.1  1232   700  ?  S  Dec 31   0:00 sendmail: accepting c
root       274  0.0  0.4   824   312  a0 S  Dec 31   0:00 gpm -t MouseSystems 
root       315  0.0  0.4   804   268   1 S  Dec 31   0:00 /sbin/mingetty tty1 
root       316  0.0  0.4   804   268   2 S  Dec 31   0:00 /sbin/mingetty tty2 
root       317  0.0  0.4   804   268   3 S  Dec 31   0:00 /sbin/mingetty tty3 
root       318  0.0  0.4   804   268   4 S  Dec 31   0:00 /sbin/mingetty tty4 
root       319  0.0  0.4   804   268   5 S  Dec 31   0:00 /sbin/mingetty tty5 
root       320  0.0  0.4   804   268   6 S  Dec 31   0:00 /sbin/mingetty tty6 
root       321  0.0  1.4  3056   940  ?  S  Dec 31   0:00 /usr/bin/X11/xdm -nod
root       323  0.0  0.3   800   248  ?  S  Dec 31   0:00 update (bdflush) 
root     19056  0.0  8.8  6396  5584  ?  S  Jan  1   2:14 /usr/X11R6/bin/X -aut
root     19057  0.0  2.4  3096  1536  ?  S  Jan  1   0:00 -:0                  
root     19062  0.0  2.2  3284  1412  ?  S  Jan  1   0:00 /usr/X11R6/bin/xconso
root     30886  0.0  0.7  1072   488  ?  S   13:29   0:00 in.telnetd 

Really nothing other than the X window system and a few xterms.  This should
not be taking up 40 megs of ram.  Eventually, all the memory gets taken up
and the system locks up.  I recently upgraded from 32 to 64 megs of ram.
I don't seem to have any memory problems when I run Lose 95.  Other
apps also seem to take up memory, and never free it.  I just ran Xview
and it appears to take up about 2% of my ram, but never give it up.
I installed the ram a few months ago and it is not the same brand as
the older simms in my board.  I did populate the simm sockets in a way
that is allowed (2x16 meg simms and 2 new 16meg simms).   All of the
memory is correctly identified and scanned during bios and Linux
boot-up:

Calibrating delay loop.. ok - 165.89 BogoMIPS
Memory: 62808k/65536k available (772k kernel code, 384k reserved, 1212k data)

I have a relatively new mb and PentiumPro 150MHz cpu.

So, based on all that, has anyone else experienced this problem?

Is there some kernel setting that needs to be complied in that
is not obvious?  If noone has any software related suggestions,
I'll try moving the simms from bank to bank and try replacing
it to see if the problem continues.

Thanks in advance,
dave keeler
heyjoe1@lamar.colostate.edu
Technical Details
Message-ID: <68jh4k$142m@lamar.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1159f7,446040ace3f8b03c,start
X-Google-Attributes: gid1159f7,public
From: heyjoe1@lamar.ColoState.EDU (David Keeler)
Subject: Memory problems
Date: 1998/01/02
Message-ID: <68jh4k$142m@lamar.ColoState.EDU>
X-Deja-AN: 312202791
Organization: Colorado State University, Fort Collins, CO 80523
Newsgroups: csu.unix.linux