Where or where has my memory gone? (UNIX pc)

Gil Kloepfer Jr. gil at limbic.UUCP
Thu Nov 9 16:45:20 AEST 1989


In article <1020 at icus.islp.ny.us> lenny at icus.islp.ny.us (Lenny Tropiano) writes:
>Well my machine was up for 30 days, 20 hours, 14 minutes and it just 
>flipped out! Things were running slowly.  Does memory get fragmented 
>like disks do?

Okay, I'll bite.  Note that the following is definitely based on theory,
and not on documented experience, but it sounds reasonable.  The way
the UNIX-pc MM works, memory will probably be "fragmented" 99% of the
time, but the hardware page tables should map the memory into what
appears to be a "contiguous" section of memory.  What it can't get in
"real" memory, it will page off to disk as "virtual" memory by virtue
of the memory management system.

Now someone with a good working knowledge of the internals of the UNIX-pc
kernel (you know who you are ;-) could probably check the way that pages
are allocated and freed and whether the page table entries are being
maintained properly.  Someone mentioned in an earlier article that
he never saw his machine (via sysinfo) go below .5 meg free.  This
might (??) be a related problem.

> Should you reboot frequently, and what is the frequency?   

I would say that most of us would say that you should NEVER have
to reboot your machine.  The AT&T hotline would most certainly say
you should, every day if possible ;-)  [if that doesn't work, you
could always reformat the hard disk and reload the OS ;-) ;-) ]
Considering the number of daemons running on your machine, and
the nature of the devices you have, it might be a good idea to do
a "ps -lef" and check the SZ and RSZ fields (I think those are memory,
right folks?!) and see if any of them continuously increase from day to
day.  One of these daemons might be eating your memory to oblivion!

>The last dying word of my machine was:
>sysinfo: cannot read /dev/rfp002 

Hmmm....  System buffers maybe?

For those who find it necessary to flame for incorrect information, my
disclaimer here is that I don't claim to know all about this, but I'm
hoping that these comments will encourage some thought about what might
be happening.

Gil.
-----
| Gil Kloepfer, Jr.
| ICUS Software Systems/Bowne Management Systems (depending on where I am)
| ...ames!limbic!gil



More information about the Unix-pc.general mailing list