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

Tom Gundersen teg at jklm.no
Sat Sep 17 04:37:07 PDT 2011


On Sat, Sep 17, 2011 at 1:22 PM, Reindl Harald <h.reindl at thelounge.net> wrote:
> /etc/sysctl.conf:
> # Hughe TLB for mysqld
> vm.nr_hugepages = 200
> vm.hugetlb_shm_group = 27
> kernel.shmall = 2097152

Did you reboot (or "systemctl restart systemd-sysctl.service") to make
sure these things were picked up?

Could you verify that they are set correctly:

cat /proc/sys/vm/nr_hugepages
cat /proc/sys/vm/hugetlb_shm_group
cat /proc/sys/kernel/shmall

?

What is the contents of your current service file (with especially the
limits suggested by Thomas)?

Cheers,

Tom


More information about the systemd-devel mailing list