RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
Introduced jemalloc (#5590)
Zhichang Yuafe9269534fa
diff --git a/Dockerfile b/Dockerfileindex 7c518d411e..4bd8ec94f3 100644--- a/Dockerfile+++ b/Dockerfile@@ -59,6 +59,7 @@ RUN --mount=type=cache,id=ragflow_apt,target=/var/cache/apt,sharing=locked \apt install -y default-jdk && \apt install -y libatk-bridge2.0-0 && \apt install -y libpython3-dev libgtk-4-1 libnss3 xdg-utils libgbm-dev && \+ apt install -y libjemalloc-dev && \apt install -y python3-pip pipx nginx unzip curl wget git vim lessRUN if [ "$NEED_MIRROR" == "1" ]; then \diff --git a/docker/entrypoint-parser.sh b/docker/entrypoint-parser.shindex 899f16f8fb..07dc241f82 100755--- a/docker/entrypoint-parser.sh+++ b/docker/entrypoint-parser.sh@@ -15,8 +15,9 @@ CONSUMER_NO_BEG=$1CONSUMER_NO_END=$2function task_exe(){+ JEMALLOC_PATH=$(pkg-config --variable=libdir jemalloc)/libjemalloc.sowhile [ 1 -eq 1 ]; do- $PY rag/svr/task_executor.py $1;+ LD_PRELOAD=$JEMALLOC_PATH $PY rag/svr/task_executor.py $1;done}diff --git a/docker/entrypoint.sh b/docker/entrypoint.shindex 3881029601..37bfb29b6f 100755--- a/docker/entrypoint.sh+++ b/docker/entrypoint.sh@@ -17,8 +17,9 @@ if [[ -z "$WS" || $WS -lt 1 ]]; thenfifunction task_exe(){+ JEMALLOC_PATH=$(pkg-config --variable=libdir jemalloc)/libjemalloc.sowhile [ 1 -eq 1 ];do- $PY rag/svr/task_executor.py $1;+ LD_PRELOAD=$JEMALLOC_PATH $PY rag/svr/task_executor.py $1;done}