Fix megaservice ulimit issue under high concurrency (#797)

This commit is contained in:
Sihan Chen
2024-09-12 23:51:47 +08:00
committed by GitHub
parent e1022911b6
commit 4112fd0b69
4 changed files with 8 additions and 0 deletions

View File

@@ -29,4 +29,6 @@ USER user
WORKDIR /home/user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
ENTRYPOINT ["python", "chatqna.py"]

View File

@@ -29,4 +29,6 @@ USER user
WORKDIR /home/user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
ENTRYPOINT ["python", "chatqna_guardrails.py"]

View File

@@ -31,4 +31,6 @@ USER user
WORKDIR /home/user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
ENTRYPOINT ["python", "chatqna_no_wrapper.py"]

View File

@@ -29,4 +29,6 @@ USER user
WORKDIR /home/user
RUN echo 'ulimit -S -n 999999' >> ~/.bashrc
ENTRYPOINT ["python", "chatqna_without_rerank.py"]