Skip to content

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

Open
Ro0tk1t wants to merge 1 commit into
infiniflow:mainfrom
Ro0tk1t:patch-1
Open

Add ulimits for cpu and gpu services in Docker Compose#17205
Ro0tk1t wants to merge 1 commit into
infiniflow:mainfrom
Ro0tk1t:patch-1

Conversation

@Ro0tk1t

@Ro0tk1t Ro0tk1t commented Jul 22, 2026

Copy link
Copy Markdown

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.

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. size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant