View Single Post

   
  #7 (permalink)  
Old 02-19-2008, 11:30 AM
dedhed
 
Posts: n/a
Default Re: slackware-current not using swap?

On Wed, 12 May 2004 15:05:13 +0000, Joost Kremers wrote:

> Brian Graversen wrote:
>> I recently noticed that some of my programs (mplayer for instance)
>> would crash with an allocation error (BadAlloc), as if I had run out
>> of memory, and when I checked free, I noticed that my swap partion
>> wasn't being used at all.

>
> what does 'cat /proc/swaps' say? perhaps all you need is a swapon. if so,
> you should check why swap isn't activated upon boot.


I am experiencing the same symptoms, swap never gets used, I don't know if
that is necessarily a bad thing but I would like to know if swap is at
least enabled. When I do 'cat /proc/swaps' I get this:

Filename Type Size Used Priority
/dev/hda1 partition 506008 0 -1

I also check /proc/sys/vm/swappiness and it is set to 60. Does the
priority of -1 mean that swap is enabled but will only be used when
absolutely necessary?
Reply With Quote