Bug Report
Describe the bug
I'm trying to start fluent-bit on a raspberry pi5 on docker.
I tried multiple configurations and I'm always ending with the error message below:
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
Error in GnuTLS initialization: ASN1 parser: Element was not found.
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
<jemalloc>: Unsupported system page size
[2024/12/16 08:44:22] [error] [/src/fluent-bit/src/config_format/flb_config_format.c:107 errno=12] Cannot allocate memory
I found the same closed issue on fluentd github, but it didn't help: jemalloc: Unsupported system page size #4328
My best hope is to find a way to disable the jemalloc library as my fluentd-bit instance will no be overloaded.
To Reproduce
I tried as per the documentation:
docker run -ti cr.fluentbit.io/fluent/fluent-bit
I also tried to build my own image with the same result. I play with the jemalloc library and LD_PRELOAD variable env without more success. I'm a bit lost now:
FROM debian:bookworm
USER root
RUN apt-get update \
&& apt-get install -y gpg curl ca-certificates libjemalloc2
RUN curl https://packages.fluentbit.io/fluentbit.key | gpg --dearmor > /usr/share/keyrings/fluentbit-keyring.gpg \
&& echo "deb [signed-by=/usr/share/keyrings/fluentbit-keyring.gpg] https://packages.fluentbit.io/debian/bookworm bookworm main" | tee -a /etc/apt/sources.list
RUN apt-get update \
&& apt-get install -y fluent-bit
ENV LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so.2
ENTRYPOINT ["/opt/fluent-bit/bin/fluent-bit"]
CMD ["-c", "/etc/fluent-bit/fluent-bit.conf"]
Your Environment
- Version used: cr.fluentbit.io/fluent/fluent-bit
- Environment name and version: docker v27.4.0 build bde2b89
- Server type and version: Raspberry pi5
- Operating System and version: Raspberry os (debian 12 Bookworm)
- Filters and plugins: none
Bug Report
Describe the bug
I'm trying to start fluent-bit on a raspberry pi5 on docker.
I tried multiple configurations and I'm always ending with the error message below:
I found the same closed issue on fluentd github, but it didn't help: jemalloc: Unsupported system page size #4328
My best hope is to find a way to disable the jemalloc library as my fluentd-bit instance will no be overloaded.
To Reproduce
I tried as per the documentation:
I also tried to build my own image with the same result. I play with the jemalloc library and LD_PRELOAD variable env without more success. I'm a bit lost now:
Your Environment