[systemd-devel] systemd and mysql with large memory pages

Lennart Poettering lennart at poettering.net
Mon Sep 19 10:37:36 PDT 2011


On Sat, 17.09.11 13:39, Thomas Meyer (thomas at m3y3r.de) wrote:

> 
> Am Samstag, den 17.09.2011, 13:22 +0200 schrieb Reindl Harald:
> > /etc/sysctl.conf:
> > # Hughe TLB for mysqld
> > vm.nr_hugepages = 200
> > vm.hugetlb_shm_group = 27
> > kernel.shmall = 2097152
> > 
> > mysqld says:
> > InnoDB: HugeTLB: Warning: Failed to allocate 274726912 bytes. errno 12
> > InnoDB HugeTLB: Warning: Using conventional memory pool
> 
> mmmh. please try to restart the "systemd-binfmt.service" service, I
> guess systemd doesn't reload the values automatically after a change
> in /etc/systctl.conf

Not systemd-binfmt.service, but systemd-sysctl.service. Otherwise
exactly what should be done here.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list