Re: swap space unused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 13 Sep 2004 22:00:10 -0400, Hanh Do wrote:

> I am running Red Hat 7.3 and seeing problems with application not being able to use swap space.
> 

What problems specifically? Any error message?

> >From the free command, my app is using up almost all of RAM,

Not even a third of your RAM is occupied. Notice how much of your RAM
is taken for buffering/caching, because otherwise it would not be used
at all. That improves performance. It will be freed whenever a process
wants more RAM. No need to use swap space yet.

> # free
>              total       used       free     shared    buffers     cached
> Mem:        902928     892664      10264          0      30224     659656
> -/+ buffers/cache:     202784     700144
> Swap:      1052248          0    1052248
> 
> so why is swap not used at all.
> 
> Here is the result of swapon -s command:
> 
> #swapon -s
> 
> Filename                        Type            Size    Used    Priority
> /dev/hda2                       partition       1052248 0       -2

For testing you could raise the swap priority (see "man swapon") and
let a test program allocate roughly a GB.

-- 
Fedora Core release 2 (Tettnang) - Linux 2.6.7-1.494.2.2
loadavg: 1.05 1.04 0.62


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux