Re: Not using Swap?

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

 



Matt Fahrner <Matt.Fahrner@coat.com> writes:

> Does anyone know why a Linux box that is low on memory would choose to not
> use swap? We have a couple of RedHat linux boxes that seem to choose to run
> out of memory before they'll use swap. They aren't even using the same kernel.
> 
> 
> As an example, one of the boxes is RedHat 7.1 running a stock "2.4.9-21smp"
> kernel. It's swap partition is:
> 
> 
>     Filename 	Type		Size	Used	Priority
>     /dev/sda10      partition	1036152	4	-1
> 

According to "man swapon", priority is a value between 0 and 32767.  I
suspect -1 means the swap area isn't being used.  Did you mkswap(8) on it?

-- 
tim writer <tim@starnix.com>                                  starnix inc.
tollfree: 1-87-pro-linux                        thornhill, ontario, canada
http://www.starnix.com              professional linux services & products



_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@redhat.com
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux