When using large pages and MariaDB version 10.3 it reported:
[Warning] InnoDB: Failed to set memory to DODUMP: Invalid argument ptr 0x2aaac3400000 size 33554432
This error message was reported to the MariaDB community and it turned out to be a Linux Kernel Bug. A Linux patch was generated and Released in 4.18.14, 4.14.76, 4.9.133, 4.4.161, and 3.18.124 stable kernels and in 4.19 when it gets released.
- mm: madvise(MADV_DODUMP): allow hugetlbfs pages
- When using HugeTLB or hugetlbfs pages, a syscall to
-1 EINVAL (Invalid argument)
- Red Hat Enterprise Linux 7.6 and earlier
- HugePages (HugeTLB aka hugetlbfs)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.