Skip to content

Commit

Permalink
Fix megaservice ulimit issue under high concurrency (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
Spycsh authored Sep 12, 2024
1 parent e102291 commit 4112fd0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChatQnA/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ USER user

WORKDIR /home/user

RUN echo 'ulimit -S -n 999999' >> ~/.bashrc

ENTRYPOINT ["python", "chatqna.py"]
2 changes: 2 additions & 0 deletions ChatQnA/Dockerfile.guardrails
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ USER user

WORKDIR /home/user

RUN echo 'ulimit -S -n 999999' >> ~/.bashrc

ENTRYPOINT ["python", "chatqna_guardrails.py"]
2 changes: 2 additions & 0 deletions ChatQnA/Dockerfile.no_wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,6 @@ USER user

WORKDIR /home/user

RUN echo 'ulimit -S -n 999999' >> ~/.bashrc

ENTRYPOINT ["python", "chatqna_no_wrapper.py"]
2 changes: 2 additions & 0 deletions ChatQnA/Dockerfile.without_rerank
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ USER user

WORKDIR /home/user

RUN echo 'ulimit -S -n 999999' >> ~/.bashrc

ENTRYPOINT ["python", "chatqna_without_rerank.py"]

0 comments on commit 4112fd0

Please sign in to comment.