[PATCH] ctdb-scripts: Drop script configuration variable CTDB_MONITOR_SWAP_USAGE

Amitay Isaacs amitay at gmail.com
Tue May 7 04:49:44 UTC 2019


On Fri, May 3, 2019 at 11:21 AM Martin Schwenke via samba-technical
<samba-technical at lists.samba.org> wrote:
>
> Hi Louis,
>
> On Thu, 2 May 2019 14:47:05 +0200, "L. van Belle via samba-technical"
> <samba-technical at lists.samba.org> wrote:
>
> > > Monitoring of swap is based on the idea that swap
> > > space stacks on top of main memory, so that when a system starts
> > > filling swap space then this is supposed to be a good sign that
> > > the system is running out of memory.
> >
> > Not completely right in my option.
> > Swap can be full while your ram is not.
>
> Right.  That means my commit message is no good because that is why
> we're going to remove this configuration variable and no longer
> separately monitor swap.  :-)
>
> New patch attached with updated commit message.
>
> > Maybe its good to check swappiness also, most distro's have default
> > swappiness set to 60.
> > The parameter value set to 60 means that "your kernel will swap when RAM
> > reaches 40% capacity."
> > 40% ! All other is used for caching and/or services.
> >
> > [...]
>
> This was something I was planning to look into and you've given me an
> excellent explanation.  Thanks!
>
> peace & happiness,
> martin

Pushed to autobuild.

Amitay.



More information about the samba-technical mailing list