> Hi,
> [...]
> As you can see, there's 20Mo of swap though lot of free RAM is available.
> The strange thing is that this 20Mo keeps growing with the time and are
> never freed.
>
Linux's VM doesn't try to free used swap space, even there is plenty os
physical RAM available. If there are pages on swap, that is because at
some point in time those pages where considered "not used", and were
written to disk. If those pages are never reused, they stay where they
currently are, because it is the most interesting thing to do performace
wise. Trying to keep swap=0 could cause some ping-pong effect under some
workloads, with heavy access to disk, that are too slow to be accesed
more than strictly necessary.
-- José Luis Domingo López Linux Registered User #189436 Debian Linux Woody (P166 64 MB RAM) jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las consecuencias jdomingo AT internautas DOT org => Spam at your own risk- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/