Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.02k stars 564 forks source link

[CRASH] [ARM] <jemalloc>: Unsupported system page size #842

Open zarganum opened 3 weeks ago

zarganum commented 3 weeks ago

Crash report

<jemalloc>: Unsupported system page size
(repeated several times)
Error in GnuTLS initialization: ASN1 parser: Element was not found.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
zmalloc: Out of memory trying to allocate 48 bytes

Aditional information

  1. OS distribution and version: AlmaLinux 8.9 on ARM
  2. Environment architecture: ARMv8, page size: 64k (Oracle Cloud Infrastructure, Ampere A1, Free Tier eligible)
  3. Steps to reproduce:
    • Deploy any linux on ARM platform with kernel configured for larger page
    • Confirm the page size:
      $ getconf PAGESIZE
      65536
    • Try running container: docker run eqalpha/keydb -it

Solution

Consider applying configure --with-lg-page=16 when building jemalloc for ARM, like valkey or redis do.