Skip to content

Add ulimits for cpu and gpu services in Docker Compose - #17205

Merged
JinHai-CN merged 2 commits into
infiniflow:mainfrom
Ro0tk1t:patch-1
Aug 20, 2026
Merged

JinHai-CN merged 2 commits into
infiniflow:mainfrom
Ro0tk1t:patch-1

Conversation

@Ro0tk1t

@Ro0tk1t Ro0tk1t commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

fix OSError: [Errno 24] Too many open files

fix: OSError: [Errno 24] Too many open files
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. 🐞 bug Something isn't working, pull request that fix bug. labels Jul 22, 2026
@coderabbitai

coderabbitai Bot commented Jul 22, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e9a7bd44-1898-4048-a2c4-2cff82be1a56

📥 Commits

Reviewing files that changed from the base of the PR and between 6a85d1c and d7c6298.

📒 Files selected for processing (1)
  • docker/docker-compose.yml

📝 Walkthrough

Walkthrough

Docker Compose now sets nofile and nproc soft and hard limits to 65535 for both ragflow-cpu and ragflow-gpu.

Changes

Container resource limits

Layer / File(s) Summary
Service ulimit configuration
docker/docker-compose.yml
Adds matching nofile and nproc soft and hard limits of 65535 to the CPU and GPU services.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: xugangqiang

Poem

A rabbit tuned the limits high,
For busy processes reaching the sky.
Files may flow and workers run,
CPU and GPU now share the fun.
Hop, hop—Compose is done!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately reflects the main change: adding ulimits for CPU and GPU Docker Compose services.
Description check ✅ Passed The description includes the required Summary section and states the error it addresses.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@JinHai-CN
JinHai-CN requested a review from myf-bee August 19, 2026 13:06
@myf-bee myf-bee added the ci Continue Integration label Aug 20, 2026
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.65%. Comparing base (8af2467) to head (5f9676b).
⚠️ Report is 870 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #17205   +/-   ##
=======================================
  Coverage   90.65%   90.65%           
=======================================
  Files          10       10           
  Lines         717      717           
  Branches      118      118           
=======================================
  Hits          650      650           
  Misses         39       39           
  Partials       28       28           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@myf-bee myf-bee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is Looks Good To Me

@JinHai-CN
JinHai-CN merged commit 834dfc1 into infiniflow:main Aug 20, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working, pull request that fix bug. ci Continue Integration size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants