In message "Re: "memory exhausted" (was: leaking memory)", 
"David Rysdam" <[EMAIL PROTECTED]> writes:

><snip>
>64 MB hard drive space doesn't seem all that low for a machine that has
>very little disk activity.
>
>> >  3:22pm  up 2 days, 19:49,  3 users,  load average: 0.07, 0.05, 0.06
>> >             total       used       free     shared    buffers     cached
>> >Mem:         34852      33776       1076      13436      10564      15928
>> >-/+ buffers/cache:       7284      27568
>> >Swap:        20124          0      20124
>> 
>> This indicates plenty of free memory. Of about 35 megs of real RAM, you have
>> over 27 available (the second line under "free"). Plus you have 20 megs of swap.
>> 
>> On the other hand, the slowness you describe is a classic sign of heavy use
>> of swap. If this problem occurs again, take another look at "free" and see

Just my .02.  I also run RedHat (5.2), and was getting weirdness when memory
usage got near peak ('ls' and most other simple commands returning
"segmentation fault"...).  'free' also returned 0 for 'used' swap...what I had
to do, and what the install process hadn't done, is add an appropriate line to
the fstab file to enable the mounting of my swap partition during bootup.

Since then things have worked rather nicely :) .

The book that comes with Redhat says very little about swap unfortunately.

marty

<snip>
>
>Actually, I think I did, but here it is again just in case: RH 5.0,
>Linux 2.0.34
> 


Reply via email to