← Back to team overview

maria-discuss team mailing list archive

Re: limiting memory use by mariadb?

 

Hi Guillaume,
Already do, kind of....
I run it (mariadb ) in docker, as Mesos task;
The problem: if memory use by mysqld exceeds limit allocated to mesos task,
we have oom and mesos kills container


On Wed, Dec 28, 2016 at 1:51 PM, Guillaume Lefranc <
guillaume.lefranc@xxxxxxxxxxx> wrote:

> Use linux control groups, or even simpler, run MariaDB with Docker (which
> uses control groups as well):
>
> docker run --name mariadb -d -m 10G mariadb:10.1
>
> On Wed, Dec 28, 2016 at 7:48 PM l vic <lvic4594@xxxxxxxxx> wrote:
>
>> Is there some way to set hard limit for use of RAM by mariaDB server?
>> Thanks,
>> -V
>> _______________________________________________
>> Mailing list: https://launchpad.net/~maria-discuss
>> Post to     : maria-discuss@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~maria-discuss
>> More help   : https://help.launchpad.net/ListHelp
>>
> --
> Guillaume Lefranc
> Remote DBA Services Manager
> MariaDB Corporation
>

Follow ups

References