Re: Lowering MySQL Memory Usage without Restart

From: Axel Schwenke <axel.schwenke_at_gmx.de>
Date: Sun, 18 Jan 2015 13:11:39 +0100
Message-ID: <rgksob-dal.ln1_at_xl.homelinux.org>


ssksanthosh_at_gmail.com wrote:
> do you think its safe to free up the memory from system level ? Is there an
> y risk of data loss by doing so
>
> echo 3 > /proc/sys/vm/drop_caches

This wouldn't help at all. The system page cache (which is dropped by the above action) will only use memory that would otherwise be unused.

I.O.W. if the system would ever run low on memory, then this cache is the first to be reduced/dropped automagically by the kernel.

Really: there is no silver bullet. Find out where the memory is used excessively and why. Then change exactly there.

XL Received on Sun Jan 18 2015 - 13:11:39 CET

Original text of this message