On Wed, 15 Feb 2006, Gilboa Davara wrote:

> On Wed, 2006-02-15 at 00:37 +0000, Shlomi Shalem wrote:
> > Hey all,
> > I have a strange problem, hope you guys are able to help:)
> > Anyway, a few months ago I installed Slack 10.1 and everything goes well
> > until now, except one thing: my swap partition is not working! I mean,
> > my physical memory is always standing on somrthing like 96% used but my
> > swap is totally empty. This happens also when my computer is no running
> > any heavy processes, and when it does, no matter what, my swap remains
> > empty and useless...
> > What could it be?
>
> Shalomi,
>
> There's nothing wrong with your system.
> Linux uses most/all of the free memory for disk cache.
> In-order to view how your memory is being either type:
> $ free
> or
> $ cat /proc/meminfo
>
> Furthermore you can view the system's willingness (so to speak) to drop
> pages into the swap by reading /proc/sys/vm/swappiness
>
> $ cat /proc/sys/vm/swappiness
>
> Where 0 means "swap only if absolutely necessary", and 100 means "swap
> when-ever possible".
> In-order to change this value: (from console, as root)
>
> $ echo [0...100] > /proc/sys/vm/swappiness

ofcourse, you don't want to change it to '100' or to any other value. if
your machine doesn't need to swap, there is no point in forcing it to
swap.

-- 
guy

"For world domination - press 1,
 or dial 0, and please hold, for the creator." -- nob o. dy


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to